[Bug 28971] Pages can steal focus from the URL bar when I'm trying to type a URL

Andrew Bennetts andrew.bennetts at canonical.com
Thu Jan 19 11:21:54 UTC 2006


Public bug reported:
https://launchpad.net/malone/bugs/28971

Affects: epiphany-browser (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:
I set my home page to http://google.com/ because I often want to do a
google search.

However, I also often just want to type a URL (or use a bookmark, I love
epiphany's integration of bookmarks in the location bar).

So, I hit Ctrl-T to open a new tab, then immediately hit Ctrl-L to start
typing a URL.  Depending on how fast the network is vs. my typing,
google's search box may or may not steal focus away from the URL bar
before I finish typing.  So, often typing "smh.com.au<enter>" does what
I want, and sometimes it doesn't, and this is very frustrating.

I think a reasonable solution for this is that a web page should *never*
be able to steal focus from the surrounding browser -- if I'm using the
URL bar (or a menu, or some other widget), then I don't expect that the
web page may grab the focus.  I'm happy for the page to be focused at
whereever the javascript likes when I tab into the page or click on the
page to bring the page widget (if that's the term?) into focus, but I
don't want it stolen from elsewhere.  Similarly, if the page already has
the focus (e.g. I just clicked a link), then of course I'm happy for the
focus to do whatever the resulting page intends.




More information about the desktop-bugs mailing list