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 230995 - Switching application causes lag/freeze
Summary: Switching application causes lag/freeze
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: b2s
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-09 19:15 UTC by vaxquis
Modified: 2013-06-10 11:39 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 vaxquis 2013-06-09 19:15:21 UTC
After switching from NB IDE to another application, and then switching back by Alt+Tab or refocusing click, the IDE hangs for about 2-3 seconds before repainting the window or responding to the input.

NB 7.1 hasn't produced this on my machine and still works perfectly in this aspect, but in a clean install of 7.3 I got it from the very beginning.

Note: it doesn't happen immediately after IDE startup. It takes to open any project to let this actually happen (closing all the projects later has no effect, the lag is still there).
Comment 1 vaxquis 2013-06-10 11:15:07 UTC
I've been successfully able to pinpoint the source of the lag; it's caused by "History Clipboard" plug-in. Since it passed the verification for 7.3 ( http://plugins.netbeans.org/plugin/31336/history-clipboard ), there's obviously some corner case with either the IDE or the plug-in that lags on window repaint/refocus.

Other plug-ins from older versions I use work without any signs of any problems, though.
Comment 2 vaxquis 2013-06-10 11:18:15 UTC
Note: after disabling HC in 7.3/nightly (tested in both), everything seems OK. After re-enabling, it works OK until the first file from a project has been opened. In 7.1 HC works without any problems, though, so it's a regression of some kind IMO.

And strike through the part about 'clean install' of 7.3 - I clicked 'import old plug-ins' during the install, so I haven't really noticed something was changed vs vanilla IDE.
Comment 3 Petr Cyhelsky 2013-06-10 11:39:30 UTC
reassigning to third party, b2s can you please take a look at this?