GNOME Bugzilla – Bug 143141
EOG window shouldn't resize itself after mapping
Last modified: 2005-03-28 15:16:31 UTC
If you start EOG with a file argument or by double-clicking nautilus the EOG window will map itself at its default size and then resize itself to fit the image. This makes the window placement very poor for EOG. If it's started with a file argument it should figure out its initial size before mapping the window. This may be an API limitation; not really sure.
This is still an issue in EOG 2.8.0. Testcase: 1) Start with a clean desktop 2) Open up a nautilus window, with one or more images. 2.1) Place the folder window in the top-left corner, occupying about 50% of the screen width (leaving you with available space to the right of the window). 3) Click to open an image of pretty large size (> 50% of screen-width) Actual Result: Metacity will place the (initially small) EOG-window in the empty space to the right of the folder view, where it fits nicely. But then EOG resizes itself; making the window extend outside of the desktop space. Expected result: EOG shouldn't show the window until it has the correct size, allowing Metacity to make a better decision on where to place the window. Proposed solutions: 1)Read the image info first, manually resizing the imageview part of the EOG window to image geometry. OR 2) Read the image and show the window when the image is loaded and the correct size has been set by GTK+
*** Bug 162781 has been marked as a duplicate of this bug. ***
This is now fixed in CVS and works as it should. Yay ! Thousands of happy users can now switch to EOG full-time.