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 13306 - "Revision Explorer" popup menu item sometimes doesn't show up.
Summary: "Revision Explorer" popup menu item sometimes doesn't show up.
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-29 11:52 UTC by Jiri Kovalsky
Modified: 2008-12-22 18:24 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 Jiri Kovalsky 2001-06-29 11:52:21 UTC
Development build #200106290100 of NetBeans 3.3 on Windows 2000, Red Hat Linux
7.0 with JDK 1.3.0_04

Description:
============
After certain "clever" :-) clicks "Revision Explorer" menu item isn't presented 
in the popup menu. It happens when just right clicking on folder and then right 
clicking on file.

Steps to reproduce:
===================
1. Mount CVS filesystem using Built-in Client with at least one file underneath.
2. Expand the filesystem and using simple right mouse click invoke popup menu of
   the FS's root i.e. don't select the node before via left mouse click.
3. Seeing the popup menu invoke the popup menu of the file again only using rig-
   ht click without prior selecting the node.
4. You should see that there is no "Revision Explorer" menu item in it.
Comment 1 Milos Kleint 2001-08-08 19:38:33 UTC
should be fixed in build on 9/Aug/2001.
Comment 2 Jiri Kovalsky 2001-08-09 09:36:21 UTC
Sorry for reopening the issue but it's actually not working. I have 
tried to verify it in today's development build #200108090100 of 
NetBeans 3.3 but was not successful. Unfortunately I can't give you 
more details but the procedure mentioned above doesn't still show it.
Comment 3 Milos Kleint 2001-08-09 09:57:27 UTC
Agreed. However it worked for me with 2 days old build. And I haven't
changed any significant code.. I guess someone changes something in
the openide.. I'll investigate it..
Comment 4 Milos Kleint 2001-08-09 11:03:27 UTC
it sometimes works correctly and soemtimes it doesn't.
I've put debug messages and my action returns the right value in
enable() for the right nodes. Thus it must be a bug somewhere in
openide. Redirecting there..
Comment 5 Jan Zajicek 2001-08-09 11:19:52 UTC
Davide and others, can you evaluate this, thanks.
Comment 6 David Strupl 2001-08-09 12:37:02 UTC
Can anyone check whether it has something to do with latest changes in
popupmenus (by trung or pnejedly)? Or whether it is present after my
change in TreeView? Would be *very* helpfull if we know the number of
the build the problem appeared for the first time. Thanks.
Comment 7 Jan Zajicek 2001-08-14 11:17:23 UTC
Milosi, can you provide informations needed by David, thanks in advance.
Comment 8 Milos Kleint 2001-08-14 11:56:50 UTC
I'm afraid I can't provide this info for David. I can't tell when this
bug appeared. It's there for quite some time, (since I've added the
Revision Explorer action. However  at that time it was caused by me. I
was delegating the enabling of the action to another action (for
performance reasons) and that happened in another thred asynchronously. 
However lately I've fixed that and the action on the popup don't
delegate their functionality.
The revision Explorer is enabled on files only and not on directories. 

I also noticed that sometimes (usually for the first time) the order
of the filesystem actions changes randomly.. after a few tries it gets
better.
(I also suspect there's something wrong when the filesystem action has
it's own popuppresenter, It seemed to me like the enable() method is
not called properly (each time) for such an action)
Comment 9 Peter Zavadsky 2001-10-03 14:44:54 UTC
Now it seems to be invalid.

Revision Explorer is replaced by Versioning Explorer, probably also
actions aren't the same (is it right Milos?), and the Versioning
Explorer action is always present in cvs filesystem popups on my machine.

Please reopen in case I'm wrong.
Comment 10 Quality Engineering 2003-07-01 16:05:56 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 11 Quality Engineering 2003-07-01 16:26:11 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.