Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361197 - Clicking on an (edit) link focuses some field / selects its content
Summary: Clicking on an (edit) link focuses some field / selects its content
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bugzilla Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 23:17 UTC by Jeroen Roovers (RETIRED)
Modified: 2016-04-17 02:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".