GNOME Bugzilla – Bug 686929
Newly created toolbox is too tall and too narrow
Last modified: 2013-05-06 21:25:49 UTC
Created attachment 227345 [details] Tall window. There is an occasional (but reliable; it happens after I've started and quit gimp a few times) bug on OSX where the toolbox becomes very tall and only one icon wide. I suspect it is actually zero width but clamped to a minimum of one icon (see attached screenshot). There is no way to resize the window back to normal. Hiding and showing it again has no effect. When you first start the app, or if you tell it not to remember window positions in the preferences and then "reset window positions to defaults" and restart it, the toolbox is the correct size. However there is still no way to resize it. The only workaround I know is to enable single window mode. My *guess* as to what causes this bug, is improper handling of saving the window positions on closing the app. It makes sense, and also that code is clearly not great - e.g. you can't close the app from the dashboard (right click->close). Also, very off-topic but I think your reasoning for using bugzilla is pretty specious. It would *clearly* be preferable to have a registration-free system where you can just enter your email address (like django), or use OAuth2 (like stackoverflow). Having a password for a low-security site that people might only use once is kind of ridiculous. But I imagine the real reasons you stick with it are: * It's what the rest of Gnome use (as you said; a fair enough reason). * Nobody likes getting bug reports and we have more than we can manage anyway, so making it *easier* to submit them isn't exactly high on our priorities. * It was the best at the time, and a good drop-in replacement (probably) doesn't exist so we would rather spend our effort on more interesting things. Which is fine. But I hate it when people make up dubious technical reasons for decisions that are more about social / workload factors.
Tim, are you volunteering to implement and maintain a GIMP-specific bug tracking system (which ties nicely into GNOME bugzilla, because many of the dependencies track bugs there) for the next decade? :)
Haha, like you, I think that would be more effort than it would be worth! Actually now that I think about it, the best and easiest thing to do would be to add OAuth2 to bugzilla itself. Probably wouldn't be that hard (I've done OAuth2 login for my site and it was fairly painless), but apparently bugzilla is written in perl, and it's been a decade since I so much as looked at a line of perl!
Sorry for chipping in. Is this a GIMP or a Bugzilla bug? Please stick with the topic or discuss your ideas in the appropriate mailing list. Thank you.
Can you attach your sessiorc please? It's in Library/GIMP/2.8
Created attachment 227374 [details] Default session rc
Yes, I've found out more info as well: the bug can be reliably triggered by clicking the X of the toolbox, and then going to Windows->New Toolbox. You can reliably fix it by enabling and disabling Single Window Mode. Here is the default sessionrc bit for the toolbox: (session-info "toplevel" (factory-entry "gimp-toolbox-window") (position 54 22) (size 168 756) (open-on-exit) (gimp-toolbox (book (current-page 0) (dockable "gimp-tool-options" (tab-style automatic))))) And after closing it with the X, that section is removed, and then after "New Toolbox": (session-info "toplevel" (factory-entry "gimp-toolbox-window") (position 627 22) (size 56 1162) (open-on-exit) (gimp-toolbox)) I attached full files. PS: Did I mention bugzilla is not so great? Clicking "Add an attachment" wipes the comment you just wrote!
Created attachment 227375 [details] Broken session id.
I don't follow. Originally you said this happens by just quitting and starting gimp a few times, now you close the toolbox and open a new one from the menu. Which one triggers the problem :)
Yeah I was wrong about that. Just closing/opening the menu causes the problem.
What menu?
Sorry; toolbox, not menu.
Ok I can reproduce this, a newly created toolbox opens tall any narrow, clearly broken.
Happens on all platforms, actually.
Fixed in master and gimp-2-8, the toolbox defaults to two columns now: commit 6dcd7c425e3283f6c4d0549981c6f11126198b84 Author: Michael Natterer <mitch@gimp.org> Date: Thu Jan 17 19:37:03 2013 +0100 Bug 686929 - Newly created toolbox is too tall and too narrow Set the dock window's geometry hints after the tool palette's style is known, not after the toolbox' style is known, so we get the right tool button dimensions for minimum size and size increments. (cherry picked from commit 7e273bc6d0d51300c2fafca355c729170689f2ca) app/widgets/gimptoolbox.c | 15 --------------- app/widgets/gimptoolpalette.c | 2 ++ 2 files changed, 2 insertions(+), 15 deletions(-)
*** Bug 695097 has been marked as a duplicate of this bug. ***
IMHO 4 columns would be a more sensible default. Why is the setting not remembered between instances of the toolbox? If i set it to 4 columns, close it and use CTRL/b to open another it opens at 2 columns.