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 448837 - Window is resized when opening document for first time.
Window is resized when opening document for first time.
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 463121 619786 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-06-18 17:08 UTC by Martin Ejdestig
Modified: 2018-05-22 13:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martin Ejdestig 2007-06-18 17:08:48 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.
Comment 1 Jean-François Fortin Tam 2008-06-27 21:14:49 UTC
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.
Comment 2 Martin Ejdestig 2008-06-27 22:59:33 UTC
The solution is to not resize the window after it has been shown...
Comment 3 Emmanuel Fleury 2009-08-04 16:03:28 UTC
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.
Comment 4 Martin Ejdestig 2009-08-05 16:26:05 UTC
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.)
Comment 5 Martin Ejdestig 2009-08-05 16:38:38 UTC
I mean, the bug is quite easy to reproduce.
Comment 6 Martin Ejdestig 2009-08-05 18:30:56 UTC
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.
Comment 7 Emmanuel Fleury 2009-11-12 13:58:45 UTC
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'.
Comment 8 Travis Reitter 2012-10-31 18:35:54 UTC
*** Bug 463121 has been marked as a duplicate of this bug. ***
Comment 9 Travis Reitter 2012-10-31 18:36:03 UTC
*** Bug 619786 has been marked as a duplicate of this bug. ***
Comment 10 Guillaume Desmottes 2012-11-07 14:43:23 UTC
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?
Comment 11 Jean-François Fortin Tam 2012-11-07 15:58:47 UTC
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.
Comment 12 Pooja Ahuja 2014-03-09 03:58:14 UTC
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.
Comment 13 GNOME Infrastructure Team 2018-05-22 13:13:37 UTC
-- 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.