Menu

#185 Support removal of MWM hints at runtime

future
closed-accepted
None
5
2016-06-26
2016-06-24
No

While testing the gtk3 behavior, I noticed that removing the hint had no impact.

This does not somehow fix the reported bugs, turned out that the window buttons of the headerbar are just virtually invisible in elegant brit ;-)

Discussion

  • Mathias Gumz

    Mathias Gumz - 2016-06-25

    so, the 7ea57df commit brings back invisible decorations, as complaint by so many for gtk3-apps?

     
  • Thomas Luebking

    Thomas Luebking - 2016-06-25

    My assumption is (could be argb issue, though) that gtk3 sets MWM to hide the deco (does) and then for some reason (plugin to fix the headerbar rubbish?) withdraws that hint.
    Fluxbox correctly adheres to the former but would presently and wrongly ignore the latter.
    The patch fixes that.

    Whether that's the case I can't say (waiting for reply on the bug)

    As long as gtk does set the "proper" MWM hint (and not withdraw it), the window will remain undecorated. This would only be "fixable" by "ignore MWM because shitty gtk abuses it" (what i'd personally not endorse at all)
    However, at least here gtk3 sets the MWM hint only for windows which it provides a headerbar (incl. CSD), ie. such which are supposed to not be decorated by the WM.

     
  • Mathias Gumz

    Mathias Gumz - 2016-06-25

    the last time i started to examine the situation my conclusion was similar to yours: gtk3 "sets" / "removes" some props on the window and sometimes it's bad timing in the sense that fluxbox already provided the "functions" (to allow movement etc). the last time i checked i had a hard time to find some good documentation about how CSD is supposed to work at all.

     
  • Thomas Luebking

    Thomas Luebking - 2016-06-25

    It's not specified at all what is a major complaint. The strategy is "we make it work with out MWM interpretation in mutter, which is btw. different from actual MWM behavior"

    gtk3 is a "gnome first" toolkit and that shows. shrug

    My suggestion would be to provide proper (or no) MWM support and have them deal with their rubbish.
    Running after "we set some unspecified GDK* property" de touours (and depending on the presence of a compositor) is completely no option. At least I won't be available for such.

     
  • Mathias Gumz

    Mathias Gumz - 2016-06-25

    yep, i agree. i just never dived deep enough into this rabbit hole to give "them" a reasoned "go away!" + the argument :)

    propper mwm support seems fine.

     
  • Thomas Luebking

    Thomas Luebking - 2016-06-26

    ftr, gtk3 does not create 32bit windows here (incl. compositing), so the decoration bugs are etiher false positives (there's a headerbar and the client actually supposed to be undecorated) or due to this bug in fluxbox (the reply on the bug where I asked suggests such, because a window w/o MWM hints should have a titlebar)

    Ie. odds are high that the patch fixes the CSD related bugs

     
  • Mathias Gumz

    Mathias Gumz - 2016-06-26
    • status: open --> closed-accepted
    • assigned_to: Mathias Gumz
     

Log in to post a comment.

MongoDB Logo MongoDB