Closed Bug 319308 Opened 19 years ago Closed 18 years ago

Some upper case letters (diacritical characters) don't work when caps lock is on

Categories

(Core :: Widget: Win32, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: hubert+bmo, Unassigned)

References

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; pl; rv:1.8) Gecko/20051107 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl; rv:1.8) Gecko/20051107 Firefox/1.5

Some upper case letters (diactrical characters) doesn't work when:
1. Caps lock is on
2. You are using keyboard layout different than US.

Reproducible: Always

Steps to Reproduce:
1. Change your keyboard layout from US to other (PL QWERTY for example).
2. Turn on Caps Lock.
3. Open any form in Firefox or open a new message window in Thunderbird.
4. Try to type any text with diactrical characters (an example for PL QWERTY: "ZA¯Ó£Æ ¯Ó£T¡ GʦL").
Actual Results:  
(For PL QWERTY keyboard layout):
ZA¿ó³æ ¿ó³T± Gê¶L

(¯ --> ALT+Z - with right ALT pressed, type 'Z',
O --> ALT+O - with right ALT pressed, type 'O'
etc...)

Expected Results:  
(For PL QWERTY keyboard layout):
ZA¯Ó£Æ ¯Ó£T¡ GʦL

Tested on:
Firefox 1.5 pl, en-us,
Thunderbird 1.5 RC1 pl, en-us
Summary: Some upper case letters (diactrical characters) doesn't work when caps lock is on. → Some upper case letters (diactrical characters) don't work when caps lock is on
DIACRITICAL (not diactrical) characters don't work, of course ;)
Summary: Some upper case letters (diactrical characters) don't work when caps lock is on → Some upper case letters (diacritical characters) don't work when caps lock is on
Confirmed on: WinXP SP2, Tb 1.5 RC1 en-US.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirmed.
(Windows XP Pro SP2, Firefox 1.5 pl)
I don't know if it's related, we are several french having problems with Firefox 1.5 and a special keyboard driver to write Ç È or Œ... in Firefox 1.5 (and only here) the characters are not in capitals, it gives: ç è or œ.
This is Windows-only (Win9x/2000/XP), it WFMs on Mac and Linux.

This regressed between 2005-05-20 and 2005-05-21 (the 20050520 build is the last one when the Caps Lock + R_Alt is working correctly, the 20050521 is the first one to fail).

I suppose bug 285161 has caused this regression. In a comment in attachment 180184 [details] [diff] [review] it says:

+  // When pressing (alt|ctrl)+char, the char must be lowercase
+  // (regardless of Caps Lock or shift state).

while this is obviously not true:

Caps Lock off, R_Alt+a should result with ± (a-ogonek)
Caps Lock on,  R_Alt+a should result with ¡ (A-ogonek)
Caps Lock off, R_Alt+c should result with æ (c-acute)
Caps Lock on,  R_Alt+c should result with Æ (C-acute)

etc.
Keywords: regression
> Core, Widget/Win32
Component: Event Handling → Widget: Win32
Severity: normal → major
With patch for bug 287179 works as expected
Depends on: 287179
No longer depends on: 285161
Bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=304647">304647</a> is very similar.
*** Bug 340227 has been marked as a duplicate of this bug. ***
This was fixed by bug 287179 according to comment 7. ->FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
TEST: ZA¯Ó£Æ GʦL¡ JA¬Ñ.

Now looks good.

VERIFIED ON: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9a1) Gecko/20060918 Minefield/3.0a1
Status: RESOLVED → VERIFIED
The same problem with latest version of Firefox (2.0.0.2) - diacritical signs don't work properly with capslock.

Mozilla/5.0 (Windows; U; Windows NT 5.2; pl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
movzx: This has been fixed on trunk (Firefox/Thunderbird 3), but won't be fixed in the 2.0.0.x line.
You need to log in before you can comment on or make changes to this bug.