Bauble / bauble.classic

this is how Bauble and Ghini both started
GNU General Public License v2.0
10 stars 34 forks source link

species editor window expanding too far #197

Closed RoDuth closed 8 years ago

RoDuth commented 8 years ago

Discovered this minor annoyance today when I made an error with cutting and pasting a species name in. I must have grabbed a long string of text by mistake and this made the window expand off the edge of the screen due to the display of the full name at the top of the tab. This pushed the cancel, OK, etc. buttons of the edge of the screen making it hard to get get out of. Could this just need word wrap for the full name or the window to be size constrained? Also I could only get rid of the extra wide window by restarting bauble (i.e. the next time I opened the species editor it was the same extra wide size)

mfrasca commented 8 years ago

set priority to high because of the "I could only get rid of the extra wide window by restarting bauble".

mfrasca commented 8 years ago

replicate this by opening the species editor, start typing in the species epithet field, insert a very long sequence of characters. this will indeed make the window grow wider to fit the resulting binomial name plus author. on subsequent activations, the species editor window will keep the maximum size it had reached. a workaround, on ubuntu 14.04 with standard key shortcuts, is to push the window to the left (Super Ctrl ←), or to the right (Super Ctrl →), so all buttons will be in view. do not maximize the window.

mfrasca commented 8 years ago

the behaviour is now to limit the width of the window to the screen width. no change if you do not let the window grow to exceed the screen width. next time you activate the window, it will either be the previous size, or the screen width. you can then resize it according to your preference.

mfrasca commented 7 years ago

I reverted this patch, and just set the label property "wrap".