D5806: [WIP] when building menu hierarchies, parent menus to their containers

Marco Martin noreply at phabricator.kde.org
Thu May 11 08:56:41 UTC 2017


mart created this revision.
Restricted Application added projects: Plasma, Frameworks.
Restricted Application added subscribers: Frameworks, plasma-devel.

REVISION SUMMARY
  Wayland requires menu windows to have a "transient parent" as wl_shell
  protocol refuses to either position correcty or assign the corrent
  flags to popup windows that don't have a parent.
  a lot of popup menus in KDE applications don't have any parent
  and will look wrong in wayland. this fixes at least some of the occurrences
  of popup menus build by kxmlgui

TEST PLAN
  "Bookmarks" menu in konsole menubar is now correct in
  wayland

REPOSITORY
  R263 KXmlGui

BRANCH
  phab/reparentmenus

REVISION DETAIL
  https://phabricator.kde.org/D5806

AFFECTED FILES
  src/kxmlguifactory_p.cpp

To: mart, #plasma
Cc: plasma-devel, #frameworks, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170511/ed136255/attachment.html>


More information about the Plasma-devel mailing list