TitlebarWindowManager: sometime the initial display of titlebars doesn't happen

Bug #1628981 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MirAL
Fix Released
Medium
Alan Griffiths

Bug Description

$ miral-shell --startup gnome-terminal

*Sometimes* the white "menu bar" isn't displayed, clicking on the window (or Alt-TAB) gains it focus and paints the titlebar.

This is probably because there has been no focus advice for the surface, but I've not identified the exact sequence of events that lead to this.

Related branches

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

OTOH the terminal window *does* have input focus - I can type into it

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

OK, it is racy: The problem arises when the advise_focus() event happens before the titlebar surface has been created.

(There is code that purports to handle this, but it obviously doesn't anymore.)

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

Bug attachments

Remote bug watches

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