User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110504 Firefox/6.0a1
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110504 Firefox/6.0a1
When entering text into the location bar, the highlighting is weird, sometimes text entered is grey and sometimes not. It would be better if text stopped being highlighted when entering text.
Steps to Reproduce:
1.go to any address (ex. google.com)
2.add some text to the address
text has many different highlights
text should change to be all one color when entered
Created attachment 530033 [details]
screenshot of the weird highlighting
The highlighting is probably caused by:
Bug 451833 - Highlight the domain name in the address bar
But since you have entered an invalid URL the result may look strange.
1) Open www.google.com
2) After the page loads, start appending some characters to the url.
3) Weird highlighting occurs.
Marking as new.
The simple solution would be to just undo the domain highlighting (revert the url color) when the bar is hovered or clicked on.
I agree with Natch, it's kinda uncomfortable to edit light color text.
yeah, comment 3 is what i meant to say, sorry.
Created attachment 532002 [details] [diff] [review]
This patch just removes the formatting when the location bar is focused, then adds it back on blur.
Comment on attachment 532002 [details] [diff] [review]
>+ <method name="clearFormatting">
_clearFormatting, since this is internal.
i reproduced this bug with these steps.
1. Open a web page in new tab, see that url is formatted.
2. Click url bar to clear formatting and add some text to the end of the url.
3. open new tab and focus there.
4. Click to the tab you created in step 1 .
5. Cursor is on the url-bar again and url is formatted
6. Try to add some text again, you will see weird highlighting again.
I can still see this on:
Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110515 Firefox/6.0a1
Can anyone else see this??
Should i REOPEN or file a new bug?
I can also still reproduce this.
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110515 Firefox/6.0a1
I followed the STR in comment 9. Step 2 works fine now, but step 6 still creates weird highlighting.
Bug 657173 addresses the issues in comment 9 and has been checked in today, so we should wait another day and test again before opening a new bug.
The issue is still reproducible on:
Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110519 Firefox/6.0a1
Following the STRs in Comment 9 reveals the weird highlighting as in the attachment/screenshot.
It is unclear if this bug is FIXED or not.
STR in comment 9 shows no weird highlighting for me any more.
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110517 Firefox/6.0a1
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110519 Firefox/6.0a1
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110520 Firefox/6.0a1
Thus, I'm not able to fool the highlighter by doing the switch-to-another-tab trick, so to me it looks FIXED at least for Linux.
BTW, I can still reproduce the bug using the STR in comment 9 with:
Mozilla/5.0 (X11; Linux x86_64; rv:6.0a1) Gecko/20110516 Firefox/6.0a1
tracking the implementation bug. no need to track this fixed regression.
Mozilla/5.0 (X11; Linux i686; rv:7.0a1) Gecko/20110629 Firefox/7.0a1
Verified issue on Ubuntu 11.04, Mac OS X 10.6, WinXP, Win7 using steps from Comment 9 and I am unable to reproduce the problem.
Setting status to Verified Fixed.