New windows are created offscreen
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ubiquity (Ubuntu) |
High
|
Unassigned | ||
| | xfwm4 (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
When running ubiquity-dm from Xubuntu's Beta1 Vivid image, any new windows created within it are positioned offscreen. This means that the final window informing you that your installation is finished doesn't show up for the user.
As far as I have been able to debug this, some window-manager hints are set incorrectly by Xfwm4, it's not clear though as to why as all information I could gather from xrandr and xprop otherwise seemed fine. To be more concrete, this is the offending hint:
_NET_WORKAREA(
It should read like this instead:
_NET_WORKAREA(
I'm not sure what causes this offset, the ubiquity-panel seems to set its STRUTS ok and Xfwm4 seems to behave fine in the live session. I'll attach a few logs below.
"xprop" (of a new instance of xfce4-terminal that was created offscreen)
http://
"xprop -root" (in the offending ubiquity-dm session)
http://
"/var/log/
http://
"xrandr"
http://
Related branches
- Ubuntu Installer Team: Pending requested 2015-02-26
- Mathieu Trudel-Lapierre: Pending requested 2015-02-26
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/panel/panel.c (+1/-1)
| Ubuntu QA Website (ubuntuqa) wrote : | #2 |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here:
http://
| tags: | added: iso-testing |
| Alistair Buxton (a-j-buxton) wrote : | #3 |
The problem is caused by Ubiquity sets up the _WM_STRUT and _WM_STRUT_PARTIAL.
It does :
set_strut(
and these values are put in LEFT, LEFT_START_Y, LEFT_END_Y, TOP, TOP_START_X, START_END_X respectively. It also puts LEFT and TOP in _WM_STRUTS. So they end up like this:
_NET_WM_
_NET_WM_
This kind of makes sense for the partial struts because the top strut and the left strut cover the exact same screen area. However, if the WM only looks at _WM_STRUT then it sees the left strut as covering the entire screen.
It looks like xfwm4 does not understand partial struts at all, so it sets up the _NET_WORKAREA as having no space at all. Further, it looks like recent changes in xfwm4 window positioning code mean that it only recently started honouring _NET_WORKAREA at all. So now windows get pushed entirely off the screen, because the WM believes there's no space on it.
http://
http://
| Changed in ubiquity (Ubuntu): | |
| status: | Confirmed → In Progress |
| importance: | Undecided → High |
| Alistair Buxton (a-j-buxton) wrote : | #4 |
| Simon Steinbeiß (ochosi) wrote : | #5 |
This bug is resolved with the package xfwm4 4.12.0-0ubuntu1.
Upstream the relevant commits responsible for fixing this are:
http://
http://
| Changed in xfwm4 (Ubuntu): | |
| status: | New → Fix Released |
| Changed in ubiquity (Ubuntu): | |
| status: | In Progress → Invalid |


Status changed to 'Confirmed' because the bug affects multiple users.