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 238714

Summary: 28s - getting content from clipboard in EDT in editor
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: arthurhsieh, dathyrius
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202796
Attachments: nps snapshot

Description Exceptions Reporter 2013-11-22 18:49:13 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.65-b04-462, Java(TM) SE Runtime Environment, 1.6.0_65-b14-462-11M4609
OS: Mac OS X

User Comments:
GUEST: Pasting from Microsoft Word for Mac

GUEST: Pasting



Maximum slowness yet reported was 28263 ms, average is 17333
Comment 1 Exceptions Reporter 2013-11-22 18:49:15 UTC
Created attachment 142495 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2013-11-26 13:52:34 UTC
The call goes from JEditorPane action:
org.netbeans.editor.BaseKit$PasteAction$1.run()	16s
org.openide.actions.PasteAction probably reschedules the paste outside of EDT. The basekit action could possibly use ProgressUtils.runOffEDT....