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

Bug #1628981 reported by Alan Griffiths on 2016-09-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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

Alan Griffiths (alan-griffiths) wrote :

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

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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments