GNU bug report logs - #49247
28.0.50; [Feature Request] Make tab-bar-lines dragable

Previous Next

Package: emacs;

Reported by: Liang-Jie Lee <s930054123yaoyao <at> gmail.com>

Date: Mon, 28 Jun 2021 06:33:01 UTC

Severity: wishlist

Found in version 28.0.50

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 49247 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, s930054123yaoyao <at> gmail.com
Subject: bug#49247: 28.0.50; [Feature Request] Make tab-bar-lines dragable
Date: Thu, 1 Jul 2021 09:54:49 +0200
> This is an impressive feature - it works like in window managers.
>
> The only difference is that after trying
>
>    (set-frame-parameter nil 'drag-with-header-line t)
>
> then dragging is limited only to the screen boundaries
> and doesn't allow dragging parts of the frame off the screen
> (to leave frame partly visible) like window managers do.

This should be customizable via the `top-visible' and `bottom-visible'
parameters.  Note that dragging frames is mainly intended for child
frames - frames contained within another frame - which with all GNU
Linux window managers I know of are neither equipped with a title bar
nor with a border.  It's too easy to drag a child frame off the area of
its parent in a way that you can't recover it with the mouse - also
because in such case the mouse-sensitive regions of parent and child
frame overlap.  The default should keep you on the safe side.

> Also can't drag by the mode-line with
>
>    (set-frame-parameter nil 'drag-with-mode-line t)
>
> but probably because it affects only frames without minibuffer window.

That's not a principal restriction.  But I considered it confusing to
allow dragging with a bar that is not located on top or bottom of the
containing frame.

> So it seems it should be possible to do the same for tab-line by implementing
>
>    (set-frame-parameter nil 'drag-with-tab-line t)

It should be also possible to drag a frame with the tab bar.  Unless
dragging should conceptually have different semantics with tabs as, for
example, to drag them from left to right and vice versa on their bar or
line.

martin




This bug report was last modified 3 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.