GNOME Bugzilla – Bug 521345
Window size not remembered
Last modified: 2011-07-03 17:27:14 UTC
Please describe the problem: The size and state (maximized/restored) is not remembered. It's almost ok for small images, where the window scales to match the image, but when a 1280x1024 image displays in a window taking half of my 1024x768 screen every time I open such images it starts to get quite annoying after a while. Steps to reproduce: 1. Open EOG and maximize the window 2. Close EOG 3. Open EOG Actual results: The EOG is not maximized Expected results: It should be maximized Does this happen every time? Yes Other information:
Your testing version (2.16) is pretty old, please try it with never version of eog. Thanks.
The same problem is in 2.21.92. I don-t understand why the developers couldn't have reproduced this themselves. It would have taken them about 6 seconds to open and close eog to see the problem. It took me an hour to upgrade all dependencies and compile eog from source.
Thanks for your attention!
(In reply to comment #2) > The same problem is in 2.21.92. I don-t understand why the developers couldn't > have reproduced this themselves. It would have taken them about 6 seconds to > open and close eog to see the problem. It took me an hour to upgrade all > dependencies and compile eog from source. I agree with Trond here. Pavel, if you are going to triage bugs, please don't ask users to reproduce trivial bugs. I suppose that you could have reproduced this one yourself. Sorry Trond and thanks a lot for your time. (Moving to trunk since we are not likely to fix it in this cycle)
Trond, could you elaborate a little bit more? Are you just requesting to make EOG remember if the app window was maximized last you ran it? What happens when you open a small image? FYI: the current aproach is to just try to open the window with the same dimensions than the target image. We also define a minimum window size. If the image is larger than the screen, we (sort of) set the window size to 75% of the screen.
Firstly, it should remember whether it was maximized. Second, if it's supposed to open a window that is the same size as the image, opening a window that's smaller than the image when there is more screen space available is wrong.
(In reply to comment #6) > Second, if it's supposed to open a window that is the same size as the image, > opening a window that's smaller than the image when there is more screen space > available is wrong. > If I understand you correctly this part could be related to bug 530447.
It does not seem to be technically related to that bug, although conceptually it is. My second issue is that a 1024x768 pixel image will open at 75%, when the resolution is 1024x768. This leaves a great deal of unused screen space, while not displaying the entire image. This is wrong ___if___ the policy is to open a window that is the __same__ size of the image, since here the window is much smaller than the image, even when there is plenty of more space available. The other issue is that the program does not remember the state (maximized/restored). If the user maximizes the program, it should stay like that forever and ever, even across program and computer restarts, until the user decides to unmaximize/restore it.
I think the originally reported issue (window size not being remembered) is resolved with the patch posted here. https://bugzilla.gnome.org/show_bug.cgi?id=164421
Seems to be not reproducible anymore (GNOME 3/Fedora 15).
I don't think we have done anything to solve this.. ?