advise_focus_lost() isn't called when the active window is minimised/hidden

Bug #1628594 reported by Alan Griffiths
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MirAL
Fix Released
Medium
Alan Griffiths

Bug Description

The active window is removed from mru_active_windows *before* the enumeration that calls select_active_window() - and that identifies the active window using mru_active_windows.top().

The effect is that both advise_focus_lost() and advise_focus_gained() notifications may fail to be generated.

Related branches

Changed in miral:
milestone: none → 0.2
Changed in miral:
status: In Progress → Fix Committed
Changed in miral:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.