GNOME Bugzilla – Bug 543881
Reduce or remove the minimum window width
Last modified: 2017-11-19 19:38:05 UTC
Feedback from a user: "It seems to have a very arbitrary minimum width. Sometimes, I'll need to use it to display a very thin image, and it won't let me make the window any thinner well before the window edges come into contact with menu or toolbar items. Anyway, since space saving is so critical and I've become such a tyrant with my window layouts because of it (I've totally commandeered the GIMP UI to make it simple and usable, mwa ha), I'd really like to be able to make the EOG window as thin as I want."
Created attachment 182513 [details] [review] Patch that reduces the minimum height and width of the EOG window Here is what I have noticed. The original limits are: #define EOG_WINDOW_MIN_WIDTH 440 #define EOG_WINDOW_MIN_HEIGHT 350 The smallest window that I make without having issues with the scroll/toolbars was (here the File Edit... menu is trampled on): #define EOG_WINDOW_MIN_WIDTH 30 #define EOG_WINDOW_MIN_HEIGHT 130 Other gnome apps (like gedit) seem to let the window as small as possible without messing up toolbars, the status bar, and the File Edit... menu. The smallest values that I found when testing eog were: #define EOG_WINDOW_MIN_WIDTH 300 #define EOG_WINDOW_MIN_HEIGHT 130 Thus I used 300x130 in the patch.
Hmm, I think what is really wanted here is to not give any minimum size at all but instead have GTK take care of this on its own.
With eog v3.26.1, the minimum width of the window is quite small. I suppose that this issue was solved when eog was updated to GTK3. Feel free to reopen this ticket if the problem still occurs for you.