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 42829 - Paste sets selected node and refreshes toolbars once for each file pasted
Summary: Paste sets selected node and refreshes toolbars once for each file pasted
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-05-05 11:10 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
2 users (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 _ tboudreau 2004-05-05 11:10:47 UTC
Open an existing J2SE project and copy files to the clipboard.
Create a new J2SE project and paste the files into its sources 
node.

What what happens to the Edit toolbar icons - they flash 
repeatedly - it appears that each file is pasted atomically and 
briefly changes the selected node.  The selected node should 
only be affected at the end of the paste operation - this is just 
doing lots of extra work for no reason.
Comment 1 Jaroslav Tulach 2004-08-05 15:56:25 UTC
The reason why the editor icons blink is very likely in the fact that
after a copy is done, the java source is post processed in memory
(becomes modified) which enables Save All action. Then the source is
saved and another processed which results in blinking. There is hardly
anything core could do with this. This is all in hands of java module. 

Possible fix is to disable this behaviour (maybe already done due to
refactoring changes) or modify all the copied files and save all of
them at once.
Comment 2 Jan Becicka 2004-08-05 16:18:43 UTC
I'm sorry, I don't see any blinking. Please reopen this issue if you
can reproduce it in promo-D. It is possible, that this issue is Mac OS
X specific (Tim?) but OS of this issue is All and I cannot reproduce
it on my Windows machine -> WORKSFORME