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

Bug #766191 reported by Pedro Machado Santa
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Committed
Medium
John Lea
Compiz
Fix Released
Medium
Marco Trevisan (Treviño)
Unity
Fix Released
Medium
Marco Trevisan (Treviño)
compiz (Ubuntu)
Fix Released
Low
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
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

Revision history for this message
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
Revision history for this message
Omer Akram (om26er) wrote :

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

Revision history for this message
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
Revision history for this message
Andrea Azzarone (azzar1) 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.

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

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)
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)
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)
Changed in compiz:
milestone: none → 0.9.10.0
MC Return (mc-return)
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
Revision history for this message
Stephen M. Webb (bregma) wrote :

Fix Released in Unity Unity 7.2.0.

Changed in unity:
status: Fix Committed → Fix Released
Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.