Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361197

Summary: Clicking on an (edit) link focuses some field / selects its content
Product: Gentoo Infrastructure Reporter: Jeroen Roovers (RETIRED) <jer>
Component: BugzillaAssignee: Bugzilla Admins <bugzilla>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jeroen Roovers (RETIRED) gentoo-dev 2011-03-29 23:17:49 UTC
When I click on one of the (edit) links, some ill-chosen field is usually focused. In both Opera and Firefox the contents of the field is then selected - I don't know whether the latter is browser-specific, but it does have the effect of messing up the X11 cut buffer.

Ideally no field should get focus after clicking on an (edit) link at all. Especially when more than one field is revealed, it remains impossible to guess which one the bugzilla user actually wanted to edit.
Comment 1 SpanKY gentoo-dev 2016-04-02 21:19:52 UTC
i've just tried every edit link i can find, and they all seem to work.  is this still an issue, or has it been fixed during one of the many updates ?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-04-16 11:47:06 UTC
Yes, the website's code[1] still does this in a couple of places for textarea:

// Maybe this:

.focus();

// and then:

.select();


[1] https://bugs.gentoo.org/data/assets/6e915ad5943046e736c4f66462b13ba3.js?1458682293
Comment 3 SpanKY gentoo-dev 2016-04-17 02:33:00 UTC
(In reply to Jeroen Roovers from comment #2)

if the request is "please don't have the edit links focus+select all the text", i'm going to go with "sorry, but no".  i read it more like "it's not focusing/selecting the right fields".