Menu

#1106 _NET_WM_STRUT and window title bars overlap

future release
closed-works-for-me
None
5
2016-07-23
2014-06-06
Ken Moore
No

Bug:
Individual Windows can have their titlebar/control created or moved into a _NET_WM_STRUT or _NET_WM_STRUT_PARTIAL restricted zone on the screen.

Details:
While this is not a major problem when the toolbar is on the bottom of the screen, as soon as you move the toolbar to the top of the screen you run into all sorts of situations where a new window can (depending if the app is trying to restore a previous screen location - such as when opened in a different DE) be created with the window title bar underneath the desktop toolbar - rendering the user unable to move that window into the visible area on the screen without knowledge/use of the "alt-<click>" keyboard shortcuts.

Expected Behaviour:
On window creation or move events, Fluxbox should ensure that the window title bar should never enter a _NET_WM_STRUT restricted screen location.

Possible Fix:
It does not appear that Fluxbox is properly updating the _NET_WORKAREA EWMH hint as screen sections get restricted by the _NET_WM_STRUT property. If the _NET_WORKAREA hint is updated properly, it should be a fairly trivial fix to ensure that on window creation/move events the title bar stays within that work area.

Discussion

  • Mathias Gumz

    Mathias Gumz - 2015-01-21
    • Group: v1.3.5 --> future release
     
  • Thomas Luebking

    Thomas Luebking - 2016-05-03

    Creation: https://sourceforge.net/p/fluxbox/patches/179/

    (user-)moving snaps to the strutted area, should imo be sufficient

    Configure events are a matter of their own - clients may have reasons to partially move out of screen bounds, otoh. it may be a usabilityproblem if the client is just stupid.

     
  • Thomas Luebking

    Thomas Luebking - 2016-06-26

    probably fixed now

     
  • Thomas Luebking

    Thomas Luebking - 2016-07-23
    • status: open --> closed-works-for-me
     
  • Thomas Luebking

    Thomas Luebking - 2016-07-23

    Status quo:

    • fluxbox does set NET_WORKAREA //
    • fluxbox catches "stupid" (title off-workarea) pposition|usposition hints on new clients
    • users still can drag the titlebar below docks (ebkac, the user might indeed want this and the client can be moved using ctrl+lmb)
    • clients still can send stupid configure requests (ie. alter their geomery at runtime. clearly a client bug; the client tries to play WM, it better does right)
     

Log in to post a comment.