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 327424 - progress bar changes view size which forces re-zooming of image
progress bar changes view size which forces re-zooming of image
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: image viewer
2.13.x
Other All
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
: 337543 340955 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-17 21:11 UTC by Ernst Sjöstrand
Modified: 2006-05-19 17:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Suggestion (879 bytes, patch)
2006-02-27 00:09 UTC, Ernst Sjöstrand
none Details | Review

Description Ernst Sjöstrand 2006-01-17 21:11:38 UTC
Please describe the problem:
When you switch from one image to another in eog,
a progress bar shows up. That changes the view, which forces
a re-zoom of the image! And when the progressbar goes away,
it has to zoom back.
This makes images load much slower, and looks wierd.

Steps to reproduce:
Can be reproduced with all themes I've tried.
Open a large picture in a folder with many pictures and watch closely
as you switch!


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Ernst Sjöstrand 2006-02-26 23:52:15 UTC
This is only noticeble with images what are larger than the eog window.
Comment 2 Ernst Sjöstrand 2006-02-27 00:09:05 UTC
Created attachment 60183 [details] [review]
Suggestion

You can do like this, and make the statusbar allways visible.

Looks nice imho, and solves the bug.
Comment 3 Mathias Hasselmann (IRC: tbf) 2006-02-27 00:22:13 UTC
(01:02:12) ernstp: eog has got an annoying bug, #327424
(01:02:37) ernstp: can you make a progressbar as thick as you want?
(01:04:41) ernstp: or can you reserve space for a widget, even if it's hidden?

-> You could put the progressbar into some GtkAlignment and call gtk_widget_size_request on that GtkAlignment.
Comment 4 Ernst Sjöstrand 2006-03-07 15:45:54 UTC
I've made a simple patch:
always show the progress bar.

There are of cource other ways to fix the bug.
Comment 5 mannheim89 2006-04-07 12:47:31 UTC
*** Bug 337543 has been marked as a duplicate of this bug. ***
Comment 6 Lucas Rocha 2006-05-19 17:25:58 UTC
*** Bug 340955 has been marked as a duplicate of this bug. ***
Comment 7 Lucas Rocha 2006-05-19 17:26:27 UTC
Fixed in HEAD, gnome-2-14, and eog-ng branches. Thanks!

2006-05-19  Lucas Rocha  <lucasr@gnome.org>

        * shell/eog-statusbar.c (eog_statusbar_init): set the height of
        progressbar to avoid re-zooming image after loading (Fixes bug #327424).