User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31 Steps to reproduce: Reproducible on Firefox 4 (Build ID:20110318052756) Mozilla/5.0 (Windows NT 6.1; rv:2.0) Gecko/20100101 Firefox/4.0 Reproducible on Firefox 21 Beta(Build ID:20130416200523) Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0 Reproducible on latest Aurora (Build ID:20130417004018) Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20130417 Firefox/22.0 Reproducible on latest Nightly (Build ID:20130417031053) Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20130417 Firefox/23.0 STR: 1. Open Firefox and sign into a webmail account (Yahoo, Gmail) 2. Select to compose an mail and enter some text 3. Select the text and change the background/highlight color of the text Actual results: The text is deselected and the background is not changed until the user clicks on the page. Expected results: The text remains selected until the user clicks on the page. Notes: 1. This issue is not a regression: it reproduces back to Firefox 4.0.
How do you know it is deselected and not just colored differently?
Works for me with firefox 21.0 Beta.
Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:23.0) Gecko/20130423 Firefox/23.0 Here is a screen cast of the issue, reproduced on Firefox latest nightly (Build ID:20130423030935). http://www.screencast.com/users/mitzabmm/folders/Default/media/8088dbdf-1c4f-4b4b-b262-8dd9dfded01a The issue is not reproducible on Chrome.
The text is not deselected. Its just that when we select a highlight/background color, the selected text is displayed in blue color. Just try this- 1- Write some text, select it and choose a background color. 2-Now without clicking anywhere, click on the bakcground color again, it will show a tick on the color you selected previously for this text, which means the text is still selected. Or if you now select the newly highlighted text, you will see that its blue in color. So basically, the selected text view has changed when we give background color to it.
When I try to change the background/highlight color of the text, the text remains selected, but is not visually shown that is selected, as in Chrome, for example. This issue is clearly seen in the screencast. Here is a screencast example of how it should work(Chrome): http://www.screencast.com/users/mitzabmm/folders/Jing/media/39f2f52f-4061-42d1-a031-832fa5f005a7
Ok now its right. The text do remain selected but its not highlighted. Definitely it should be implemented. I too had a problem figuring out that what happened to the selected text. Actually it works like this- If we select a background for some text, then the selected text is shown without background and if we don't have a background for the text then selected text is shown with a background. I wonder why this scheme is used.
Component: Untriaged → Selection
Product: Firefox → Core
Summary: Text selection is canceled after changing background/highlight color → Text selection becomes invisible (as if canceled) after changing background/highlight color
An uneducated guess: bug 234102 might be related.
You need to log in before you can comment on or make changes to this bug.