Menu

#41 Support desktop as XBar containment

open
nobody
None
5
2012-04-20
2012-04-19
CraazyT
No

When I open up say dolphin (or any app really) and the menu shows in XBar. When I click on say edit the edit menu shows but the rest of the menu disappears and goes back just Plasma as the text and if I click on dolphin again the menu shows back up. But no matter what it doesn't react like it normally does when it's a widget on a panel.

I'm using Chaktra Linux and kde 4.8.2
bespin-svn revision 1487

Discussion

  • Thomas Luebking

    Thomas Luebking - 2012-04-20

    What do you mean by "standalone widget"?
    For a plasmoid viewer (plasma-windowed) you can set up a kwin rule to deny focus for this window.

    For a "regular" plasmoid on the desktop, things are a bit more complicated:
    In general the desktop accepts the focus and with loosing the focus, the current menu holding window will withdraw (what is rather the expected behavior - at least closing the popup would be)
    So to change this, the plasmoid would have to massively alter plasma-desktop by
    - setting the window to deny the focus (and keep it this way)
    - catch _all_ clicks (using an app wide eventFilter)
    - ensure the window gets the focus for any click not on the xbar plasmoid

    -> I'd get MUCH trouble with the plasma authors for freaking their application ;-)
    Right now, i don't have any idea at hand how to cleanly allow xbar plasmoids on the deskop (i btw. thought i had caught that case and yelled a warning?)

     
  • CraazyT

    CraazyT - 2012-04-20

    What I mean by a standalone is just adding XBar to the desktop as a widget not placing it on any panel. You can see a screen shot I did with XBAr just on the desktop here http://fav.me/d4wmuxe I was just trying for a cleaner look ;-)

    Thank you for your reply

     
  • Thomas Luebking

    Thomas Luebking - 2012-04-20
    • summary: XBar as a stand alone widget --> Support desktop as XBar containment
     
  • Thomas Luebking

    Thomas Luebking - 2012-04-20

    No need to thank me for handling bug reports, that's why there's this tracker ;-)

    Ok, this is the mentioned more problematic case.
    I guess putting the XBar into a transparent (keep below) panel is no option for other reasons?
    mmm... there might be a way... no promise, though.

     
  • CraazyT

    CraazyT - 2012-04-20

    Well I thank you for making bespin, it is awesome and I don't use anything but bespin ;-)

    Yeah I kinda figured that, actually that is exactly how I'm doing it now. It's in it's own panel on the top left set to auto-hide. Cool, if there is a way. If not I understand :-)

     
  • Thomas Luebking

    Thomas Luebking - 2012-04-20

    feel free to try r1489 and provide feedback (since i don't use plasma nor desktop containment xbars)

     
  • CraazyT

    CraazyT - 2012-04-20

    Thank you I will huh! O.o if you don't use plasma or XBars what do you use?? I would love not to have to use plasma.

     
  • CraazyT

    CraazyT - 2012-04-22

    r1489 works thank you, I'd still like to know what your using if your not using plasma. I mean what else is there :-)

     

Anonymous
Anonymous

Add attachments
Cancel