! 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 !
xfwm4 can't move oclock which does not accept focus
Status:
RESOLVED: INVALID
Severity:
enhancement

Comments

Description Jim Carter 2007-09-22 03:15:14 CEST
I'm arranging windows the way I want them on my desktop, specifically oclock, which by its nature never accepts focus.  According to the docs on xfwm4, window manager operations (such as ctrl-shift-alt-arrow to move it, or possible mouse actions) are delivered to the focus window.  This means that windows which don't accept focus are unmanageable, and my oclock is going to stay where it is, forever (or until I do "kill $PID" and restart it with an explicit geometry; I thought we invented window managers to do this kind of thing).  
    Feature request, alternative 1: if a window is incapable of accepting focus (or lacks a titlebar), treat the entire window as if it were a titlebar.  Right click would elicit a window manager dropdown menu; left click and drag would make it move; if the cursor entered it (focus follows mouse) or you left click on it (click to focus), keyboard shortcuts known to the window manager would cause the corresponding actions, e.g. alt-F4 closes it.
    Alternative 2:  If that's too radical, have a special keyboard shortcut or window manager menu choice causing the window manager to display a distinctive cursor, and the next window clicked in becomes the target of window manager actions, as if it had focus, even if it refuses to accept focus due to the click.  I'm thinking along the lines of xkill or xwininfo or xwd.
Comment 1 Olivier Fourdan editbugs 2007-09-22 12:49:06 CEST
But ALt+click in oclick works, so where is the problem then?
Comment 2 Jim Carter 2007-09-24 18:26:36 CEST
OK, you're right, I missed checking that maneuver.  So moving oclock makes a bad example.  However, either I'm awfully dumb or the majority of window manager actions are still unavailable, for example Button1-Alt-F4 (killed my browser window instead, the one with keyboard focus) or Button1-Alt-Ctrl-KP_2 (send to another workspace) or Button1-Alt-F10 (mapped in all workspaces, the one I really want for oclock).  In the "giant titlebar" solution you would right click anywhere in the window and the normal management window would drop down.
    I'm not sure if the issue is how to manage windows that never take focus, or how to manage those rare applications like oclock which give a window manager hint to lose the titlebar.  Or both :-)

Bug #3562

Reported by:
Jim Carter
Reported on: 2007-09-22
Last modified on: 2020-05-21

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Attachments

Additional information