Compiz reports incorrect _NET_DESKTOP_GEOMETRY until first viewport switch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Sam Spilsbury | ||
compiz (Ubuntu) |
Fix Released
|
Medium
|
Sam Spilsbury |
Bug Description
Hello,
Firstly, thank you for maintaining Compiz!
It's maybe a feature (and not a bug) but at startup Compiz creates only 1 viewport instead of 4.
We have this bug if we want 2x2 viewports (according to the CCSM) but if we change this default value (e.g. 3x2), Compiz creates 3x2 viewports at startup as wanted.
Note that if we switch from the first viewport to another one with Compiz shortkeys or plugin (e.g. with Ctrl+Alt+arrows or Expo plugin), then Compiz creates all theses 4 viewports as we can see:
Before:
$ wmctrl -d
0 * DG: 1024x600 VP: 0,0 WA: 0,0 1024x600 N/A
After:
$ wmctrl -d
0 * DG: 2048x1200 VP: 0,0 WA: 0,0 1024x600 N/A
This is maybe not important but that means that we can't know if this WM uses viewports or desktops and how many viewports/desktops are available because _NET_DESKTOP_
Related branches
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 199 lines (+155/-4)3 files modifiedsrc/screen.cpp (+3/-4)
tests/system/xorg-gtest/tests/CMakeLists.txt (+8/-0)
tests/system/xorg-gtest/tests/compiz_xorg_gtest_ewmh.cpp (+144/-0)
summary: |
- By default Compiz creates only 1 viewport at startup instead of 2x2 + Compiz reports incorrect _NET_DESKTOP_GEOMETRY until first viewport + switch |
Changed in compiz: | |
milestone: | none → 0.9.9.0 |
importance: | Undecided → Medium |
Changed in compiz (Ubuntu): | |
importance: | Undecided → Medium |
Changed in compiz: | |
status: | New → Confirmed |
Changed in compiz: | |
status: | Confirmed → In Progress |
Changed in compiz (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Sam Spilsbury (smspillaz) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
I'm using Ubuntu 12.10 with Switcher v2.1.11, Cairo-Dock 3.1.2 and the MacOSX theme. I'm having the same issue with compiz-core 1:0.9.8.6-0ubuntu1. When first logging in only 1 desktop is available although when accessing CompizConfig Settings Manager > General Settings > Desktop Size the expected default 2 x 2 reference is correctly displayed. If you adjust these settings and then back to the default the proper number of desktops can now be viewed and validated (see below).
Before
$ wmctrl -d
* DG: 1280x768 VP: 0,0 WA: 0,0 1280x768 N/A
$ wmctrl -d
After
0 * DG: 2560x1536 VP: 0,0 WA: 0,0 1280x768 N/A
Regards,
TrakerJon