Closed Bug 236172 Opened 20 years ago Closed 18 years ago

Url bar: different doubleclick behaviour on "normal" and idn ("umlaut") domains

Categories

(Core :: DOM: Selection, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: darkshadow, Unassigned)

References

()

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7b) Gecko/20040227

Oh, I like playing around with those new idn domains ;)


Reproducible: Always
Steps to Reproduce:
case 1 (idn domain):
1. got to http://öko.de
2. doubleklick in the location bar

case 2 (non-idn domain):
3. do the same for http://www.microsoft.com/

Actual Results:  
case 1:
_a part_ (depending on where you clicked) of "http://öko.de" gets selected

case 2:
_the whole_ string "http://www.microsoft.com/" gets selected

Expected Results:  
case 2 for all types of domain names
What seems to happen is that on Linux the layout.word_select.stop_at_punctuation
pref should be off (at least, by default), and that setting is respected if a)
the text is all ASCII or b) the text has been modified by the user. But if the
ASCII-unclean text is the initial text, or it has been set by script, then
(until it is edited) double-clicking will stop at punctuation.
Assignee: location-bar → selection
Component: Location Bar → Selection
Blocks: IDN
Depends on: 142120
This was apparently fixed on trunk between 2006-03-23 and 2006-03-24, although I can't figure out by what patch (I hope it wasn't bug 331440 - that patch wasn't supposed to change any behavior).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
(In reply to comment #2)
>I hope it wasn't bug 331440
No, I tried backing it out and I still get the whole URL selected.
Maybe bug 329974, then. The patch had some general cleanup in nsTextFragment/nstextTransformer, which might have affected this.
Oops. It would help if I built and patched the same tree...
In fact I did, but I must remember to patch first and build later!
OK, I've defintely built without bug 331440 and that made no difference.
You need to log in before you can comment on or make changes to this bug.