Re: [Rosegarden-user] Clear the MRU

2021-02-10 Thread Will Godfrey
On Wed, 27 Jan 2021 11:31:56 -0500
Ted Felix  wrote:

>>> On 1/22/21 3:48 PM, Will Godfrey wrote:
 When Rosegarden scans the 'recent' list, can it please check the
>>> existence of a file, and if it's not there remove it from its list?
>
>   This is now implemented in [r16061].  There's a new preference called 
>"Clean recent files list" that enables it.
>
>   As mentioned before, your recent files list will be clobbered by this 
>update.  You can restore it by going into your Rosegarden.conf file and 
>renaming the [General] section to [RecentFiles].
>
>   Grab the latest svn and try it out.
>
>Ted.

Sorry to be so slow getting back to this... been a bit busy :P
Seems fine here.

-- 
Will J Godfrey
http://www.musically.me.uk
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Clear the MRU

2021-01-27 Thread Ted Felix

On 1/22/21 3:48 PM, Will Godfrey wrote:

When Rosegarden scans the 'recent' list, can it please check the

existence of a file, and if it's not there remove it from its list?


  This is now implemented in [r16061].  There's a new preference called 
"Clean recent files list" that enables it.


  As mentioned before, your recent files list will be clobbered by this 
update.  You can restore it by going into your Rosegarden.conf file and 
renaming the [General] section to [RecentFiles].


  Grab the latest svn and try it out.

Ted.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Clear the MRU

2021-01-23 Thread D. Michael McIntyre

On 1/23/21 1:50 AM, Ted Felix wrote:

   The problem with this is people who are accessing files on external 
storage, be it flash drives, network shares, what have you.  The files 
might not exist only because the external storage isn't connected.  The 
user might then want to reconnect the external storage and still have 
all the MRU entries.


I was going to raise exactly this point.

--
D. Michael McIntyre


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Clear the MRU

2021-01-23 Thread Ted Felix

On 1/22/21 3:48 PM, Will Godfrey wrote:
> When Rosegarden scans the 'recent' list, can it please check the
> existence of a file, and if it's not there remove it from its list?

  I've done a bit of cleanup in preparation for this and discovered 
that the recent files are going to the wrong place in the .conf due to a 
bug.  They are going to [General] (IOW no section) when they should be 
going to [RecentFiles].  I've fixed this which means when you pick up my 
changes (which I've not yet pushed, but will in the next few days), your 
MRU list will be empty.


  You can fix fairly easily by going into your Rosegarden.conf and 
changing [General] to [RecentFiles].  Then they will be picked up. 
(Note that if you have two [RecentFiles] sections after this, you'll 
want to delete the empty/useless one.)


  Just a heads up.  I hate it when my MRU goes blank.  It used to do 
that periodically in rg.  Haven't had that happen in many years now. 
That bug must have been inadvertently fixed at some point.


  I will post a follow up when I push this change.

Ted.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Clear the MRU (was: A small request)

2021-01-23 Thread Will Godfrey
On Sat, 23 Jan 2021 01:50:47 -0500
Ted Felix  wrote:

>On 1/22/21 3:48 PM, Will Godfrey wrote:
> > When Rosegarden scans the 'recent' list, can it please check the   
>existence of a file, and if it's not there remove it from its list?
>
>   The problem with this is people who are accessing files on external 
>storage, be it flash drives, network shares, what have you.  The files 
>might not exist only because the external storage isn't connected.  The 
>user might then want to reconnect the external storage and still have 
>all the MRU entries.
>
>   I think it would be safe to implement this feature but only if it has 
>to be enabled through an option.
>
>Ted.

I fully understand that, and it would be absolutely fine with me :)

-- 
Will J Godfrey
http://www.musically.me.uk
http://yoshimi.github.io
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] Clear the MRU (was: A small request)

2021-01-22 Thread Ted Felix

On 1/22/21 3:48 PM, Will Godfrey wrote:
> When Rosegarden scans the 'recent' list, can it please check the 
existence of a file, and if it's not there remove it from its list?


  The problem with this is people who are accessing files on external 
storage, be it flash drives, network shares, what have you.  The files 
might not exist only because the external storage isn't connected.  The 
user might then want to reconnect the external storage and still have 
all the MRU entries.


  I think it would be safe to implement this feature but only if it has 
to be enabled through an option.


Ted.


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user