﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16848	Selecting all triggering on certain characters	Mark Wade		"== Steps to reproduce ==

1. Be on Windows and a Webkit browser
2. Position the cursor in such a way that pressing Ctrl+A will, using the code added in https://github.com/ckeditor/ckeditor-dev/commit/c08aa2ca61a7119f56a9805a8b959ffa83f38457, select all editor contents
3. Press Ctrl+*Alt*+A

== Expected result ==

Ctrl+Alt+A is used to enter the character ą on a US keyboard layout. The ą character should be inserted.

== Actual result ==

The editor's contents are selected.

== Other details (browser, OS, CKEditor version, installed plugins) ==

Suggested fix (which actually probably explains the issue better than the above description)

plugins/widgetselection/plugin.js

Change:

```
if ( evt.data.getKey() == 65 && ( CKEDITOR.env.mac && data.metaKey || !CKEDITOR.env.mac && data.ctrlKey ) ) {
```

To add a `!data.altKey` check on Windows.

```
if ( evt.data.getKey() == 65 && ( CKEDITOR.env.mac && data.metaKey || !CKEDITOR.env.mac && data.ctrlKey && !data.altKey ) ) {
```"	Bug	pending	Normal		General				
