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 8930 - Standard.xml toolbar config always written to disk
Summary: Standard.xml toolbar config always written to disk
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-12-16 16:29 UTC by Jesse Glick
Modified: 2008-12-22 20:34 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 Jesse Glick 2000-12-16 16:29:53 UTC
Whenever the IDE is started, the Standard.xml toolbar configuration (used e.g.
on the Editing workspace which is visible by default; more generally, probably
"the currently active toolbar config") is written to disk as
$nbinstall/system/Toolbars/Standard.xml, though defined in the core layer. This
happens even when the user does not touch the toolbars (does not rearrange them
etc.) and the written-out XML file is essentially the same as the core layer's
version (minus license comments and so on). This is not much of a problem by
itself but it means that if the IDE core is upgraded and the default toolbar
configuration has been changed, no user will get the upgraded version unless
they clean out their system/ directory some first.

[trunk Dec 12 '00]
Comment 1 Jan Chalupa 2001-03-12 09:33:25 UTC
Version: 'Dev' -> 3.2
Comment 2 Vitezslav Stejskal 2001-04-12 12:50:34 UTC
Couldn't reproduce on Linux RH 6.2 and Win2K (Nb 3.2 RC1, Dev-166, JDK 1.3). 
Reopen it, if it still remains on your box and please attach versions of IDE, 
JDK, OS.
Comment 3 Jesse Glick 2001-04-12 16:26:37 UTC
Yes, I think this was fixed at some point.
Comment 4 Jesse Glick 2001-04-13 18:11:46 UTC
Sorry, but no. Still observed in [release32 apr 13], JDK 1.3 Linux.

I run with -Dnetbeans.windows.small_main_window=true, and definitely am not
touching anything toolbar-related beyond that. I sometimes get annoyed and
delete Standard.xml from my ~/nbuser32/system/Toolbars/ directory, but when I
restart the IDE it is written again.
Comment 5 Jan Chalupa 2001-05-05 20:30:36 UTC
Target milestone -> 3.3
Comment 6 mslama 2001-05-15 15:04:46 UTC
I think this was fixed when I fixed issue #10196. Can you please check it with
latest build? (It was fixed in both 3.2 and main trunk.
Comment 7 mslama 2001-05-15 15:10:25 UTC
I checked that in dev build and there is not any Toolbars directory now. It is
written only when user changes toolbar configuration (eg.enable/disable
toolbar). If you find any problem please reopen it.
Comment 8 Quality Engineering 2003-07-01 15:51:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 9 Quality Engineering 2003-07-01 16:45:16 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.