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 543881 - Reduce or remove the minimum window width
Reduce or remove the minimum window width
Status: RESOLVED OBSOLETE
Product: eog
Classification: Core
Component: general
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-20 16:14 UTC by Lucas Rocha
Modified: 2017-11-19 19:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch that reduces the minimum height and width of the EOG window (449 bytes, patch)
2011-03-04 18:59 UTC, Ian Hands
none Details | Review

Description Lucas Rocha 2008-07-20 16:14:32 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."
Comment 1 Ian Hands 2011-03-04 18:59:14 UTC
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.
Comment 2 Felix Riemann 2011-04-14 20:13:20 UTC
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.
Comment 3 Kevin Hagner 2017-11-19 19:38:05 UTC
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.