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 49947 - Toolbar customization - copy&paste produces duplicate items
Summary: Toolbar customization - copy&paste produces duplicate items
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-10-05 14:53 UTC by Roman Strobl
Modified: 2008-12-22 23:59 UTC (History)
0 users

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 Roman Strobl 2004-10-05 14:53:57 UTC
[Netbeans 200410031800; JDS v.2; JDK 1.5.0]

When I try to copy&paste some of the items in
Tools->Options->IDE Configuration->Look And
Feel->Toolbars the paste may produce duplicit
items. Thus, two new tooblar items appear instead
of one. 

This happens randomly, I'll try to find any time
or action dependence for the occurence of this
bug. It happens with approx. 10% probability.
Comment 1 David Simonek 2004-10-21 14:10:28 UTC
Any news?
Comment 2 Roman Strobl 2004-10-21 14:14:20 UTC
Yes, there are many news :-) But not with this issue, it still happens
randomly. This time it happened to me the first time I've tried it. If
you want to see it you can drop by and I will show you.
Comment 3 David Simonek 2005-01-19 15:05:51 UTC
Passing to Stan to distribute bugs evenly. Thanks Stane :-)
Comment 4 Stanislav Aubrecht 2005-03-11 09:02:12 UTC
fixed 

Checking in windows/src/org/netbeans/core/windows/services/ActionPasteType.java;
/cvs/core/windows/src/org/netbeans/core/windows/services/ActionPasteType.java,v
 <--  ActionPasteType.java
new revision: 1.2; previous revision: 1.1
done
Checking in windows/src/org/netbeans/core/windows/services/MenuFolderNode.java;
/cvs/core/windows/src/org/netbeans/core/windows/services/MenuFolderNode.java,v 
<--  MenuFolderNode.java
new revision: 1.5; previous revision: 1.4
done
Checking in windows/src/org/netbeans/core/windows/services/ToolbarFolderNode.java;
/cvs/core/windows/src/org/netbeans/core/windows/services/ToolbarFolderNode.java,v
 <--  ToolbarFolderNode.java
new revision: 1.8; previous revision: 1.7
done
Comment 5 Roman Strobl 2005-03-11 14:37:28 UTC
The fix was not successful, I can still reproduce the issue.
Comment 6 Roman Strobl 2005-03-11 14:40:10 UTC
Oops, sorry, I was verifying the issue in a different version of NetBeans
(thought it was a continuous build). So it is fixed by disabling the paste
action, ok.
Comment 7 Roman Strobl 2005-03-11 14:40:49 UTC
Verified in 20050311-1239.
Comment 8 Jesse Glick 2005-03-26 18:07:40 UTC
Correcting quite misleading summary. :-)