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.
Summary: | IDE locks up after using CutToLineBeginOrEndAction | ||
---|---|---|---|
Product: | java | Reporter: | limo42 <limo42> |
Component: | Editor | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P1 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
var/log/uigestures
JVM thread dump |
Created attachment 113671 [details]
JVM thread dump
org.netbeans.modules.java.editor.imports.ClipboardHandler verified in trunk marking as Fixed again, I've reopened it by accident sorry The attached patch seems to be OK. Great that this one has been fixed so quickly! Many thanks to all involved. Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/212a8932d741 User: Jan Lahoda <jlahoda@netbeans.org> Log: #205733: Preventing deadlock when using the CutToLineBeginOrEndAction. verified Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/abb5e6c4aae2 User: Jan Lahoda <jlahoda@netbeans.org> Log: #205733: Preventing deadlock when using the CutToLineBeginOrEndAction. |
Created attachment 113670 [details] var/log/uigestures Editing Java files, using the emacs keymap, if Ctrl-K and Ctrl-L are accidentally being pressed simultaneously, then in most cases the IDE locks up (AWT event queue blocks): no more repaints, edited files are lost. The uigestures file records two actions, org.netbeans.editor.ActionFactory$CutToLineBeginOrEndAction and org.netbeans.modules.java.editor.imports.ClipboardHandler$JavaCutAction being invoked at (nearly) the same time.