<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Plasma, Plasma: Design.<br />broulik set the repository for this revision to rPLASMAWORKSPACE Plasma Workspace.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3156" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This restores the global app menu applet you can place in your panel.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Pretty much WIP, it's using a QStringList instead of a current model right now :D<br />
Also the keyboard nav stuff with event filter doesn't fully work but it's usable already. Sometimes gets confused about which menu to use and goes blank, or clicking the same entry again after the menu closed doesn't work for some reason.</p>

<p>I have no idea how to deal with keyboard activation, however, and I don't recall how that worked in Plasma 4. I don't see how we could transfer Alt+F to e.g. "File" (and apparently Unity doesn't even do that?). There's an activation request signal which looks like it's for this exact purpose but I've never actually seen anybody emit it.</p>

<p>Only thing I could think of would be an Alt modifier only global shortcut that passes focus to the menu bar (forcing focus on the panel) and then you can navigate there using keys, or so.</p>

<p><a href="https://phabricator.kde.org/F378873" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F378873: Screenshot_20161025_181136.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3156" rel="noreferrer">https://phabricator.kde.org/D3156</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/CMakeLists.txt<br />
applets/appmenu/CMakeLists.txt<br />
applets/appmenu/Messages.sh<br />
applets/appmenu/appmenuapplet.cpp<br />
applets/appmenu/appmenuapplet.h<br />
applets/appmenu/package/contents/ui/main.qml<br />
applets/appmenu/package/metadata.desktop</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma, Plasma: Design<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>