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 8537 - [REGRESSION]"Set Watch" command doesn't remember actions that have been set to watch.
Summary: [REGRESSION]"Set Watch" command doesn't remember actions that have been set t...
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: Other Other
: P3 normal (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-23 09:39 UTC by Jiri Kovalsky
Modified: 2001-07-20 20:47 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 Jiri Kovalsky 2000-11-23 09:39:10 UTC
Build 1159b on Windows 2000/NT, Solaris 5.8, Red Hat Linux 6.2 (all JDK 1.3)

Description:
============
"Set Watch" command should find out which actions have been already set for
selected file and check appropriate check-boxes before opening "Set Watch
on ..." dialog. Now it looks like setting watches wasn't successful because
whenever dialog is shown all check-boxes inside are unchecked. Due to this user
might feel a little confused.

Steps to reproduce:
===================
1. Mount already existing CVS filesystem or create brand new one.
2. Select arbitrary [Up-to-date] file and invoke "CVS/Watches/Set Watch" action
   from its popup menu. Check all three check-boxes and click "OK".
3. Now invoke "Set Watch" once again and you will see unchecked check-boxes.
Comment 1 Jiri Kovalsky 2000-12-08 15:14:59 UTC
BUG also appears in version : FFJ20
Comment 2 Martin Entlicher 2001-01-29 20:33:59 UTC
Fixed in dev build #114.
Comment 3 dmladek 2001-02-04 11:54:59 UTC
Fixed in dev builds.
--
Note -> BUG also appears in version : FFJ20
Comment 4 Jiri Kovalsky 2001-02-08 11:27:59 UTC
I have to unfortunately reopen this bug because it was fixed only half a way. I
mean the case if user wants to set watches on multiselection of files. There are
several messages printed into the console and possibly they cause that only the
first selected file is processed correctly. Follow this procedure:

1. Set say "Edit" watch for A_File and "Commit" watch for B_File.
2. Now select both files and invoke "CVS|Watches|Set Watch" command.
3. Setting dialog for the first file will show up. Don't check anything and just
   click "OK" button.
4. You should see messages in the console and another file will lose its watches
Comment 5 Martin Entlicher 2001-02-09 17:47:59 UTC
Hopefully finaly fixed. It worked before, but when running more cvs commands in
the same folder, cvs.exe waits for each other for 10s and then tries again. This
is the reason, why you probably didn't notice the change.
Now commands are synchronized before actual execution, therefore there are no
more delays by cvs.exe.
Comment 6 dmladek 2001-05-30 18:41:26 UTC
I'm sorry I must reopen this bug.
in [NBdev-199] this doesn't work again.
in [NB32] works fine.
Comment 7 dmladek 2001-05-31 09:25:04 UTC
Ouupss!
This doesn't work on [NB32] too.Just only locally.
Problem is caused with different users on system and on pserver.
Comment 8 Martin Entlicher 2001-06-07 22:03:12 UTC
Yes, check on the user name was added, but user name for pserver can differ from
the workstation's user name.
Fixed in the main trunk.
The fix is quite simple. Not sure if should be incorporated to 3.2.1, adding the
3.2.1 candidate keyword not to be forgotten.

Diffs:
http://www.netbeans.org/unbranded-source/browse/vcscvs/src/org/netbeans/modules/vcs/cmdline/CvsFileSystem.java.diff?r1=1.129&r2=1.130
http://www.netbeans.org/unbranded-source/browse/vcscvs/src/org/netbeans/modules/vcs/cmdline/commands/CvsWatchStatus.java.diff?r1=1.2&r2=1.3
Comment 9 dmladek 2001-06-08 15:47:44 UTC
verifid on [NBdev-206]