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 521345 - Window size not remembered
Window size not remembered
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
git master
Other All
: Normal minor
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-09 10:20 UTC by trondsg
Modified: 2011-07-03 17:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description trondsg 2008-03-09 10:20:11 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:
Comment 1 Pavel Šefránek 2008-03-09 11:15:21 UTC
Your testing version (2.16) is pretty old, please try it with never version of eog. Thanks.
Comment 2 trondsg 2008-03-09 16:17:35 UTC
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.
Comment 3 Pavel Šefránek 2008-03-09 18:51:34 UTC
Thanks for your attention!
Comment 4 Claudio Saavedra 2008-03-10 12:04:23 UTC
(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)
Comment 5 Lucas Rocha 2008-03-29 22:26:57 UTC
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.
Comment 6 trondsg 2008-03-30 10:15:16 UTC
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.
Comment 7 Felix Riemann 2008-06-09 09:58:05 UTC
(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.
Comment 8 trondsg 2008-06-09 12:14:09 UTC
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.

Comment 9 Ian Hands 2011-03-04 19:01:52 UTC
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
Comment 10 Pavel Šefránek 2011-07-03 16:32:01 UTC
Seems to be not reproducible anymore (GNOME 3/Fedora 15).
Comment 11 Claudio Saavedra 2011-07-03 17:27:14 UTC
I don't think we have done anything to solve this.. ?