Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#19149 closed defect (bug) (fixed)

Text entered in Admin Bar Search cannot be selected

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: koopersmith's profile koopersmith
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Toolbar Keywords:
Focuses: Cc:


Once some text is typed into Admin Bar Search, it cannot be selected with a mouse (to copy, etc.), only from keyboard.

Tested in Firefox 7.01, Chrome 15, IE 8.

In Opera 11.52, the text can't even be entered there.

Change History (8)

#1 follow-up: @ocean90
13 years ago

For me it works in Chrome 16 and Opera 11.52. Can only reproduce it in Firefox.

If I remove href="#" from the link around the form it works.

To test:

Last edited 13 years ago by ocean90 (previous) (diff)

#2 in reply to: ↑ 1 @SergeyBiryukov
13 years ago

Replying to ocean90:

For me it works in Chrome 16 and Opera 11.52.

Yeah, selection in Opera is possible since [19157]. But an attempt to copy the selected text (with a mouse) would only provide an option to copy the underlying link instead.

Last edited 13 years ago by SergeyBiryukov (previous) (diff)

#3 @toscho
13 years ago

  • Cc info@… added

Why is the dead link around the form there? I don’t see the benefit for the user anyway.

#4 @ocean90
13 years ago

toscho, because of the API.

Related: #15519

#5 @toscho
13 years ago

Hm, too bad. The first time I clicked on this link I wondered if something was broken. Now I know it. :)
Those links are confusing, take more time to tab through, and they have strange side effect, as we can see here.

One more thing: Browsers offer different context menus depending on the focus. In Opera one cannot insert predefined information (name, phone number, notices) in a linked form element now. So this issue is not just about selecting text.

#6 @ryan
13 years ago

  • Component changed from UI to Admin Bar

#7 @ryan
13 years ago

See also #19151

#8 @koopersmith
13 years ago

  • Owner set to koopersmith
  • Resolution set to fixed
  • Status changed from new to closed

In [19328]:

Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.

Note: See TracTickets for help on using tickets.