[launcher] icons jagged edges during animation

Bug #714646 reported by Bill Filler
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
High
Olivier Tilloy

Bug Description

Running latest on Maverick. When an window requires attention and it animates in the launcher the animation is very rough and icon appears to be pixelated. I've attached movie of the situation. Running on Mac Book Pro with nVidia graphics.

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

This has been the case for a long time. I believe this regression was introduced when optimizations for low-end hardware were devised, possibly with revision 263.

Changed in unity-2d:
status: New → Confirmed
Revision history for this message
Adnane Belmadiaf (daker) wrote :

The same issue for me running 10.10.
daker@daker-desktop:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

summary: - launcher icons jagged edges during animation
+ [launcher] icons jagged edges during animation
Revision history for this message
Florian Boucault (fboucault) wrote :

Olivier is right. The issue does not appear using the x11 backend nor with the opengl backend.

The issue is raster specific and appears only when the radius of the background Rectangle is not 0.

Revision history for this message
Florian Boucault (fboucault) wrote :

BTW, you guys can easily switch engine by using the -graphicssystem switch on the command line.

e.g.

$ unity-2d-launcher -graphicssystem opengl

Changed in unity-2d:
importance: Undecided → Medium
Revision history for this message
Bill Filler (bfiller) wrote :

This is important for Natty. Need to figure out a way to dynamically determine the appropriate backend to use such that this problem doesn't occur on systems that support it.

Changed in unity-2d:
milestone: none → 3.10
assignee: nobody → Florian Boucault (fboucault)
importance: Medium → Critical
Revision history for this message
Florian Boucault (fboucault) wrote :

The raster backend is the one we are going to use for the foreseeable future, especially for Natty.
The X11 backend is not as fast and not recommended by the Qt developers
The OpenGL backend will not work on all hardware/software configurations. I would like in the future to enable it when possible and for the detection use the code written by Loïc Molinari for Unity 3D.

I believe the cause of the issue has changed from:

"[..] appears only when the radius of the background Rectangle is not 0."

to:

We do not use any background Rectangle anymore but Images instead. I am afraid the fix will not be simple.

Bill Filler (bfiller)
Changed in unity-2d:
milestone: 3.10 → 3.8.2
importance: Critical → High
assignee: Florian Boucault (fboucault) → Olivier Tilloy (osomon)
Revision history for this message
Bill Filler (bfiller) wrote :

We need to investigate possible fixes that don't involve changing the backend.
Can an alternative animation be used that doesn't have this issue?
Are we sure that the color spec change we added for ARM banding is not causing this?

Revision history for this message
Olivier Tilloy (osomon) wrote :

The issue was simply that during the launcher overhaul that landed at revision 388, the 'smooth' property of the Image, Rectangle and Text elements in LauncherItem were lost. Adding them where relevant fixes the issue.

Changed in unity-2d:
status: Confirmed → In Progress
Changed in unity-2d:
status: In Progress → Fix Committed
Changed in unity-2d:
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.