! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Window Shortcut raise/lower missing
Status:
RESOLVED: WONTFIX
Severity:
enhancement

Comments

Description Hadmut Danisch 2006-08-29 14:55:31 CEST
Hi,

the window manager has shortcuts for both raising and lowering a window. But they are different shortcuts. One important feature is missing: A shortcut for 

if this window is the topmost, then put it back to the lowest level, otherwise raise it to the top. This way you can walk through all your windows with the same key. Would be nice to have, other window managers do have.

regards
Hadmut
Comment 1 Olivier Fourdan editbugs 2006-08-29 21:49:26 CEST
There is a flaw however, the keyboard shortcut apply to the focused window, but when lowering a window, the focus is set to the window on top of stack. Therefore, you cannot have a shortcut that raise/lower as focus gets changed by the raise or lower...
Comment 2 Hadmut Danisch 2006-08-30 08:58:58 CEST
No.

1. It works with other window managers. 

2. It is intended that a windows loses focus when sent back.



The intended shortcut has two functions and always applies to a window that has the focus:

- If the window is not on top (partly covered by any other), raise it to the
  top. A partly covered window can still have the focus. 

- If the window is already on top (not covered by any other), send it to the
  very back. Maybe it keeps focus (e.g. if still partly visible and under the  
  mouse), but probably any other window will now get the focus.




Comment 3 Olivier Fourdan editbugs 2006-08-30 09:48:51 CEST
1) Not all window manager share the same focus management logic. This is definitely not an argument, I'm sorry.
2) The shortcut applies to  the focused window, lowering a window in xfwm4 pass focus to another window thus making the shortcut apply to another window. A raise/lower shortcut would ne useless in that case...
3) That would work only with focus follow mouse mode and only if the pointer does't fall within another window while the focused one gets lowered. That a lot of "if"...
Comment 4 David Benoit 2007-08-16 21:25:49 CEST
Is this intended to be added?  I really miss this feature, but like xfce4 for everything else.

As for the focus question, how about this:

If it is click-to-focus, it is still in focus, just at the bottom of the stack.
If it is follow-mouse, if it still has the mouse, it still has focus, otherwise it changes.

Basically, it can be implemented as "raise until you can't raise anymore, then lower"  All of the same focus questions exist with the lower shortcut.
Comment 5 Skunnyk editbugs 2020-05-21 21:52:28 CEST
Closing old bugs.

Bug #2237

Reported by:
Hadmut Danisch
Reported on: 2006-08-29
Last modified on: 2020-05-21

People

Assignee:
Olivier Fourdan
CC List:
2 users

Version

Attachments

Additional information