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 115277 - "Open Recent File" menu is always empty
Summary: "Open Recent File" menu is always empty
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 17:05 UTC by _ jimdavidson
Modified: 2007-10-04 09:16 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 _ jimdavidson 2007-09-11 17:05:48 UTC
Using a 6.0Beta1 build, MacOS.

Create  or open a project (e.g., Visual Web or Java Application).  Open and close a couple of files.

Click File -> Open Recent File.  Menu is empty.  It should (presumably) show the files that have been closed.

I have not found a way to get entries to appear on this menu.
Comment 1 David Simonek 2007-09-12 10:57:40 UTC
I cannot reproduce it.

Whatever I do, recent file menu is filled OK both on my Linux and Windows. Can you test on other systems to verify that
this is Mac specific? Please test with basic java application.
Comment 2 Milos Kleint 2007-09-12 12:27:49 UTC
recent files action is utilities..
Comment 3 _ jimdavidson 2007-09-13 05:41:14 UTC
I just tested this on Windows, and it worked fine.

I created a basic Java application, and opened/closed a number of files.  The files were added to the top of the Open
Recent File menu, as they were closed.

So, the problem appears to be Mac-specific.
Comment 4 David Simonek 2007-10-04 09:16:14 UTC
fixed in main trunk:
/cvs/utilities/src/org/netbeans/modules/openfile/RecentFileAction.java,v  <--  RecentFileAction.java
new revision: 1.8; previous revision: 1.7

Btw, was caused by Mac JDK - main menu events are completely different then on other platforms, I wonder how it can even
work...funny Mac :-)