Cairo-Dock damages/repaints all of the dock windows if just one pixel in an applet changes

Bug #1500529 reported by MC Return
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Core
New
Wishlist
Unassigned

Bug Description

This behavior produces unnecessary work for the graphics card and brings all the problems connected with that (more power drain/heat, less laptop battery life, etc.).

Revision history for this message
Matthieu Baerts (matttbe) wrote :

Hello,

Yes, it's true that these repaints could be optimised but repaints have already been minimised and having this feature could introduce new bugs, a more complex code (harder to maintain) and most of the time, the dock has to be resized (when adding/removing icons, moving the mouse inside the dock, producing effects over more than one icon, etc.) and all the window has to be repainted. Note that it shouldn't take too much resources, specially when using hardware acceleration.

But if you (or someone else) have an idea to improve the situation without introducing side effects, feel free to propose it here :-)

Changed in cairo-dock-core:
importance: Undecided → Wishlist
Revision history for this message
MC Return (mc-return) wrote :

matttbe, thanks for your comment.

I have not yet read much of cairo-dock's code, but when doing damaging code work I found Compiz' Show Repaint plugin to be very useful as it allows one to exactly visually observe what the damaging code is doing and which repaints are exactly happening.

Currently my time is very limited, but I might look into it in the future (after I've got a build-and-run-cairo-dock-from-source procedure set up).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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