Page MenuHomePhabricator

AltGr+M doesn't create a µ
Closed, ResolvedPublic

Description

On [[German keyboard layout]] [[AltGr]] + [[M]] generates [[µ]].

When Universal Language Selector is enabled this doesn't work.


Version: master
Severity: normal
URL: https://github.com/wikimedia/jquery.ime/issues/174

Details

Reference
bz45149

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:38 AM
bzimport set Reference to bz45149.

What are exact steps to reproduce this, and your system setup?

Switching to German keyboard layout, logging in on mediawiki.org, clicking ULS at the top to get the "Select Language" dialog, and pressing "Alt Gr+m", I get µ in the search field.
Firefox 18.0.2 on Fedora 18.

Setup:

Browser:

  • Firefox
  • Chrome
  • Internet Explorer 8
  • Opera

OS:

  • Windows 7 with German keyboard layout

Input box:

  • search box or
  • every other input box with ULS enabled

The input box has a keyboard icon on the right bottom corner. When you open the dialog you get among other things the option: "Disable input method CTRL+M".

!event.altKey

Simple patch. Works for me in Firefox, Internet Explorer, Chrome and Opera on Windows 7.

Attached:

prageck wrote:

Hi,

I tried to reproduce this bug on Windows 7 and Ubuntu 12.10. Pressing AltGr+M gives µ on Ubuntu 12.10 but not on windows 7.

The patch that Fomafix suggested fixes this bug on Windows 7.

I have submitted the patch in https://github.com/wikimedia/jquery.ime/pull/175

Now that I re-read the bug report, I think that this was already fixed in commit: https://github.com/wikimedia/jquery.ime/commit/c903a0146d0e14c6a041aab71715a88307da7261

Fomafix, can you please re-test it now at translatewiki.net?

The bug is still present in translatewiki.net with Firefox in Windows 7. Even with

if ( !altGr && replacement === input ) {

return true;

}

OK, got it. I merged it upstream. Will be merged in Gerrit soonish. Thanks for the fix and the clarification.

Can you confirm whether the fix resolve the issue?

Now it works on translatewiki with Firefox on Windows 7 with German keyboard layout.

Thanks for the verification, Fomafix.