GNOME Bugzilla – Bug 376668
GimpChainButton initially appears incorrectly
Last modified: 2006-12-03 19:48:24 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.
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.
Please make a small self-contained test case. I can't reproduce this problem and the code looks entirely correct to me.
Created attachment 76975 [details] Testcase Gimp plug-in to test the behaviour. Filters > Misc > Test GimpChainButton.
Created attachment 76976 [details] Screenshot This screenshot illustrates the testcase run on my machine.
2006-11-22 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpchainbutton.c: code cleanup, seems to fix bug #376668.