D29486: xdgshellclient: Allow menus from panels to take focus
Vlad Zahorodnii
noreply at phabricator.kde.org
Thu May 7 06:33:36 BST 2020
zzag requested changes to this revision.
zzag added a comment.
This revision now requires changes to proceed.
A QMenu can be backed either by an xdg_toplevel or xdg_popup.
If it's backed by an xdg_toplevel, kwin will activate the menu when it's mapped.
If the QMenu is backed by an xdg_popup, the keyboard focus must be on the topmost grabbing popup. The problem is that popup grabs from the xdg-shell spec aren't implemented in kwayland-server. :/
We probably don't want to work around kwayland-server's incomplete implementation of the xdg-shell protocol in kwin.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D29486
To: cblack, #kwin, zzag
Cc: zzag, davidedmundson, kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200507/1f13208f/attachment-0001.html>
More information about the kwin
mailing list