[spread] Incorrect size when launcher uses struts

Bug #766103 reported by Ugo Riboni on 2011-04-19
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity-2d (Ubuntu)

Bug Description

When the launcher option /desktop/unity-2d/launcher/use_strut is enabled (and the launcher is restarted), if the spread is activated its window will be of the wrong size, smaller than the unoccupied area of the desktop and the real windows and desktop background below will be visible (see attached screenshot)

I don't know if/why that gconf option exists, but either we remove it or we fix the spread.

Ugo Riboni (uriboni) wrote :
Changed in unity-2d:
status: New → Confirmed
importance: Undecided → High
milestone: none → 3.10
Changed in unity-2d:
milestone: 3.10 → none
Richard Dale (rdale) wrote :

I've been trying to reproduce this bug by using gconf-editor to enable the 'use_strut' option on the launcher. I logged out, and then logged back in again. The spread seemed to work normally with the standard four workspaces.

Olivier Tilloy (osomon) wrote :

I can consistently reproduce.

The 'use_strut' option determines whether the launcher is going to reserve its space on the left edge of the monitor so that the window manager knows it should position other windows in this space. In fact it should only be set to true when 'hide_mode' == 0 (never hide). I suppose that the two options could be merged (i.e. we could get rid of 'use_strut' and set the struts only when 'hide_mode' == 0).

@Aurélien: do you have additional insight on the issue? Why do we have the 'use_strut' option in the first place?

Ugo Riboni (uriboni) wrote :

I think it's to match what Unity does, but I may be wrong.

Didier Roche (didrocks) on 2011-05-31
Changed in unity-2d (Ubuntu):
status: New → Confirmed
Michał Sawicz (saviq) wrote :

I can no longer reproduce, anyone?

Lucazade (lucazade) wrote :

I still get this issue with a fresh oneiric installation.
If I enable strut and set launcher to not autohide (0 as setting) when I use the workspace switcher there is a large block between the launcher and the workspaces.

Florian Boucault (fboucault) wrote :

I believe that bug was fixed.
The use-strut dconf option was removed on one hand. Also, setting the hide-mode to 0 does not break the spread/workpace switcher positioning anymore.

Changed in unity-2d:
status: Confirmed → Fix Released
Changed in unity-2d (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers