Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#138 closed Bug (fixed)

<Right ALT> + <S> works like <CTRL> + <ALT> + <S>

Reported by: kojot@… Owned by:
Priority: Normal Milestone: FCKeditor 2.4.1
Component: General Version: FCKeditor 2.4
Keywords: SF Confimed Cc:

Description

This bug appears in demo of FCKeditor. When I press right ALT + s (to get polish diacritic) editor is calling save action (Save action should be executed on pressing CTRL + ALT + s).

Test parameters was:

User Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

Browser Netscape 5.0 (Windows; pl)

Platform Win32

User Language pl

Attachments (3)

test_params_ie7.jpg (30.3 KB) - added by kojot 9 years ago.
test params for ie7
test_params_ff2002.jpg (21.1 KB) - added by kojot 9 years ago.
test params for ff 2.0.0.2
param_view_opensuse_ff.jpg (17.8 KB) - added by kojot 9 years ago.
opensuse firefox about window view

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by fredck

  • Reporter changed from fredck to kojot@…

comment:2 Changed 9 years ago by fredck

I'm not able to reproduce it with FF2. It seams to be a Netscape related issue (not confirmed yet).

Changed 9 years ago by kojot

test params for ie7

Changed 9 years ago by kojot

test params for ff 2.0.0.2

comment:3 follow-up: Changed 9 years ago by kojot

I've added screenshots of test parameters. Same action appears in IE7.

I've checked it again. Right Alt + s produce save action but Left Alt + s - don't (in both browsers).

I've asked my friend to test it in linux. Test parameters also added as screenshot. There's no problem there - Right Alt + s produce correct letter.

Maybe it's something with Windows keyobard settings (my setting is Polish (programmer))?

comment:4 in reply to: ↑ 3 Changed 9 years ago by anonymous

I've asked my friend to test it in linux. Test parameters also added as screenshot.

Huh - It was impossible to show test parameters in fck in standard way. Popup view attached.

Test was opensuse 10.2, Mozilla/5.0 (X11; U; Linux i686 (x86_64); pl-PL; rv:1.8.1.2pre) Gecko/20061023 SUSE/2.0.0.1-0.1 Firefox/2.0.0.2pre

Changed 9 years ago by kojot

opensuse firefox about window view

comment:5 Changed 9 years ago by fredck

  • Keywords Confimed added
  • Milestone set to FCKeditor 2.4.1
  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from ALT + S works like only CTRL + ALT + S should to <Right ALT> + <S> works like <CTRL> + <ALT> + <S>

I've made a deeper investigation about this issue.

The fact is that the <Right Alt> key, in some keyboard layouts (like Polish), is defined as the <AltGr> key, which is equivalent to <Ctrl> + <Alt> on Windows OSs.

From Wikipedia (http://en.wikipedia.org/wiki/AltGr_key#Function):

"On those keyboard layouts having a defined AltGr key, it is equivalent to holding down the Ctrl and Alt keys together ..."

Some notes regarding the Polish keyboard may also be found there:
http://en.wikipedia.org/wiki/AltGr_key#Polish

The following PDF has also more info at its page 10:
http://www.microsoft.com/globaldev/handson/dev/Unicode-KbdsonWindows.pdf

So, this is something out of our control. A fix for it would be quite simple tough. You just need to remove, or change, the following keystroke combination in the fckconfig.js file:

[ CTRL + ALT + 83 /*S*/, 'Save' ],

Based on the above research, we'll are changing the default combination to CTRL + SHIFT + S.

Fixed with [171].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy