Unhide autohidden panel when using global menu
ClosedPublic

Authored by davidedmundson on Sep 20 2017, 9:22 AM.

Details

Summary

This sets a transient parent on the shown menus, meaning a panel knows
to stay open whilst it has any menu showing.

We also pulse setStatus() to trigger activating an autohidden panel if
activated via a shortcut.

BUG: 384861

Test Plan

Ran menu
Using both mouse and keyboard shortcuts navigated a menu
and submenus

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Sep 20 2017, 9:22 AM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 20 2017, 9:22 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik accepted this revision.Sep 20 2017, 6:10 PM
broulik added a subscriber: broulik.

Thanks for looking into this. Plasma/5.11 branch pls

applets/appmenu/lib/appmenuapplet.cpp
216

Hmm, should we perhaps have the applet be Active if a menu is available and Passive if there is none?

This revision is now accepted and ready to land.Sep 20 2017, 6:10 PM

Hmm, should we perhaps have the applet be Active if a menu is available and Passive if there is none?

We could. Not sure it acheives much.

This revision was automatically updated to reflect the committed changes.