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 376668 - GimpChainButton initially appears incorrectly
GimpChainButton initially appears incorrectly
Status: VERIFIED FIXED
Product: GIMP
Classification: Other
Component: libgimp
git master
Other All
: Normal normal
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-11-18 14:39 UTC by Aurimas Juška
Modified: 2006-12-03 19:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (2.24 KB, text/x-csrc)
2006-11-21 15:18 UTC, Aurimas Juška
Details
Screenshot (3.25 KB, image/png)
2006-11-21 15:20 UTC, Aurimas Juška
Details

Description Aurimas Juška 2006-11-18 14:39:59 UTC
After GimpChainButton gets created with gimp_chain_button_new (GIMP_CHAIN_RIGHT), I expect it to be not active (as documentation says) and displayed on the right. It functionally is like expected. However, on the screen it appears as active and is drawn horizontally.
It is not displayed correctly until gimp_chain_button_set_active () or clicking it on the screen.
Comment 1 david gowers 2006-11-19 06:17:19 UTC
This happens for me in GIMP's dialogs sometimes (at least, being drawn horizontally when it should be vertical), so I can confirm part of this. I haven't investigated the code/API side of it.
Comment 2 Sven Neumann 2006-11-21 14:31:27 UTC
Please make a small self-contained test case. I can't reproduce this problem and the code looks entirely correct to me.
Comment 3 Aurimas Juška 2006-11-21 15:18:19 UTC
Created attachment 76975 [details]
Testcase

Gimp plug-in to test the behaviour. Filters > Misc > Test GimpChainButton.
Comment 4 Aurimas Juška 2006-11-21 15:20:47 UTC
Created attachment 76976 [details]
Screenshot

This screenshot illustrates the testcase run on my machine.
Comment 5 Sven Neumann 2006-11-22 08:04:06 UTC
2006-11-22  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpchainbutton.c: code cleanup, seems to fix bug
	#376668.