At least in the case of -rootless -flatten, part of the problem appears
to be double-reparenting. Apps like GIMP seem to keep their menu windows
around even when they're not visible, presumably to help with menu
scrolling performance. However Xmir has to re-realize and hence tries to
re-reparent the menu windows each time. And it appears on the second and
subsequent opening, a menu's relative position shifts in an unwanted
way.

Without figuring out the root cause we could just avoid redundant
reparenting, however that seems to create  a worse problem whereby the
menu goes invisible. Because we seem to need the extra reparenting to
kick the XComposite logic into action. So more investigation required...

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1498738

Title:
  Xmir -rootless: Menus/dialogs sometimes appear in the wrong place

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1498738/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to