Spread causes Compiz's 'scale' plugin to inaccurately pad the right/left edges of the screen

Reported by Pedro Machado Santa on 2011-04-19
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Medium
John Lea
Compiz
Medium
Marco Trevisan (Treviño)
Unity
Medium
Marco Trevisan (Treviño)
compiz (Ubuntu)
Low
Marco Trevisan (Treviño)
unity (Ubuntu)
Low
Marco Trevisan (Treviño)

Bug Description

When using Unity with two windows of the same size open, activating compiz's 'scale' causes inconsistent padding at either sides of the screen. This is because the scale plugin does not factor the Unity launcher's width into the calculations; therefore, the left edge of the screen has less padding than the right edge.

The problem detailed with measurement: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/766191/+attachment/2457195/+files/pic1.png

I think scaling should be done considering the screen width minus the dock width.

This may seem very tricky to pull out since scale is a compiz plugin and so on, but, again, like it is and when windows get under the dock, it feels strange.

Cheers.

Related branches

lp:~3v1n0/compiz/scale-xy-offsets
Merged into lp:compiz at revision 3829
PS Jenkins bot: Approve (continuous-integration) on 2014-02-17
Andrea Azzarone: Approve on 2014-02-17
lp:~3v1n0/unity/spreadish-scale
Merged into lp:unity at revision 3667
PS Jenkins bot: Approve (continuous-integration) on 2014-02-17
Brandon Schaefer: Approve on 2014-02-17
Bilal Akhtar (bilalakhtar) wrote :

I can't reproduce this. Is this bug 100% reproducible ? And are you running Unity with the latest updates? Thanks!

Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
Omer Akram (om26er) wrote :

duplicate of bug 703804 see the third point in the description.

Omer Akram (om26er) wrote :
Changed in unity:
importance: Undecided → Medium
Changed in unity (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Confirmed
Changed in unity:
status: Incomplete → Confirmed
Changed in compiz (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Andrea Azzarone (andyrock) wrote :

I've a little patch to make that scale plugins considers the whole screen minus the launcher size. I've some problems with terminal windows, it seems to work well with all other windows.

Two nautilus windows without the patch... http://people.ubuntu.com/~andyrock/prova2.png
and using the patch... http://people.ubuntu.com/~andyrock/prova.png

Two terminal windows without the patch... http://people.ubuntu.com/~andyrock/prova3.png
and using the patch... http://people.ubuntu.com/~andyrock/Prova4.png

As you can see with nautilus windows (and all other app i've tried expect gnome-terminal) not only the launcher area is not considered, but the spacing beetwen the launcher area and the first window is the same of the space between the last window and the right edge of the monitor.

With gnome-terminal windows the launcher area is not considered but the two external spacing are not the equal.

------------------------------------

@smspillaz any idea about the gnome-terminal problem?

P.S.: should not be so difficult update the launcher area when launcher icon size change in unity.

This should be a low-priority bug as this really is a small visual problem (that should be addressed, admittedly). It still affects up to 12.10 (though I have not tested 13.04 nightly).

Changed in compiz (Ubuntu):
importance: Medium → Low
Changed in unity (Ubuntu):
importance: Medium → Low
MC Return (mc-return) on 2013-04-14
Changed in compiz:
assignee: nobody → MC Return (mc-return)
status: New → Confirmed
description: updated
summary: - Multiple application windows scaling considering the whole screen,
- should consider screen minus dock width
+ Unity's launcher causes Compiz's 'scale' plugin to inaccurately pad the
+ right/left edges of the screen
Changed in compiz (Ubuntu):
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
description: updated
John Lea (johnlea) on 2013-04-15
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Medium
status: New → Fix Committed
Changed in unity:
status: Confirmed → Triaged
Changed in compiz:
status: Confirmed → Triaged
importance: Undecided → Medium
summary: - Unity's launcher causes Compiz's 'scale' plugin to inaccurately pad the
- right/left edges of the screen
+ Spread causes Compiz's 'scale' plugin to inaccurately pad the right/left
+ edges of the screen
MC Return (mc-return) on 2013-06-15
Changed in compiz:
milestone: none → 0.9.10.0
MC Return (mc-return) on 2013-07-24
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Changed in compiz:
status: Triaged → Fix Committed
assignee: MC Return (mc-return) → Marco Trevisan (Treviño) (3v1n0)
Changed in compiz (Ubuntu):
status: Triaged → Fix Released
Changed in unity (Ubuntu):
status: Triaged → Fix Released
Changed in compiz (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
status: Triaged → Fix Committed
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
milestone: none → 7.2.0
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.2.0.

Changed in unity:
status: Fix Committed → 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

Bug attachments