GNOME Bugzilla – Bug 511214
Layer opacity slider is sluggish
Last modified: 2008-10-30 20:08:34 UTC
Using the slider to adjust the layer opacity has become rather sluggish in 2.4.3 on Windows. - it is more noticeable the bigger the image is - it does cause 100% cpu usage when the slider is dragged but - updates to the image are done instantly, e.g. if the value is entered manually It should be examined if this could have been caused by the fix for bug #499150.
Same behaviour under Linux. Testet with OpenSUSE 10.2 and GTK 2.10.14.
We had to raise the priority of the projection renderer. Of course this has a negative impact on the responsiveness of the user interface. Perhaps we should make the priority platform-specific so that it works as good as before at least on Linux.
Perhaps you guys could test using 150 (halfway between HIGH_IDLE and DEFAULT_IDLE) for the projection renderer. I just tried this on Linux and it restores the old behavior for me. But it might reintroduce bug #499150 on the Windows platform. Please change G_PRIORITY_HIGH_IDLE to 150 in app/core/gimpprojection.c around line 550 and report back.
I can confirm that 150 restores the smooth feel for the opacity while not causing the bad effects of bug #499150.
Thanks for testing. I have applied this change to both branches. Closing as FIXED. 2008-01-22 Sven Neumann <sven@gimp.org> * app/core/gimpprojection.c (gimp_projection_idle_render_init): decreased the priority of the projection idle renderer to 150, halfway between G_PRIORITY_HIGH_IDLE and G_PRIORITY_DEFAULT_IDLE. Fixes bug #511214.
*** Bug 512335 has been marked as a duplicate of this bug. ***
*** Bug 512758 has been marked as a duplicate of this bug. ***