Skip to content

kcms/autostart: Proper popup menu behaviour and removed workaround hack

Yerrey Dev requested to merge yerrey/plasma-workspace:buttonuifix into master

Fixes the first-time menu opening being misplaced with the workaround. This is done by changing menu.popup() to menu.open() and setting the menu location with y: -height - Kirigami.Units.smallSpacing. Just y: -height also works, but it is done this way on plasma-pa, so I followed suit.

Behaviour before:

before2-2021-12-28_20.58.09

Behaviour after:

after2-2021-12-28_20.55.31

Merge request reports

Loading