Closed
Bug 468258
Opened 16 years ago
Closed 1 year ago
Can't autocomplete using unescaped UTF-8 when typing
Categories
(Camino Graveyard :: Location Bar & Autocomplete, defect, P3)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: alqahira, Assigned: chris)
References
()
Details
Attachments
(1 file, 2 obsolete files)
|
2.47 KB,
patch
|
Details | Diff | Splinter Review |
STR:
1) Open http://ar.wikipedia.org/
2) Visit http://ar.wikipedia.org/wiki/مدينة_عمّان (today's feature article, on Amman)
3) Cmd-L to get back in the location bar
4) Start typing to begin autocomplete
5) When you get done with "/wiki/", enter a م to begin completing the article name
(Substitute the Arabic wikipedia with a wikipedia with the non-Roman script of your choice. Note also I did try with ن just in case autocomplete had the page title backwards due to busted RTL)
AR: Autocomplete selection moved to http://ar.wikipedia.org/wiki/مدينة_عمّان
ER: Autocomplete selection does not change
This is a more significant underlying issue, and in practical purposes I think it's unlikely to be hit much (but I'd like to hear from some of our non-Roman-script users/localizers, like Japanese and Russian, to be sure), but I wanted to make sure it was on file, anyway.
FWIW, Firefox 3 appears to get this right, but I'm not sure I'm testing correctly since I'm not sure I correctly configured it to match only full url strings (and not characters in titles, or in random places in urls, etc.)
Updated•16 years ago
|
Hardware: Macintosh → All
Comment 1•16 years ago
|
||
Japanese has the same problem
STR
1. load http://ja.wikipedia.org/wiki/メインページ
2. go somewhere else
3. cmd L, start typing, once done with /wiki/,
3a. switch to katakana input (ctrl-shift K)
3b. type 'me' (for メ), then 'return' to accept the character.
AR: no autocomplete
Minefield latest build appears to autocomplete, in my set up. And so does Safari.
(aside: can't copy paste a nice Jpn url out of Minefield location bar into mail.app/text edit.app/textarea in Camino - works fine with Camino. yay !)
| Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #0)
> This is a more significant underlying issue, and in practical purposes I think
> it's unlikely to be hit much (but I'd like to hear from some of our
> non-Roman-script users/localizers, like Japanese and Russian, to be sure)
By which I meant to ask, how often are users going to be typing in Roman to start the autocomplete and then want to switch keyboards/input methods to finish the autocomplete using the non-Roman script part of the URL?
Comment 3•16 years ago
|
||
(In reply to comment #2)
> (In reply to comment #0)
>
> > This is a more significant underlying issue, and in practical purposes I think
> > it's unlikely to be hit much (but I'd like to hear from some of our
> > non-Roman-script users/localizers, like Japanese and Russian, to be sure)
>
> By which I meant to ask, how often are users going to be typing in Roman to
> start the autocomplete and then want to switch keyboards/input methods to
> finish the autocomplete using the non-Roman script part of the URL?
Might happen: type 'wiki' (as Wikipedia is called in Japanese), let it autocomplete, delete the last part if needed and start typing.
(assuming the autocomplete after 'wiki' doesn't bring up the desired page immediately, or within the first 5 results).
I'll have to ask my partner, but I suspect she'll just go to the search box on the Wikipedia page, if the URL she's looking for doesn't pop-up immediately.
Comment 4•16 years ago
|
||
(In reply to comment #3)
> I'll have to ask my partner, but I suspect she'll just go to the search box on
> the Wikipedia page, if the URL she's looking for doesn't pop-up immediately.
If the (Wikipedia) page doesn't pop up immediately in the dropdown: Cmd-option F (with Wikipedia search add-on) or google/yahoo.co.jp.
(The Wikipedia search box is not visible enough…)
| Assignee | ||
Comment 5•16 years ago
|
||
Just escapes the URI before sending it to the autocomplete backend. Smokey, could you please review this for correct behaviour, then send it to smorgan for sr?
Assignee: nobody → trendyhendy2000
Status: NEW → ASSIGNED
Attachment #358634 -
Flags: review?(alqahira)
| Reporter | ||
Comment 6•16 years ago
|
||
Comment on attachment 358634 [details] [diff] [review]
Fix v1.0
This is missing an implementation of escapedURI, so it doesn't build.
I think we should probably add to the comment to explain why we're escaping, too.
Attachment #358634 -
Flags: review?(alqahira) → review-
| Assignee | ||
Comment 7•16 years ago
|
||
Yeah, my bad. I'll hold off for now, and once the escapedURI method is in cvs (as part of Bug 464501) I'll revisit this patch.
Depends on: 464501
| Assignee | ||
Comment 8•16 years ago
|
||
Updated version to make the autocomplete behaviour the same as for escaped search strings (highlighting, canceling, arrow keys). Still depends on Bug 464501, but I'm uploading this patch now so I don't forget about it.
Attachment #358634 -
Attachment is obsolete: true
| Reporter | ||
Comment 9•16 years ago
|
||
We should also be sure to test against the site from bug 309226, http://日本語.jp/
| Assignee | ||
Comment 10•16 years ago
|
||
My work in 464501 has made this patch much simpler.
Attachment #387604 -
Attachment is obsolete: true
| Reporter | ||
Comment 11•15 years ago
|
||
These are P3 on the 2.1 list, but I think they're at the very bottom of hendy's to-do list.
Priority: -- → P3
Target Milestone: --- → Camino2.1
Comment 12•14 years ago
|
||
Pushing all the UTF-8 stuff out, since it's somewhat risky for this stage in the process.
Target Milestone: Camino2.1 → ---
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•