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 368759 - progress bar too big in statusbar
progress bar too big in statusbar
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
git master
Other Linux
: Normal minor
: 2.18.x
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
: 396000 (view as bug list)
Depends on:
Blocks: 415677
 
 
Reported: 2006-11-01 08:44 UTC by Baptiste Mille-Mathias
Modified: 2007-03-21 15:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
totem buffering progress bar (64.92 KB, image/png)
2006-11-01 08:45 UTC, Baptiste Mille-Mathias
  Details
epiphany progressbar (721 bytes, image/png)
2006-11-01 08:50 UTC, Baptiste Mille-Mathias
  Details
a patch that correct the size issue. (1.24 KB, patch)
2006-11-03 22:30 UTC, Baptiste Mille-Mathias
none Details | Review
a screenshot of the new progressbar (892 bytes, image/png)
2006-11-03 22:31 UTC, Baptiste Mille-Mathias
  Details
Better patch (1.27 KB, patch)
2006-11-07 21:54 UTC, Baptiste Mille-Mathias
none Details | Review
alternative patch (11.02 KB, patch)
2006-11-07 23:49 UTC, Christian Persch
committed Details | Review

Description Baptiste Mille-Mathias 2006-11-01 08:44:40 UTC
+++ This bug was initially created as a clone of Bug #368757 +++

Would be nice to use a mini progress bar as totem does.
screenshot to come

thanks
Comment 1 Baptiste Mille-Mathias 2006-11-01 08:45:14 UTC
Created attachment 75755 [details]
totem buffering progress bar
Comment 2 Baptiste Mille-Mathias 2006-11-01 08:50:27 UTC
Created attachment 75756 [details]
epiphany progressbar

As seen, the top border of the progress bar overlaps the bottom border of the rendering window.
Some padding between the progressbar would give a better finition, but as the statusbar's height cannot be increased, reducing the height of the progressbar as totem did would be nice.
Comment 3 Baptiste Mille-Mathias 2006-11-03 22:30:30 UTC
Created attachment 75968 [details] [review]
a patch that correct the size issue.

it remains a small glitch in the UI, there is no border on the top of the gtkprogressbar
Comment 4 Baptiste Mille-Mathias 2006-11-03 22:31:02 UTC
Created attachment 75969 [details]
a screenshot of the new progressbar
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2006-11-04 00:45:15 UTC
hmmm, I don't know if I like it.
Comment 6 Pascal Terjan 2006-11-07 21:53:28 UTC
Then why do you comment ? :)
Comment 7 Baptiste Mille-Mathias 2006-11-07 21:54:35 UTC
Created attachment 76182 [details] [review]
Better patch

This patch seems to be better, because it don't harcode the length of the progressbar, and I chose 10 of height like totem does.

Ephy maintainers, you would be so Über cool to review it and commit it for next development version, I love you so much :)
Comment 8 Baptiste Mille-Mathias 2006-11-07 22:00:46 UTC
ah yeah I knew I forgot something :)

For the small glitch, I would consider to open another bug because it is something out of the scope of this bug. What do you think ?
Comment 9 Diego Escalante Urrelo (not reading bugmail) 2006-11-07 23:24:30 UTC
Pascal: because the idea is to share our opinions about this kind of changes.

Baptiste: Is the height of the progressbar "fixed" at that height or it's a side effect of being inside the vbox?.
Comment 10 Christian Persch 2006-11-07 23:49:08 UTC
Created attachment 76191 [details] [review]
alternative patch
Comment 11 Baptiste Mille-Mathias 2006-11-08 18:30:35 UTC
Christian, 
I won't comment on the code because you're far better in this than, me :); but for the result this is perfect. 
Comment 12 Christian Persch 2006-12-03 19:06:28 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 13 Baptiste Mille-Mathias 2006-12-03 20:17:32 UTC
thanks for the patch Christian :)
Comment 14 Jean-François Fortin Tam 2007-01-13 16:23:29 UTC
Sorry to disrupt the party, but usability-wise, in what a smaller progressbar is better? The newbies I watched using epiphany even had a hard time noticing the progressbar when it was full height... but now? it's 2-3 times thinner, wtf?

I mean it's less visible... uh... yay? I think this whole issue was started because it overlapped the border of the status bar... Ok, reduce it by 2-3 pixels, but do not cut the height in half! While we are at it, <sarcasm>"why not make all the toolbars small-icons-only"?</sarcasm> :)

I came from bug #396000
Comment 15 Reinout van Schouwen 2007-01-16 20:09:32 UTC
I think Jeff is right and the progress bar height should be the height of the status bar minus a few pixels. Probably in Totem as well. Although the HIG doesn't mention it specifically, the status bar screenshot on http://developer.gnome.org/projects/gup/hig/2.0/controls-status-bars.html seems to match that idea.

Baptiste, Christian, Diego, what do you think? 
Comment 16 Christian Persch 2007-01-16 20:19:10 UTC
*** Bug 396000 has been marked as a duplicate of this bug. ***
Comment 17 Christian Persch 2007-01-16 20:20:29 UTC
Should be as simple as removing this line from ephy-statusbar.c:

        gtk_widget_set_size_request (s->priv->progressbar, -1, 10);

We should do this if totem will do the same.
Comment 18 Reinout van Schouwen 2007-01-16 20:31:49 UTC
For reference, Rhythmbox has a "big" (old Epiphany style) progress indicator in the status bar. If an agreement is found, a bug against Rhythmbox should be filed as well.
Comment 19 Baptiste Mille-Mathias 2007-01-16 20:53:55 UTC
Hi Reinout,

something like bug 368757 :)

Comment 20 Christian Persch 2007-01-16 23:34:26 UTC
Removing the gtk_widget_set_size_request doesn't work, since it makes the progressbar too tall, increasing the statusbar's height while it's shown.
Comment 21 Diego Escalante Urrelo (not reading bugmail) 2007-03-09 18:33:04 UTC
What about the old good padding property? (I'm just guessing).
Comment 22 Christian Persch 2007-03-12 13:15:55 UTC
I don't see any way to make it bigger, without it changing the statusbar height when it's shown.
Comment 23 Christian Persch 2007-03-21 15:24:48 UTC
Re-resolving as FIXED since the original bug is fixed.

For follow-up, see bug 421060.