Application window appears in the background
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-mir |
Confirmed
|
High
|
Gerry Boland | ||
ubuntu-system-settings-online-accounts (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Sometimes an application's window doesn't get raised to the foreground when it's created. I can reproduce this bug like this: checkout lp:~mardy/ubuntu-system-settings-online-accounts/app-access, build it and install it (if building the package fails because of tests failing, just use "sudo make install"). Then run this command:
OAU_DAEMON_
and, on another ssh session, this one:
system-settings --desktop_
The first time you run these commands, usually it works (the online accounts window is displayed on top of the system settings). But if then you kill both processes (Ctrl+C) and try again, it won't work: the online accounts window will not appear (it's below the system settings).
Finding a solution for this behaviour is important otherwise we cannot test Online Accounts with autopilot (which kills the application after each test).
Incidentally, when you kill the applications the device's screen will turn all black (apart from the status bar on top).
Related branches
Changed in unity-mir: | |
assignee: | nobody → Gerry Boland (gerboland) |
importance: | Undecided → High |
Changed in unity-mir: | |
status: | New → Confirmed |
The crash I'm able to reproduce and am investigating right now.
The window management bug on the other hand I'm not able to reproduce. When I run
system-settings --desktop_ file_hint= /usr/share/ applications/ ubuntu- system- settings. desktop online-accounts
it opens the online-accounts app, then quits. Is that expected?