[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasmashell] [Bug 341341] Kubuntu 14.10 plasma 5 application menu often "runs away" when you try to
From:       Eike Hein <hein () kde ! org>
Date:       2014-12-13 18:09:02
Message-ID: bug-341341-17878-HrfMSCNcr2 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=341341

--- Comment #11 from Eike Hein <hein@kde.org> ---
If you're curious about the technical background: Plasma's dialog windows
implement a mechanic to automatically close themselves when they lose focus;
this is e.g. what will close Application Menu when you click on an application
window while it is open. Parent and child windows are supposed to be exempt
from this - that is, when the window the dialog lost focus to is the parent, or
when the dialog is an ancestor of the newly-focused window, the dialog should
not close. Unfortunately that can only work when information about the
newly-focused window is available at the time the dialog loses focus, and that
is not guaranteed, and can differ between systems (hence the difficulty in
reproducing it). The above commit introduces a more reliable implementation
that disables automatic closing when we know we're about to lose focus to a
child dialog and re-enables it immediately after that focus loss has occured.
Opening a child dialog happes when hovering top-level categories --
imperceptibly when the auto-closing closes down the dialog chain again before
the child dialog is actually rendered by the windowing system. "Recent
Documents" being empty means child dialogs are (at least potentially -- there
is further complexity there that's outside the scope of this explanation)
opened, closed and opened again while the cursor is moving upwards, that's why
it increased the likelyhood of the problem occuring.

-- 
You are receiving this mail because:
You are watching all bug changes.


Make the world a better place. Donate to our year end fundraiser \
https://www.kde.org/fundraisers/yearend2014/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic