Bug #62633 MySQL Workbench: Open recent order out of sync
Submitted: 5 Oct 2011 18:29 Modified: 5 Oct 2011 19:27
Reporter: John Boero Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.34, 5.2.35 OS:Any
Assigned to: CPU Architecture:Any
Tags: workbench open recent order

[5 Oct 2011 18:29] John Boero
Description:
This has frustrated me in 5.2.34 and it appears in 5.2.35 as well.  I work with several saved scripts and find a recently used items menu useful.  Unfortunately every time I open one of the recently used scripts from "Open Recent" menu, that script is moved to the top of the recently used items list - but only internally.  The "Open Recent" menu options are not updated to match.  It becomes impossible to use this menu because who knows what the actual order is?  This is present on both Linux and MacOS versions.

How to repeat:
Establish a connection in Workbench and open 2 or more sql scripts.  Close the connection and reconnect.  File->Open Recent.  Select the #2 script.  The #2 script is now the #1 script, but the menu does not reflect it.  Close the #2 script.  File->Open Recent again. Open the #2 script again.  You will see the #1 script even though you clicked the #2 script, because #1 has become #2 in menu logic.

Suggested fix:
Populate "Open Recent" menu during menu open event.
[5 Oct 2011 19:17] Alfredo Kojima
Duplicate of orabug 13028666
[5 Oct 2011 19:27] John Boero
Sorry I did a pretty thorough check beforehand too.  Couldn't find it.