GNOME Bugzilla – Bug 448837
Window is resized when opening document for first time.
Last modified: 2018-05-22 13:13:37 UTC
When opening a document for the first time, the window is first opened in one size and later resized which causes an unnecessary redraw. (And hence, it feels slower... don't know if actual slowdown caused by redraw matters... but...) Can be easily reproduced by renaming a previously opened file.
isn't the solution to draw the window in hidden mode, then gtk.show it or something? Or is this a hack? I think gtk has something specific for window (re)sizing.
The solution is to not resize the window after it has been shown...
Thanks for taking the time to report this bug. However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use. By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME. Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.
Still able to reproduce in 2.26.1 at least. (Didn't know it was OK to close bugs as obsolete without at least checking a later version. If it has been fixed in the development branch, it shouldn't be marked as obsolete.)
I mean, the bug is quite easy to reproduce.
On the other hand, the bug triaging guide in the wiki seems to say that you acted correctly: http://live.gnome.org/Bugsquad/TriageGuide#head-0ef3711892fb31252811f050d83caf8c73efc923 It was a long time since I read through the guide so I might be missing some other part. Andre, isn't it better to just update the version if the bug is still easily reproducible instead of marking it as obsolete? If so, maybe this should be made clearer in the guide.
Ok, I think I got what this issue was about... :) (and I'm really sorry for the noise). :( I can still reproduce the bug on Evince 2.29.1 (git master). I'm marking this issue as 'NEW'. However, I'm wondering if it shouldn't be moved to 'Enhancement' because, in my humble opinion, it is closer to a feature request than a real 'bug'.
*** Bug 463121 has been marked as a duplicate of this bug. ***
*** Bug 619786 has been marked as a duplicate of this bug. ***
I can't reproduce this with master. When opening the document evince has its default size and renaming the document doesn't change the size either. Or maybe I miss understood this bug?
Hi Guillaume, the issue is not that it doesn't remember the size, it's that it is resized after the window is shown. It happens very fast on modern computers (I've just tested it again on 3.4 now) so you have to have relatively quick eyes.
The bug is like when opening a document for the first time, the size of the window is the default one, then upon opening some document, the window is re-sized to the previously remembered size. Please correct me if I am wrong. Is it a good idea to open the window with previous remembered size rather than the default size, when opening a document for the first time? So that I can go ahead with creating a patch for it.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/39.