Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358365 - ALT GR Key forces Undo
Summary: ALT GR Key forces Undo
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Daniel Wiehl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 03:58 EDT by Fabian Laubacher CLA
Modified: 2021-08-19 11:31 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Laubacher CLA 2011-09-21 03:58:31 EDT
Build Identifier: 

ALT GR + Z Key (for special Character Z) forces Undo

Reproducible: Always

Steps to Reproduce:
Press ALT GR and Z -> Forces Undo
Comment 1 Daniel Wiehl CLA 2011-09-21 05:38:13 EDT
21.09.2011 dwi
BSI ticket #106'282
Bugzilla ticket #358365
Problem:
If special characters represented by 'AltGr' + 'z' or 'AltGr' + 'y' are inserted into a textfield, the undo or redo action
is perfomred instead of simply insert this special character.
Solution:
To properly intercept Ctrl-Z/Ctrl-Y keystrokes, it is not sufficient to only test for the 'Ctrl'-key being pressed.
Additionally, it must be checked that the 'Alt' key is not pressed. Otherwise, if heading for a special character
represented by 'Alt-Gr' + 'Z', that would result in an unwanted undo event.
That is because on Windows systems, the key 'Alt Gr' is composed of both of the keys, 'Ctrl' and 'Alt', respectively.
Plug-Ins changed:
- org.eclipse.scout.rt.ui.swing [UndoableEditObserver.class]
Migration:
None
Comment 2 Matthias Zimmermann CLA 2011-10-11 02:58:07 EDT
shipped with 3.7.1