After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 613911 - Progress bar bug
Progress bar bug
Status: RESOLVED FIXED
Product: gtk-engines
Classification: Deprecated
Component: clearlooks
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-engines maintainers
gtk-engines maintainers
: 654002 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-25 12:11 UTC by Jacob
Modified: 2011-09-18 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the problem (71.32 KB, image/png)
2010-03-25 12:11 UTC, Jacob
Details

Description Jacob 2010-03-25 12:11:42 UTC
Created attachment 157054 [details]
screenshot of the problem

Debian Release: unstable (sid) 64bit
Kernel Linux 2.6.32-4-amd64
GNOME 2.28.2

I can't really explain this bug. I best I can do is say it's a graphics related glitch. When there are GTK+ progress bars in a scroll-able box, the progress bar sometimes goes over the columns like "Name", "Size", "Type" etc.

I have attached a screenshot of the problem, because I can't quite explain it.
Comment 1 Carlos Garnacho 2010-03-25 12:33:35 UTC
It looks to me like the engine isn't actually handling clipping. Which theme/engine are you using, and does this still happen if you switch theme?
Comment 2 Jacob 2010-03-25 13:10:26 UTC
(In reply to comment #1)
> It looks to me like the engine isn't actually handling clipping. Which
> theme/engine are you using, and does this still happen if you switch theme?

Clearlooks. And yes, with Clearlooks, Glossy, Unity, and any combination of themes using these theme's controls.
Comment 3 Javier Jardón (IRC: jjardon) 2010-03-25 13:24:04 UTC
Question of comment #1 answered, reopening
Comment 4 Javier Jardón (IRC: jjardon) 2010-03-25 14:28:52 UTC
After testing here, this bug only affects clearlooks engine. So changing component.
Comment 5 Benjamin Berg 2010-03-27 16:40:10 UTC
Hrm. There actually is some code in clearlooks to ignore the cliping rectangle, the reason is that it is otherwise impossible to draw the 1px shadow as clearlooks does it. However, I expect that even though clearlooks is ignoring the clip, it should not be able to draw on top of the header window. So this might also be exposing a client side window (CSW) bug.
Comment 6 Alex Horsman 2010-07-12 17:26:24 UTC
I worked out steps to reliably produce the error, (in Transmission).
It always occurs when moving the cursor from hovering over the column heading to hovering over the progress bar, or vice versa.
I reported this incorrectly as a Transmission bug here, for reference: https://trac.transmissionbt.com/ticket/3420
Comment 7 Benjamin Berg 2011-09-18 13:10:28 UTC
*** Bug 654002 has been marked as a duplicate of this bug. ***
Comment 8 Benjamin Berg 2011-09-18 14:22:45 UTC
I have committed a fix.

commit a0cc71e7f62f355502045747cda973e674d3103b
Author: Benjamin Berg <benjamin@sipsolutions.net>
Date:   Sun Sep 18 16:20:45 2011 +0200

    Recreate the cr instead of using cairo_reset_clip. (fixes #613911)
    
    It seems like an already active clip is removed if we run cairo_reset_clip,
    which means that we might draw on top of other things.