Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354288

Summary: Ctrl+Shift+U not working
Product: [Eclipse Project] Platform Reporter: madison.don06
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, eclipse.sprigogin, pwebster, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

Description madison.don06 CLA 2011-08-09 14:28:59 EDT
Build Identifier:  I20110613-1736

My Eclipse 3.7 is not responding to Shift+Control+U, although the menu
item "Search > Occurrences in File" works OK, and the key binding
looks right.

The last version I used was 3.5, which required hitting Shift+Control+U twice to get the desired effect (search for references to the selected identifier in the current file). In 3.2, Shift+Control+U worked with no additional keystrokes -- the additional keystrokes were apparently required with the introduction of the sub-menu under "Search > Occurrences in File" that let's you specify identifiers, methods, etc.

Reproducible: Always

Steps to Reproduce:
1. Open a java file
2. Move the cursor to a member variable.
3. Type Shift+Control+U -- nothing happens.
4. Type Shift+Control+U again -- nothing happens.
5. Chose menu item, Search > Occurrences in File > Identifier. The occurrences will be shown in the search view.
Comment 1 Sergey Prigogin CLA 2011-08-09 14:40:43 EDT
In addition to the reported problem, an attempt to bind Search All Occurrences in File command to Shift+Ctrl+U does not succeed. Once the Shift and Ctrl keys are released the contents of the Binding box change to underlined letter 'u' and no binding gets added on Apply.
Comment 2 Remy Suen CLA 2011-08-09 14:53:06 EDT
Is it correct to say that rebinding the key to something that's not Shift+Ctrl works?
Comment 3 Sergey Prigogin CLA 2011-08-09 15:12:31 EDT
(In reply to comment #2)
> Is it correct to say that rebinding the key to something that's not Shift+Ctrl
> works?

Only Shift+Ctrl+U does not seem to work. I tried a dozen of other Shift+Ctrl+letter combinations and they all were accepted when creating binding.
Comment 4 Dani Megert CLA 2011-08-10 02:30:23 EDT
> Only Shift+Ctrl+U does not seem to work. I tried a dozen of other
> Shift+Ctrl+letter combinations and they all were accepted when creating
> binding.

Maybe this key binding is already taken somewhere by the OS? Such key bindings never reach Eclipse.
Comment 5 Remy Suen CLA 2011-08-10 06:38:26 EDT
(In reply to comment #1)
> In addition to the reported problem, an attempt to bind Search All Occurrences
> in File command to Shift+Ctrl+U does not succeed. Once the Shift and Ctrl keys
> are released the contents of the Binding box change to underlined letter 'u'
> and no binding gets added on Apply.

Do you get this behaviour in your computer's other programs?
Comment 6 Sergey Prigogin CLA 2011-08-10 13:41:00 EDT
(In reply to comment #4)
> Maybe this key binding is already taken somewhere by the OS? Such key bindings
> never reach Eclipse.

Indeed, according to http://en.wikipedia.org/wiki/Unicode_input#In_Linux, Shift+Ctrl+U is the beginning sequence for Unicode input in KDE. I wish I knew how to disable it.