[ 
https://issues.apache.org/jira/browse/NETBEANS-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822399#comment-16822399
 ] 

mck edited comment on NETBEANS-888 at 4/22/19 12:53 AM:
--------------------------------------------------------

bq. Clicking on File>Open Recent File>File doesn't open the file but using the 
shortcut for the most recent one works.

I can confirm with debugging Netbeans that the method
{code}RecentFileAction.actionPerformed(action){code}
never gets call when using the menu, but does get called when using the 
shortcut.

When using the menu, the code goes through 
{{TimeableEventQueue.dispatchEvent(event)}} but never reaches 
{{RecentFileAction.actionPerformed(action)}}.

The event in {{TimeableEventQueue}} is of type {{java.awt.event.ActionEvent}} 
and a {{paramString}} of {{ACTION_PERFORMED}}, similar to when the menu UI 
action for {{RecentProjects}} is performed. The only percularity I've found so 
far is the {{event.source}} incrementally increases name {{"menuitemX"}}, while 
for {{RecentProjects}} the menuitem source names are stable for the projects 
listed in the submenu.


was (Author: michaelsembwever):
bq. Clicking on File>Open Recent File>File doesn't open the file but using the 
shortcut for the most recent one works.

I can confirm with debugging Netbeans that the method
{code}RecentFileAction.actionPerformed(action){code}
never gets call when using the menu, but does get called when using the 
shortcut.

> Open Recent file not working
> ----------------------------
>
>                 Key: NETBEANS-888
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-888
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - UI
>    Affects Versions: 9.0, 10.0, 11.0
>         Environment: MacOS High Sierra version 10.13.4
> MacOS Mojave 10.14.4
>            Reporter: Javier A. Ortiz
>            Priority: Major
>
> Clicking on File>Open Recent File>File doesn't open the file but using the 
> shortcut for the most recent one works.
> No error or suspecting messages in the log either.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to