[regression] Quickly opening then closing dash causes loss of focus.
Bug #1157879 reported by
Brandon Schaefer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nux |
Fix Released
|
High
|
Brandon Schaefer | ||
Unity |
Invalid
|
High
|
Brandon Schaefer | ||
nux (Ubuntu) |
Fix Released
|
High
|
Brandon Schaefer | ||
unity (Ubuntu) |
Invalid
|
High
|
Brandon Schaefer |
Bug Description
To reproduce:
1) Assert any window has focus by the title on the panel.
2) Quickly press Super twice to open then close the dash.
Expected:
The window that was focused before going into the dash has focus once again.
Result:
The window that was focused is no longer focused and the panel is empty.
Related branches
lp:~brandontschaefer/nux/lp.1157879-fix
- PS Jenkins bot (community): Approve (continuous-integration)
- Andrea Azzarone (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifiedNuxGraphics/XInputWindow.cpp (+1/-0)
Changed in unity: | |
status: | New → In Progress |
Changed in unity (Ubuntu): | |
status: | New → In Progress |
Changed in unity: | |
importance: | Undecided → High |
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
Changed in unity: | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
summary: |
- [regression] Quickly opening then closing dash causes lose of focus. + [regression] Quickly opening then closing dash causes loss of focus. |
Changed in unity: | |
milestone: | none → 7.0.0 |
Changed in nux (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity: | |
milestone: | 7.0.0 → none |
To post a comment you must log in.
Turns out to be a racing problem when we re-focus the dash when its first focused. The X event buffer needs to be flushed other wise the XSetInputFocus will come through a bit late causing the dash to be re-focused after its closed.