This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 200144 - Quick fix menu doesn't work properly
Summary: Quick fix menu doesn't work properly
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Lahoda
URL: http://wiki.netbeans.org/TS_60_Refact...
Keywords:
Depends on:
Blocks: 201365
  Show dependency tree
 
Reported: 2011-07-14 15:28 UTC by ttokoly
Modified: 2012-08-01 13:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ttokoly 2011-07-14 15:28:43 UTC
Product Version: NetBeans IDE 7.0.1 (Build 201107102202)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Linux version 2.6.35-30-generic running on i386; UTF-8; en_US (nb)

1. Unzip a project Refactoring to some work directory - there is link:
http://wiki.netbeans.org/wiki/images/0/0e/Refactoring_TS_60_Refactoring2.zip
2. Start IDE with a clean userdir
3. Invoke File | Open Project... action
4. Select unzipped project Refactoring
5. Scanning structure of project should be performed (it takes a while)

6. Open file packageA.ClassA
7. Select the code form mark //3 to //4
8. Open quick fix menu (alt-enter) and invoke "Introduce Method..." hint

If you invoke it by clicking a mouse on it, everything is alright and Introduce Method dialogue is shown. But if you press enter, selected code from step 7. is erased and replaced by new line, so it seems that the focus is in the editor and not in quick fix menu. But you can scroll in menu by arrows.
Comment 1 Jan Lahoda 2011-08-30 13:08:53 UTC
The missing piece to the puzzle is that this probably only happens with non-default and/or non-US keyboard layout.

http://hg.netbeans.org/jet-main/rev/1c403ce0654f
Comment 2 Quality Engineering 2011-09-01 14:19:59 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1c403ce0654f
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #200144: when detecting enter, all post-6 extended modifiers are ignored, so that Enter does work on national keyboards
Comment 3 ttokoly 2012-08-01 13:31:23 UTC
Product Version: NetBeans IDE Dev (Build 201208010001)
Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b07
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)

Virified, thanks.