Open Bug 1233948 Opened 9 years ago Updated 2 years ago

In Google Spreadsheet "Right-Alt + n" and "Right-Alt + e" do not produce "ń" and "ę" letters (polish locales)

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86_64
Windows
defect

Tracking

()

People

(Reporter: liberman1337, Unassigned)

References

Details

Attachments

(1 file)

In Google Spreadsheet, for polish keyboard layout (PL-pl) following keys combinations should result with particular diacritical signs:
* Right-Alt + o = ó (works fine)
* Right-Alt + Shift + o = Ó (works fine)
* Right-Alt + l = ł (works fine)
* Right-Alt + Shift + l - Ł (works fine)
* Right-Alt + n = ń (*does not work*) <----------
* Right-Alt + Shift + n = Ń (works fine)
* Right-Alt + e = ę (*does not work*) <----------
* Right-Alt + Shift + e = Ę (works fine)

Additional information: 
- ę & ń letters work in in formula bar (f(x): ...) 
- ę & ń letters work using combination: "Shift + ~, e" "Shift + ~, e"  
- ę & ń letters work using combination: ALT + 0234, ALT + 0241
- ę & ń letters works perfectly fine in other browsers
- problem confirmed on Windows 7 & Windows 8.1 at least since 2014-12-21
_ there are some unclear declarations that on "some" computers (Toshiba laptop) the problem doesn't occur

Problem has been work-around-ed by the following Greasemonkey script:
https://greasyfork.org/en/scripts/7765-polskie-znaki-w-arkuszach-google/code

More details described on Mozilla discussion board (Polish language):
http://mozillapl.org/forum/viewtopic.php?f=15&t=47003
See Also: → 1231313
I tested with some old versions of FF (8 & 17) on Win 7 and it doesn't work either.
Component: General → Keyboard: Navigation
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Why this bug has been closed as dupe?
Hi, 
Do you don't think that this bug has the same problem like bug 1231313? For me this looks like duplicate. Please reopen it if you think that they have different problems.
Flags: needinfo?(epinal99-bugzilla2)
Hi Liberman, 

Do you have this add-on installed on your Firefox?
https://addons.mozilla.org/ro/firefox/addon/open-tabs-next-to-current/
Flags: needinfo?(liberman1337)
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
(In reply to ovidiu boca from comment #5)
> Hi Liberman, 
> 
> Do you have this add-on installed on your Firefox?
> https://addons.mozilla.org/ro/firefox/addon/open-tabs-next-to-current/

Hi ovidiu boca,

I don't have that add-on. What's more the problem occurs even after launching FF by "Restart with Add-ons disabled..." - so I assume it's not the case of any add-on.
Hi,

I found a bug that looks like this one and the problem was a add-on so I thought you have the same problem.
Please describe the exact steps that you are doing to reproduce this bug. 

Can you please create a new profile, you have the steps here:https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager
Also please download the Firefox Nightly from here: https://nightly.mozilla.org/ and retest the problem.
Problem reproduced on 
FF: Nightly 46.0a1 (2015-12-27) x64 + fresh profile + add-ons disabled. 
OS: Windows 10 x64

Steps to reproduce:
1. launch Firefox
2. set keyboard layout in Windows settings (eg. language bar) to: "Polish (Programmers) keyboard"
--> Note: it is US keyboard + Polish diacritical signs made by: Alt Gr + e, o, a, s, l, z, x c, n
3. open any google spreadsheet document (google profile needed)
4. set focus on any, empty spreadsheet cell (entering the edit mode or not - doesn't matter)
5. press: Alt Gr + e (Alt Gr + n)

6a. Expected result: letter "ę" ("ń") written in the cell
6b. Occurring result: no effects (the cell remains empty it even don't switch to edit mode)
Flags: needinfo?(liberman1337)
Build ID 	20151227030239
User Agent 	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0


Hi Liberman,

I have tested this on Windows 10 x64 with Nightly 46.0a1 and it works for me, this are some examples: ęę ąą ńń. 
Can you please attach a screen recorder? Please use this link https://screencast-o-matic.com/home
Thank you for your time.
Flags: needinfo?(liberman1337)
Flags: needinfo?(liberman1337)
Build ID 20151227030239
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0


I can reproduce this bug on Win 10 with FF Nightly 46.0a1.
Status: REOPENED → NEW
Version: 43 Branch → 46 Branch
If it works on "some" machines it seems we came across a nasty "random" case :( 
I've checked a few more ideas but still have no answer - maybe you will figure out something from those information:
- reproduced on "almost" clean installation of Windows Vista x86 (different hardware; by Lenovo)
- third party software existing on both configurations:
-- plugins: Flash & Silverlight -> removed; no improve
-- SMPlayer -> removed; no improve
-- plugins: OpenH256 -> deactivated; no improve
-- Skype -> not verified
- spreadsheet settings (display language + locale) -> no improve

I have no idea what else "environmental" factors could be verified :/ 

BTW I've also checked the bug marked as a duplicate:
https://bugzilla.mozilla.org/show_bug.cgi?id=1231313

it works fine for me and seems not to be connected in any way with this bug ("ț problem" occurred in any input window whereas "ęń problem"  is specific for google spreadsheets). 

It seems like the source of the problem would be located somewhere in Firefox JS engine and its handling of spreadsheet cell control used in google spreadsheets. Because the following JS code fixes the problem:
document.addEventListener('keydown', function(e) {
     if((e.keyCode==69 || e.keyCode==78) && e.altKey)  // 'ę' || 'ń'
     {
       e.stopImmediatePropagation();
       e.stopPropagation();
       return;
     }
  }, true);

Worth to notice that it works besides situation when ę/ń is the very first letter written to the cell (the one which would switch the cell in edit mode).
Flags: needinfo?(epinal99-bugzilla2)
Version: 46 Branch → Trunk
Component: Keyboard: Navigation → User events and focus handling
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: