Looks like this is similar to bug 1625846. Mir lacks a client API allowing clients to flag that certain surfaces (of the app's choice, not defined by the surface type) should not receive focus and thus should never take focus away from the app window.
** Also affects: mir Importance: Undecided Status: New ** Also affects: miral Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu. https://bugs.launchpad.net/bugs/1662733 Title: Window titlebar and shadow flickers when scrubbing through menus (or when a tooltip appears) Status in Canonical System Image: Confirmed Status in Mir: New Status in MirAL: New Status in unity8 package in Ubuntu: Confirmed Bug description: Application titlebar and shadow flickers when scrubbing through menus, or when a tooltip appears. Test case: 1. $ sol -- --desktop_file_hint=unity8 2. Click on a menu and move the mouse horizontally to the next menu. Expected: No change in the app window's title bar or shadow. Observed: Flickering in the app title bar and shadow on every menu change. ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: unity8 8.15+17.04.20170206-0ubuntu1 ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5 Uname: Linux 4.9.0-15-generic x86_64 ApportVersion: 2.20.4-0ubuntu2 Architecture: amd64 Date: Wed Feb 8 09:55:14 2017 InstallationDate: Installed on 2016-11-03 (97 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20161102) SourcePackage: unity8 UpgradeStatus: No upgrade log present (probably fresh install) upstart.unity8-dash.log: [2017-02-08:09:55:07.500] "clickscope" : setActive: true To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1662733/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp