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 511214 - Layer opacity slider is sluggish
Layer opacity slider is sluggish
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.4.x
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
: 512335 512758 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-22 09:54 UTC by Michael Schumacher
Modified: 2008-10-30 20:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Schumacher 2008-01-22 09:54:42 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.
Comment 1 Christian Nielebock 2008-01-22 10:30:46 UTC
Same behaviour under Linux.
Testet with OpenSUSE 10.2 and GTK 2.10.14.
Comment 2 Sven Neumann 2008-01-22 11:17:04 UTC
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.
Comment 3 Sven Neumann 2008-01-22 15:11:31 UTC
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.
Comment 4 Michael Schumacher 2008-01-22 19:25:48 UTC
I can confirm that 150 restores the smooth feel for the opacity while not causing the bad effects of bug #499150.
Comment 5 Sven Neumann 2008-01-22 20:28:52 UTC
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.
Comment 6 Sven Neumann 2008-01-27 10:10:50 UTC
*** Bug 512335 has been marked as a duplicate of this bug. ***
Comment 7 Sven Neumann 2008-01-29 10:34:57 UTC
*** Bug 512758 has been marked as a duplicate of this bug. ***