Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338788 - shift key release causes another '<' character to be typed on its key-up
Summary: shift key release causes another '<' character to be typed on its key-up
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-03-03 06:37 EST by pawell.piskorski CLA
Modified: 2018-07-06 13:39 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pawell.piskorski CLA 2011-03-03 06:37:51 EST
This happens to me often when I type 'template<' and find out that It actually says 'template<<'. The reason is that, apparently, in quick typing I tend to release shift before '<' key in which case the editor inserts another < when the key goes up. 
It seems to be like this in every text edit component. It certainly happens in code editor, but also in this bug-filling text box, etc.


-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L
Comment 1 Dani Megert CLA 2011-03-04 03:40:08 EST
> but also in this bug-filling text box, etc.
How did you file the bug (via Eclipse UI or browser)?
Comment 2 pawell.piskorski CLA 2011-03-04 05:05:25 EST
 . I used the bug reporting tool in eclipse (Eclipse IDE for C/C++ Developers, Helios SR1, build id 20100917-0715). As mentioned this seem to affect any Text GUI component, including code editor.
 . I am also able to reproduce this effect on Eclipse 3.5.2/Linux.
 . It doesn't reproduce on Windows + Helios Service Release 2 Build id: 20110218-0911

The easiest reproduction scenario I can think of is:
1. run Eclipse
2. go to Window/Preferences
3. in text filter text box quickly: 
    a. press and hold SHIFT key, 
    b. press and hold '<' key, "<" appears in the text box
    c. release SHIFT key, 
    d. release '<' key, "<<" appears in text box
Result I observe is "<<" string in the edit box, while I expect "<"
Comment 3 Eric Williams CLA 2018-07-06 13:39:52 EDT
I cannot reproduce this issue against SWT from master as of today, GTK3.22, and Fedora 28.