Closed Bug 310730 Opened 19 years ago Closed 11 years ago

On lose focus, all indication of selected text within textarea is lost entirely.

Categories

(Firefox :: General, defect)

3.6 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: screaser, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4

If you select some text within the rendered HTML of a page in Firefox and then
transfer focus to another window, the highlighted text goes to gray background,
as seems correct.

If you select text within a textarea, though, and switch focus, the highlighting
disappears entirely... which seems inconsistent/incorrect.

Reproducible: Always

Steps to Reproduce:
1. Select some text within a textarea.
2. Switch focus to another application

Actual Results:  
All indication of selection of text disappears.

Expected Results:  
Selected text within text area should go to the gray-backgound "selected not
focused" state that text within the rendered page would go to in the same situation.
This appears to work the same as in IE and Opera. Not that thats necessarily
correct of course.

This appears similar to bug 24443 though that is duped to a fixed bug for some
reason.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051001
Firefox/1.4.1 ID:2005100105

As long as the focus is on another window, the text does not show selected, but
after closing the new window, the selection is back. This does not seem to work
after opening another application like notepad.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 1.5.0.x Branch
Just checked, and this issue is still happening in latest public FF version on Mac. Didn't test elsewhere.

Switching focus to another FF window or another application removes the distinction of the selected text, which is unhelpful behavior.
Version: 1.5.0.x Branch → 3.6 Branch
OS: Windows XP → Mac OS X
Whiteboard: [CLOSEME 5-15-2010]
WFM with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0a1) Gecko/20110429 Firefox/6.0a1, at least I think I understand the STR
Type in textarea, highlight the text. Select another window, then click back on the chrome of Firefox. Text stays highlighted. 
Now if I select in the content of the webpage, then yes, the highlighting goes away, just as it should go away if I had focus.
This screenshot shows the expected result in Safari.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a1) Gecko/20110609 Firefox/7.0a1

This is happening in the latest nightly build, as well.

To reproduce:
1. Select text on a web page.
2. Select the text in the address bar.
3. Switch focus outside of the window.

Actual results:
The selection color changes from blue to gray for the text on the web page (as it should), but the selection colors goes away altogether from the text in the address bar.

Expected results:
When switching focus, the selection color on the address bar should switch to gray, like it does on the web page.

I'm attaching two screen shots. The first one shows the bug, the second shows the expected result from Safari.
This does not happen on the latest version of Firefox. This bug needs to be marked as resolved.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: