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 412385 - Change default toolbar layout
Change default toolbar layout
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Controls
git master
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
: 594447 594607 (view as bug list)
Depends on: 405727
Blocks:
 
 
Reported: 2007-02-26 20:03 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2010-02-05 17:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
Current default setup (aproximatly) (17.86 KB, image/png)
2007-02-26 20:05 UTC, Mathias Hasselmann (IRC: tbf)
Details
My preferred layout. (13.81 KB, image/png)
2007-02-26 20:06 UTC, Mathias Hasselmann (IRC: tbf)
Details
Screenshot (6.97 KB, image/png)
2007-02-26 20:31 UTC, Wouter Bolsterlee (uws)
Details
800x600 with clean toolbar setup. (58.85 KB, image/png)
2007-02-27 06:09 UTC, Mathias Hasselmann (IRC: tbf)
Details
dynamic toolbar layout (8.45 KB, text/x-csrc)
2007-03-01 08:45 UTC, Mathias Hasselmann (IRC: tbf)
Details
makefile for the mockup (402 bytes, application/octet-stream)
2007-03-01 08:46 UTC, Mathias Hasselmann (IRC: tbf)
Details
Compact layout (76.97 KB, image/png)
2007-03-01 08:47 UTC, Mathias Hasselmann (IRC: tbf)
Details
Wide layout (106.84 KB, image/png)
2007-03-01 08:48 UTC, Mathias Hasselmann (IRC: tbf)
Details

Description Mathias Hasselmann (IRC: tbf) 2007-02-26 20:03:57 UTC
Please describe the problem:
In my opinion Epiphany's default toolbar layout should be changed. First thing I do on a fresh GNOME installation is moving Ephy's address bar into the main toolbar. If I do not have a widescreen setup, I also remove the bookmark and the history button. Rationale: The address bar of the current setup looks just strange and wastes aproximatly 30 pixels of vertical pixel space, which are about 4% of a 1024x768 screen.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Mathias Hasselmann (IRC: tbf) 2007-02-26 20:05:20 UTC
Created attachment 83412 [details]
Current default setup (aproximatly)
Comment 2 Mathias Hasselmann (IRC: tbf) 2007-02-26 20:06:20 UTC
Created attachment 83414 [details]
My preferred layout.

My preferred layout. Usually I use the space won for bookmarks.
Comment 3 David Planella 2007-02-26 20:10:39 UTC
I second this RFE, moving the address bar to the main toolbar is the first thing I always do in first installations of Ephy.
Comment 4 Wouter Bolsterlee (uws) 2007-02-26 20:29:26 UTC
Perhaps the zoom out and zoom in can go the right as well.
Comment 5 Wouter Bolsterlee (uws) 2007-02-26 20:31:29 UTC
Created attachment 83418 [details]
Screenshot

Zoom buttons on the right side of the toolbar. Note that the home button is missing in this layout, it should be included in the default layout.
Comment 6 David Planella 2007-02-26 20:50:19 UTC
But I would leave the "Go To" button next to the address bar.

Wouter, is there a specific reason why you are proposing to move the zoom buttons to the right?
Comment 7 Mathias Hasselmann (IRC: tbf) 2007-02-26 20:56:20 UTC
(In reply to comment #6)
> But I would leave the "Go To" button next to the address bar.

Yup.

> Wouter, is there a specific reason why you are proposing to move the zoom
> buttons to the right?

Separation from navigation (as in go-to) controls. Makes sense.

Comment 8 Wouter Bolsterlee (uws) 2007-02-26 21:44:29 UTC
> > Wouter, is there a specific reason why you are proposing to move the zoom
> > buttons to the right?
> 
> Separation from navigation (as in go-to) controls. Makes sense.

Exactly, that's the rationale.

Comment 9 Reinout van Schouwen 2007-02-26 21:51:21 UTC
The current default toolbar layout was well-considered.
Please read this thread completely: http://www.mail-archive.com/epiphany-list@gnome.org/msg01244.html

If you're arguing for the default layout to be changed, please support it with a stronger use case than "First thing I do on a fresh GNOME installation is moving Ephy's address bar into the main toolbar. " What benefits would it bring for first-time users, in particular?
Comment 10 Mathias Hasselmann (IRC: tbf) 2007-02-27 06:04:16 UTC
(In reply to comment #9)
> The current default toolbar layout was well-considered.
> Please read this thread completely:
> http://www.mail-archive.com/epiphany-list@gnome.org/msg01244.html
> 
> If you're arguing for the default layout to be changed, please support it with
> a stronger use case than "First thing I do on a fresh GNOME installation is
> moving Ephy's address bar into the main toolbar. " What benefits would it bring
> for first-time users, in particular?
> 
My problem with that old discussion: It is no discussion. Marco came up with some weird idea and Epiphany was broken to support that idea. If we'd have been as critical as you are now, we still would have some sane toolbar layout.

Reasoning:

- The current additional buttons are rarely used - in my opinion. Rarely used items should not show up on any toolbar. They are confusing for the new user, make Epiphany feel cluttered. Let him go back to Firefox.
- The waste of space argument you put down that easily is an important argument: We waste valueable space for adding four very unimportant buttons to the toolbar. On 800x600 the current setup wastes 800 * 30 + 200 * 35 = 31.000 pixels, which are 6.5% of this small screen. On 1024x768, which is much more common those days[1], 1024 * 30 + 224 * 35 = 38.560 pixels (4%), on the common 1280x768 widescreen format 1280 * 30 + 680 * 35 = 62200 (6%) are wasted.
- The original problem of the address bar being too short just happend, because there were too much icons on the primary toolbar. When dropping bookmarks, history, zoom-in and zoom-out from the default toolbar, there are 354 pixels available for entering addresses on 800x600. Sufficient space to enter fancy addresses like "www.tittenguckendeluxeundsichtotalzumaffenmachen.com".
- Current default setup of Epiphany seems to feel that cluttered, that my little sister even searches for the more clearly structured Firefox, if I ban it from all panels.
- Major advantage of Epiphany over Firefox ist not a wider back button or some overloaded toolbar with history, bookmarks and zooming buttons on the default toolbar. The killer feature of Epiphany is the tagging based bookmark system, which is better promoted by just leaving the addressbar (and maybe adding some "bookmark this" button).

If you want to show new users how pretty Epiphany is, better set the default homepage of Epiphany to some local page providing a guided tour through Epiphany, than clutter its toolbar.


[1] Accordingly to BFL IT Index (http://www.bfl-it-index.de/) in Germany only 4.4% of all screens are CRT monitors still. No wonder as you can by 19" LCDs for as few as just €150 those days.
Comment 11 Mathias Hasselmann (IRC: tbf) 2007-02-27 06:08:49 UTC
Forgot to mention the location bar drop-down: Poor excuse for bad code. Properly coded the drop-down would align to the right boundary of the location bar and expand to the left, if it would need more space, that the location bar provides.
Comment 12 Mathias Hasselmann (IRC: tbf) 2007-02-27 06:09:08 UTC
Created attachment 83444 [details]
800x600 with clean toolbar setup.
Comment 13 Christian Persch 2007-02-27 12:49:37 UTC
For the posisioning, see bug 405727.
Comment 14 Mathias Hasselmann (IRC: tbf) 2007-02-27 13:24:31 UTC
(In reply to comment #13)
> For the posisioning, see bug 405727.
> 

Looks like a little bounty.
Comment 15 Reinout van Schouwen 2007-02-28 23:18:01 UTC
@Mathias: you may not agree with Marco's design ideas but that doesn't mean Epiphany was/is broken.

- Which buttons are / are not rarely used, differs from person to person. Case in point: I have no need for a Home button but use the 'Up' button (non-default) regularly. However I'm NOT the typical audience Epiphany is intended for, so I won't argue to make this layout the default. Nevertheless I do feel strongly that the (+) and (-) buttons are valuable additions because especially on *nix setups fonts often appear too small on sites that were designed under windows/IE. Inexperienced users are known not to explore menus but at most the buttons that are visible. As for Bookmarks/History, those windows were intended to be major ways to access webpages besides/instead of the address bar, but this idea never really took off. These buttons need revisiting when/if the bookmarks+history rewrite is ever completed.

- I don't wish to put down the waste of space argument too easily. It is valid. However it is also important that the user is able to read the complete URL of the site (s)he visits (think about phishing).

- Setting a tour-of-Epiphany homepage is useless because distro vendors will override it anyway. See also bug 355251.
Comment 16 Matthew Paul Thomas (mpt) 2007-02-28 23:55:27 UTC
For detecting phishing it is not necessary for the entire URL to be visible, just the part equivalent to the genuine domain (which is usually quite short).

I think the shift in defaults from two toolbars to one in NS4->Firefox, IE6->IE7, and MacIE->Safari, reflects an increase in the average experience of Web users, and to a lesser extent an increase in the use of Web applications for which less browser chrome is better.
Comment 17 Mathias Hasselmann (IRC: tbf) 2007-03-01 08:45:33 UTC
Created attachment 83625 [details]
dynamic toolbar layout

Ok, trying to be constructive: What about placing the address bar automatically depending on the space available?
Comment 18 Mathias Hasselmann (IRC: tbf) 2007-03-01 08:46:18 UTC
Created attachment 83626 [details]
makefile for the mockup
Comment 19 Mathias Hasselmann (IRC: tbf) 2007-03-01 08:47:38 UTC
Created attachment 83627 [details]
Compact layout
Comment 20 Mathias Hasselmann (IRC: tbf) 2007-03-01 08:48:58 UTC
Created attachment 83628 [details]
Wide layout
Comment 21 Reinout van Schouwen 2007-03-02 21:22:41 UTC
harves rewrote a lot of the toolbar code, he should be able to answer that question. cc'ing.
Comment 22 Peter Harvey 2007-03-02 21:47:36 UTC
I'm guessing the question relates to "can we make the address bar automatically move around on the toolbar, based on width". :)

I would think that, to do it properly, the behaviour would have to be part of the base GtkToolbar class. Rearranging toolbar widgets into two rows based on availabe width, minimum widget size, maximum widget size, etc would change a lot of the logic in GtkToolbar. My preference would be to copy the entire GtkToolbar codebase and modify to become a custom Epiphany widget. Assuming of course that there was such a large demand for automatically rearranging toolbars.

That said, you could probably come up with some horrible hack that implements what you're suggesting without modifying GtkToolbar. It'd be ugly, and wouldn't necessarily work in all cases. I note that the attachments don't describe what should happen if I have a few more buttons located on the right side of the addressbar entry. Should they move down to the second line before the address bar? When do you decide it's time to move widgets to the next row? That kind of detail is really going to require a rewrite of GtkToolbar in my opinion.
Comment 23 Mathias Hasselmann (IRC: tbf) 2007-03-03 09:03:09 UTC
(In reply to comment #22)
> I'm guessing the question relates to "can we make the address bar automatically
> move around on the toolbar, based on width". :)

No, its rather "do we want the address bar to move arround automatically". The possibility of this behaviour is demonstrated by the attached mockup. It works using three toolbar widgets. 

The widget hierachy looks like this for two-row mode:

GtkToolbar "main"
+- GtkToolItem
   +- GtkVBox
      +- GtkToolbar "actions"
      |  +- GtkMenuToolButton "go-back"
      |  +- GtkMenuToolButton "go-forward"
      |  +- GtkToolButton "stop"
      |  +- ....
      |  +- GtkToolItem "address-item"
      |  +- GtkSeparatorToolItem
      |  +- GtkToolButton "zoom-in"
      |  +- ...
      +- GtkToolBar "address-bar"
         +- GtkToolItem
         |  +- GtkEntry "address-entry"
         +- GtkToolButton "go-to"

The widget hierachy looks like this for single-row mode:

GtkToolbar "main"
+- GtkToolItem
   +- GtkVBox
      +- GtkToolbar "actions"
         +- GtkMenuToolButton "go-back"
         +- GtkMenuToolButton "go-forward"
         +- GtkToolButton "stop"
         +- ....
         +- GtkToolItem "address-item"
         |  +- GtkToolBar "address-bar"
         |     +- GtkToolItem
         |     |  +- GtkEntry "address-entry"
         |     +- GtkToolButton "go-to"
         +- GtkSeparatorToolItem
         +- GtkToolButton "zoom-in"
         +- ...

The trick for getting rid of the bevel arround the nested toolbars looks like this:

    gtk_rc_parse_string("                               \
        style \"nested-toolbar\" {                      \
            GtkToolbar::shadow-type = none              \
        }                                               \
                                                        \
        widget_class \"*<GtkToolbar>*GtkToolbar\"       \
        style \"nested-toolbar\"                        \
    ");

Maybe this should go into gtk+ by default.
Comment 24 Mathias Hasselmann (IRC: tbf) 2007-03-03 22:39:53 UTC
See also: Bug 314163.
Comment 25 Alexander van Loon 2007-03-17 20:21:14 UTC
I completely agree with those who think the current toolbar layout is a waste of space. It's one of the first things I do after starting Epiphany for the first time as well, limiting the buttons to back-forward-stop-refresh-stop-home, and having those and location bar on one row.

I can understand why you would want to keep the buttons for shrinking/enlarging the text, because there can be websites with very small fonts. But at least remove the buttons for favorites and history, those are completely useless, at least in my opinion.
Comment 26 Javier Jardón (IRC: jjardon) 2009-09-08 13:07:15 UTC
*** Bug 594447 has been marked as a duplicate of this bug. ***
Comment 27 Javier Jardón (IRC: jjardon) 2009-09-08 13:10:18 UTC
Added link to bug reported downstream: https://bugs.launchpad.net/ubuntu/+bug/343402
Comment 28 kxra 2009-09-09 17:11:11 UTC
from bug 59447: "Big navigation bars waste valuable screen space and are U-G-L-Y! Maximizing
screen space for actually viewing web pages is important. Chromium has done an
incredible job at this. We can try to do the same with simple things like:
Merging the search and URL bar: https://bugs.launchpad.net/bugs/343400
Star for bookmarks: https://bugs.launchpad.net/bugs/343401
etc, etc.

Of course, we shouldn't copy chromium, but make our use of space more efficient
in the way we see fit. Bottom line though, we need to use screen space more
efficiently."
Comment 29 Javier Jardón (IRC: jjardon) 2009-12-20 17:53:11 UTC
*** Bug 594607 has been marked as a duplicate of this bug. ***
Comment 30 antistress 2009-12-20 18:03:29 UTC
That bug is even more accurate since GNOME decision to use "Text beside icons" toolbar style for version 2.28,
we see that 50% of Epiphany bars are empty in normal use cases !
Comment 31 Gustavo Noronha (kov) 2010-02-05 17:46:55 UTC
Pushed 80ca4ae3c2215e8af467c2c577581df841cd2ae6 defaulting to one toolbar, with less icons.