Bug 372152 - Allow applet to know when it's in the top-right corner
Summary: Allow applet to know when it's in the top-right corner
Status: CONFIRMED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-06 17:48 UTC by alxgvr
Modified: 2020-01-31 19:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
App Menu top right corner (183.55 KB, image/png)
2016-11-06 17:48 UTC, alxgvr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alxgvr 2016-11-06 17:48:33 UTC
Created attachment 102072 [details]
App Menu top right corner

Hi. I like to move panel to the top, and have Application Menu button in top right corner.
I have some problem with that. Layout of menu is not changing. It still displays like it situated in bottom left corner. Favorites tab displayed at the left side, and popup menues open also to the left, overlapping items in favorites tab. So it is very hard to select app from favorites. Close, restart buttons are at the top of the list. 

Obviously, when App Menu is in the right top corner, it should revers: favorites tab should be displayed at the right side, shut off\restart buttons must be at the bottom. 

Can you make option to change it, or to detect position automatically?   

See attachment.
Comment 1 Eike Hein 2016-11-07 08:32:30 UTC
Unfortunately the Plasma API currently doesn't offer a good way to detect this constraint. The menu layout will already reverse when the panel is on the right edge of the screen, but a top panel is just considered "top" as far as location goes, there's no distinction between the side.