Bug 39192

Summary: File menu grows too wide
Product: [Eclipse Project] Platform Reporter: Stefan Xenos <sxenos>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: trivial    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Picture of a huge file menu none

Description Stefan Xenos CLA 2003-06-20 18:26:59 EDT
The recent file history in the File menu causes the file menu to grow very wide.
This makes it hard to click on the New submenu since the mouse must move in a
perfectly straight line for a good portion of the screen or the New menu closes.

Some possible solutions: 
- Remove the path name from the filename (currently it appears in square brackets)
- Truncate the filename to 20 characters, and add "..." to the end if necessary.
- Or, if possible, allow the filename to occupy the space on the right of the
menu normally reserved for accelerator keys.
Comment 1 Stefan Xenos CLA 2003-06-20 18:28:54 EDT
Created attachment 5261 [details]
Picture of a huge file menu
Comment 2 Debbie Wilson CLA 2003-06-24 12:16:37 EDT
Currently we do truncate the filename if it gets beyond 36 to 40 characters.  
See ReopenEditorMenu.calcText(...).