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 20261 - cvs environment dialog
Summary: cvs environment dialog
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-07 14:39 UTC by drscott
Modified: 2003-07-01 13:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
before close/reopen (4.76 KB, image/gif)
2002-02-07 16:12 UTC, drscott
Details
after close/reopen (4.79 KB, image/gif)
2002-02-07 16:13 UTC, drscott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description drscott 2002-02-07 14:39:53 UTC
There are very strange bugs in the 'Customizer Dialog' of cvs-filesystem:

Go to the 'Environment' tab pane.
Add these variables (in that order):

SystemDrive -> C:
SystemRoot  -> C:\blabla
HOME        -> C:\foo

Now, close and reopen the dialog. The values are totaly mixed...

Now, delete all the self-defined variables and the close and reopen again:
Some variables are still there...

There's also something strange with the 'system environment variables' (lower 
part of the dialog):

1. deselect all variables and then
2. reselect some of them (memorize them)
3. close and reopen dialog
4. totaly different variables are now selected...

Maybe the sorting of the tables is important to reproduce these errors... ?
Comment 1 drscott 2002-02-07 14:42:57 UTC
NOTE: This is a bug of version 3.3.1.
But i was not able to select this version in the listbox, so i 
choose 'current'...
Comment 2 Martin Entlicher 2002-02-07 15:54:05 UTC
Well, you're right there is some problem in association of variable
name to it's value when there are more than 2 user-defined variables.

However I was not able to reproduce the last part of the problem with
different selection in system environment variables. After the dialog
is closed/opened, all selection disappears.
Comment 3 drscott 2002-02-07 16:07:34 UTC
ok, maybe i was not clear, so i try to attach two screenshots:

1. screenshot: situation before close/reopen (i deactivate every 
second position...)
2. screenshot: situation after close/reopen

Comment 4 drscott 2002-02-07 16:12:39 UTC
Created attachment 4604 [details]
before close/reopen
Comment 5 drscott 2002-02-07 16:13:30 UTC
Created attachment 4605 [details]
after close/reopen
Comment 6 Martin Entlicher 2002-02-07 16:35:26 UTC
Ahh I see. Thanks for the screenhots. I was able to reproduce it as
well. I'll look at it.
Comment 7 Martin Entlicher 2002-02-10 17:20:02 UTC
All problems in editing environment variables are fixed in dev build
Feb 11. The mix of rows was caused by sorting of both tables and not
adjusting the indexes accordingly.

Comment 8 Jiri Kovalsky 2002-02-12 15:13:35 UTC
Verified in development build of NetBeans 3.4 #200202120100 and also
changing version numbers as submitter desired. However could you
Martin change the default selection mode to
ListSelectionModel.SINGLE_SELECTION if there is some problem with
deleting multiselection of variables :-) ?
Comment 9 Martin Entlicher 2002-02-22 16:51:18 UTC
Adding 3.3.2_CANDIDATE keyword. This bug makes the environment tables
nearly unusable.
Comment 10 Martin Entlicher 2002-02-22 16:59:46 UTC
Fixed in orion_ea branch in files:
/cvs/vcscore/src/org/netbeans/modules/vcscore/util/TableSorter.java
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.java
Comment 11 Martin Entlicher 2002-04-08 10:38:59 UTC
Changing target milestone to FFJ 4.0, since it should be fixed there.
Comment 12 Jiri Kovalsky 2002-04-08 11:55:43 UTC
Confirming as fixed in today's development build #020407 of Forte for
Java, Community Edition 4.0
Martin, could you change the selection mode at least in trunk, please
? See my comment on 2002-02-12. Thanks.
Comment 13 Martin Entlicher 2002-04-08 13:09:52 UTC
Well, the deletion of multiselection of variables should be
implemented (IMHO rather than allowing only single selection). I'll
take a look at it, thanks for the reminder :-)

Comment 14 Quality Engineering 2003-07-01 13:04:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.