Recent files are missing

113 views
Skip to first unread message

Rob

unread,
May 9, 2019, 9:00:09 AM5/9/19
to leo-editor
Noticed this yesterday and thought it was a fluke, but again today when I launch Leo and go to Recent Files, there aren't any.

Anyone else seeing this or have an idea why or how to fix it?

Rob...

Leo 6.0-devel, devel branch
Python 3.4.3, PyQt version 5.4.1
Windows 8 AMD64 (build 6.2.9200) 


Rob

unread,
May 9, 2019, 9:02:13 AM5/9/19
to leo-editor
Now I see the menu bar includes a long list of recent files (among other new things). Is that what I'm supposed to see?

Chris George

unread,
May 9, 2019, 9:08:31 AM5/9/19
to leo-e...@googlegroups.com
All appears to be well here.

Leo 6.0-devel, devel branch, build a09cb0515b
2019-05-09 06:24:36 -0500
Python 3.6.7, PyQt version 5.12.0
linux


Chris
> --
> You received this message because you are subscribed to the Google Groups "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
> To post to this group, send email to leo-e...@googlegroups.com.
> Visit this group at https://groups.google.com/group/leo-editor.
> To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/da426f48-3128-4f00-add1-6e5015ac7103%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Edward K. Ream

unread,
May 9, 2019, 4:55:31 PM5/9/19
to leo-editor
On Thu, May 9, 2019 at 8:02 AM Rob <lar...@gmail.com> wrote:
Now I see the menu bar includes a long list of recent files (among other new things). Is that what I'm supposed to see?

There should be a Recent Files submenu of the Files menu.

Edward

Rob

unread,
May 9, 2019, 5:29:24 PM5/9/19
to leo-editor
Yes, there is, but no files listed there. However, the recent files are now along the top of the menu bar. See screenshot (there are more files to the right of the capture.

190509 Leo Files.png

Rob...

Rob

unread,
May 9, 2019, 5:39:46 PM5/9/19
to leo-editor
Perhaps this screenshot shows the top bar better. The uppermost, darker gray tabs are the open files. The bar below that is the normal menu bar with more options than before plus the recent files. Since it's new, I'm going to reserve judgment on whether I like it or not; it's definitely different.
  • Also wondering if anyone sees this behavior?
  • Is this related to the recent Pyzo work?
  • Also, I haven't made any changes to my custom settings in a while.
Rob...

190509 Leo Files 2.png



Edward K. Ream

unread,
May 9, 2019, 6:19:55 PM5/9/19
to leo-editor
On Thu, May 9, 2019 at 4:29 PM Rob <lar...@gmail.com> wrote:
Yes, there is, but no files listed there. However, the recent files are now along the top of the menu bar.

Ah.  It's a question of terminology, and a new feature.

What you are seeing has little or nothing to do with Leo's Recent Files menu.

Instead, if you invoke Leo without any file arguments, Leo will auto-load the files you had open when you saved Leo the previous time you opened Leo without file arguments.

If you don't like this, you can always open Leo with one or more file arguments.

Edward

lewis

unread,
May 9, 2019, 7:08:49 PM5/9/19
to leo-editor
I see new menu items: Colors, Fonts, Margins And borders, Outline Indicators and Misc. plugins.

The Misc. plugins menu only lists Bookmarks and Screencast plugins. Bookmarks is already listed under the existing Plugins menu, but Screencast is not.
What qualifies a plugin to be miscellaneous?


Regards
Lewis

Rob

unread,
May 9, 2019, 9:09:48 PM5/9/19
to leo-editor
We're not talking about the same thing.
  • Yes, I know about the auto-launch of the last session files. I like that feature and changed my launch parameters accordingly.
  • What I'm seeing here is that the Recent Files menu does not show *any* of the recently opened files (not just the ones that were open in the last 'session').
  • Instead, they show up in the top menu bar, but not in the menu.
  • The screenshots clearly show there are *no* files in the Recent Files menu, but are in the menu bar at the top.
Rob...

Edward K. Ream

unread,
May 10, 2019, 6:25:33 AM5/10/19
to leo-editor
On Thu, May 9, 2019 at 6:08 PM lewis <lewi...@operamail.com> wrote:
I see new menu items: Colors, Fonts, Margins And borders, Outline Indicators and Misc. plugins.

Hmm.  leoSettings.leo contains @outline-data settings-finder-menu under the top-level menus node. It contains children for the menu items you describe. The comment in the body text is:

"This data is used by SettingsFinder.build_menu() to build the `Edit settings` submenu of the `Settings` menu..."

Do you have the @file settings_finder.py plugin enabled?  I had no idea this plugin existed.

Edward

Edward K. Ream

unread,
May 10, 2019, 9:15:33 AM5/10/19
to leo-editor
On Friday, May 10, 2019 at 5:25:33 AM UTC-5, Edward K. Ream wrote:

Hmm.  leoSettings.leo contains @outline-data settings-finder-menu under the top-level menus node. It contains children for the menu items you describe.

Most likely the recent changes re case in commands and menus broke the  settings_finder plugin.  I have just created #1144 for this.

Edward

Rob

unread,
May 10, 2019, 9:40:49 AM5/10/19
to leo-editor
Just looked, and yes, the settings_finder plugin is enabled. Should I disable it or wait and see?

Rob...

Edward K. Ream

unread,
May 10, 2019, 10:45:18 AM5/10/19
to leo-editor
On Fri, May 10, 2019 at 8:40 AM Rob <lar...@gmail.com> wrote:
Just looked, and yes, the settings_finder plugin is enabled. Should I disable it or wait and see?

Disable it if it bothers you.  I'll let you know when I fix the plugin.

Edward

Edward K. Ream

unread,
May 10, 2019, 11:15:11 AM5/10/19
to leo-editor
On Friday, May 10, 2019 at 9:45:18 AM UTC-5, Edward K. Ream wrote:

Rev e9cc62 in devel fixes this bug.  As expected, the culprit was a menu name.

Edward

Rob

unread,
May 10, 2019, 3:28:58 PM5/10/19
to leo-e...@googlegroups.com
No change after updating just now. (BTW, I did not disable the plugin.)


190510 Leo Recent Files.png

Leo 6.0-devel, devel branch
Python 3.4.3, PyQt version 5.4.1
Windows 8 AMD64 (build 6.2.9200) 

Edward K. Ream

unread,
May 10, 2019, 3:34:01 PM5/10/19
to leo-editor
On Fri, May 10, 2019 at 2:29 PM Rob <lar...@gmail.com> wrote:
No change after updating just now.

This is the session part of the discussion.  It does not depend on recent files.

Have you tried closing some of these files, and saving the remaining outlines?

Edward

Rob

unread,
May 10, 2019, 10:13:35 PM5/10/19
to leo-e...@googlegroups.com


On Friday, May 10, 2019 at 3:34:01 PM UTC-4, Edward K. Ream wrote:


This is the session part of the discussion.  It does not depend on recent files.

Yes, I know. That's not the problem. Sessions works fine.
 

Have you tried closing some of these files, and saving the remaining outlines?

Yes, several times; still no recent files show up in the Recent Files menu; only along the menu bar. Prior to several days ago, I had a fairly long list; now nothing except commands.

Rob...

EDIT
Looked in the .leo folder and there are 25 entries in the .leoRecentFiles.txt file. So, Leo is storing the recent files, they just don't show up in the menu.

Rob

unread,
Jun 10, 2019, 12:41:43 PM6/10/19
to leo-editor
Finally figured out what triggers this behavior.

@bool recent_files_group_always = True

The default of this setting is 'False'. If set to 'True', an unexpected result is to list the recent files across the top menu bar instead of in the File>Recent Files list as before. I suppose that explains why no one else saw this behavior. Shall I create a bug report for this?

Rob...

Edward K. Ream

unread,
Jun 10, 2019, 1:21:47 PM6/10/19
to leo-editor
Yes.  If there's no report I won't remember it.

Edward
Reply all
Reply to author
Forward
0 new messages