Open
Bug 425900
Opened 17 years ago
Updated 2 years ago
[CTL] Should not allow non-base Thai character as first character in textfield / textarea
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: arthit, Unassigned)
References
Details
(Keywords: inputmethod, intl)
BugAThon Bangkok
Found on Mac OS X and Linux ( Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4) Gecko/2008031317 Firefox/3.0b4 )
Works fine with Windows.
Currently, in Firefox 3 Beta (Mac OS X and Linux), textfield/textarea allow input that
starts with non-base Thai character (like upper/lower vowels, or some special symbols),
this behavior will lead at least two anomalies:
Bug 421275 – Thai above and below vowels display incorrectly in URL bar
Bug 157534 – Edit->Find in Page found substring in Thai display cell, but it shouldn't be
(more strange behavior of this Bug 157534 is that, since Firefox/Gecko will not highlight single lone non-base character -- user will see that Find bar report that it found a search string, but he will not see any highlighted text as expected).
We propose that textfield/textarea should not allow user to enter any non-base Thai character at the start of string.
i.e. do sequence checking.
Bug 421275 and Bug 157534 will be closed, all CCs will be moved here.
Comment 1•17 years ago
|
||
Obviously, this can be solved by fixing Bug 353776.
Component: Layout: CTL → Layout: Text
QA Contact: arthit → layout.fonts-and-text
Comment 2•15 years ago
|
||
As Bug 353776 has been fixed, this bug is supposed to be gone.
Could somebody verify it?
Comment 3•14 years ago
|
||
This problem is solved in Firefox 4.0b8pre with Ubuntu 10.10 .
Comment 4•14 years ago
|
||
Artit confirmed it still exists on Mac. Is this something that we're using OS libraries to determine?
Comment 5•14 years ago
|
||
But I think it should not allow "า" "ะ" "ำ" "ๆ" "ฯ" too because no thai words are start with this vowel. (this has solved in body and search bar but it's still not solved in address bar and find bar.)
Comment 6•14 years ago
|
||
(In reply to comment #5)
> But I think it should not allow "า" "ะ" "ำ" "ๆ" "ฯ" too because no thai words
> are start with this vowel. (this has solved in body and search bar but it's
> still not solved in address bar and find bar.)
This part is not yet fixed on Ubuntu, and still applies to Mac/Win.
Comment 7•14 years ago
|
||
(In reply to comment #4)
> Artit confirmed it still exists on Mac. Is this something that we're using OS
> libraries to determine?
Ah, yes. The fix for Bug 353776 is on GTK+ only. We need more work for Mac.
Comment 8•14 years ago
|
||
(In reply to comment #5)
> But I think it should not allow "า" "ะ" "ำ" "ๆ" "ฯ" too because no thai words
> are start with this vowel. (this has solved in body and search bar but it's
> still not solved in address bar and find bar.)
This is IME dependent. For example, one can achieve this for "ะ", "า", "ำ" using Strict XIM on X:
$ LC_CTYPE=th_TH.UTF-8 XMODIFIERS=@im=Strict GTK_IM_MODULE=xim firefox
Comment 9•14 years ago
|
||
Thanks for your comments!
(In reply to comment #7)
> (In reply to comment #4)
> > Artit confirmed it still exists on Mac. Is this something that we're using OS
> > libraries to determine?
>
> Ah, yes. The fix for Bug 353776 is on GTK+ only. We need more work for Mac.
If you understand what needs to be done, can you file a new bug for fixing this issue on Mac?
(In reply to comment #8)
> This is IME dependent. For example, one can achieve this for "ะ", "า", "ำ"
> using Strict XIM on X:
>
> $ LC_CTYPE=th_TH.UTF-8 XMODIFIERS=@im=Strict GTK_IM_MODULE=xim firefox
Is this something we should fix in our launching script on Linux? If so, can you file a new bug for that?
Comment 10•14 years ago
|
||
(In reply to comment #9)
> (In reply to comment #8)
> > This is IME dependent. For example, one can achieve this for "ะ", "า", "ำ"
> > using Strict XIM on X:
> >
> > $ LC_CTYPE=th_TH.UTF-8 XMODIFIERS=@im=Strict GTK_IM_MODULE=xim firefox
>
> Is this something we should fix in our launching script on Linux? If so, can
> you file a new bug for that?
No. It's rather user's preference, depending on what they are using. There can be other kinds of input method frameworks, such as SCIM and iBus. All have different methods to configure. What I meaned to say was that it's not Firefox's functionality. Out of scope here.
Comment 11•14 years ago
|
||
Ok. Should we contact the common input method frameworks and ask them to turn on strict by default for Thai, so that things work correctly by default for normal users?
Comment 12•14 years ago
|
||
I repeat that it's rather user's preference. Normally, people don't like the input method to be too picky, or they won't be able to type some deliberately non-canonical sequences. For example, when one tries to quote a single vowel when discussing Thai orthography, strict check would block them from typing independent "า" with quotation. And there can be other examples like this.
People tend to be happier to take control, while the basic check helps prevent common mistakes. So, I think it's more optimal as the default. Strict check can be annoying and should only be enabled for people who really want it.
Comment 13•14 years ago
|
||
Ah ok. I thought it might be a situation where the normal user wouldn't be aware of this type of setting.
It sounds like this should be WONTFIX.
Updated•14 years ago
|
Keywords: inputmethod
Comment 14•14 years ago
|
||
This is currently assigned to Prabhat Hegde of Sun. Is Prabhat still active? Should this be marked WONTFIX as Dietrich suggested in Comment 13?
Comment 15•14 years ago
|
||
(In reply to comment #14)
> This is currently assigned to Prabhat Hegde of Sun. Is Prabhat still active?
> Should this be marked WONTFIX as Dietrich suggested in Comment 13?
I think the bug still exists on Mac (comment #4).
Comment 16•14 years ago
|
||
The bug still exists on Mac (Firefox nightly 4.0b11pre 2011-01-30)
Comment 17•14 years ago
|
||
Theppitak, you said in the comments above that this can't be fixed in Firefox, since it's the IME configuration not Firefox that controls this, and that users control that.
If that's true, then this bug is WONTFIX.
Comment 18•14 years ago
|
||
(In reply to comment #17)
> Theppitak, you said in the comments above that this can't be fixed in Firefox,
> since it's the IME configuration not Firefox that controls this, and that users
> control that.
>
> If that's true, then this bug is WONTFIX.
That was an answer to a different question. In comment #5, Kamonpop asked for more strict filtering than the default, and I said that's configurable. But the main issue of this bug still requires surrounding text support on Mac to achieve even the default.
Comment 19•14 years ago
|
||
Ah ok, I thought comment #10 was about all base characters.
Theppitak: So does this bug need to do for Mac widgets what you did for gtk in bug 353776?
Comment 20•14 years ago
|
||
(In reply to comment #19)
> Theppitak: So does this bug need to do for Mac widgets what you did for gtk in
> bug 353776?
Yes. We need someone to work on it for Mac.
Comment 21•14 years ago
|
||
Should we close this an file a new bug for Mac?
Comment 22•14 years ago
|
||
(In reply to comment #21)
> Should we close this an file a new bug for Mac?
I think that's a good idea. Please comment in this bug to point to the new bug number so those who want to follow the new one can. Masayuki may end up being the person to fix the new bug you will file.
Comment 23•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: prabhat.hegde → nobody
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•