Re: [Rosegarden-user] MRU - a couple of things
Great. I've pushed to master and deleted the filedialog branch. You can do the same as follows: git checkout master git pull git branch -d filedialog That should do it. Ted. On 6/19/21 10:17 AM, chuck elliot wrote: Yep. That all seems good. All the 'Open' options in the file dialog take me to the right places. enabling 'Use native dialog' gives me the GTK dialog. The config file now contains: [FileDialog] dontUseNative=true useNativeFileDialogs=false Thanks, Chuck. On 19/06/2021 2:30 pm, Ted Felix wrote: Ok, I just posted the "final" fix for this to the filedialog branch. Can you test it in there for me before I merge it? If you aren't already in the filedialog branch, check it out: git checkout filedialog Then pull to get up to date. git pull And build as usual. In the preferences, general > presentation you will find "Use native file dialogs". Uncheck it and you should be where you want to be with all file dialogs throughout the system. Let me know how it goes. Thanks. Ted. On 6/19/21 8:19 AM, Ted Felix wrote: Glad we finally tracked this one down. It's not complete, though as it only applies to open dialogs. I think we need to make this a setting in the preferences. I'll have a look. Ted. On 6/19/21 5:59 AM, chuck elliot wrote: That did the trick! One caveat - after running the new build for the first time, I had to add the [FileDialog] setting because it wasn't present although the timestamp had updated. However, now I can switch between the aberrant GTK behaviour and the desired Qt behaviour by changing that setting from false to true. 'job done! Great work! Many thanks. On 19/06/2021 1:41 am, Ted Felix wrote: Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
Yep. That all seems good. All the 'Open' options in the file dialog take me to the right places. enabling 'Use native dialog' gives me the GTK dialog. The config file now contains: [FileDialog] dontUseNative=true useNativeFileDialogs=false Thanks, Chuck. On 19/06/2021 2:30 pm, Ted Felix wrote: Ok, I just posted the "final" fix for this to the filedialog branch. Can you test it in there for me before I merge it? If you aren't already in the filedialog branch, check it out: git checkout filedialog Then pull to get up to date. git pull And build as usual. In the preferences, general > presentation you will find "Use native file dialogs". Uncheck it and you should be where you want to be with all file dialogs throughout the system. Let me know how it goes. Thanks. Ted. On 6/19/21 8:19 AM, Ted Felix wrote: Glad we finally tracked this one down. It's not complete, though as it only applies to open dialogs. I think we need to make this a setting in the preferences. I'll have a look. Ted. On 6/19/21 5:59 AM, chuck elliot wrote: That did the trick! One caveat - after running the new build for the first time, I had to add the [FileDialog] setting because it wasn't present although the timestamp had updated. However, now I can switch between the aberrant GTK behaviour and the desired Qt behaviour by changing that setting from false to true. 'job done! Great work! Many thanks. On 19/06/2021 1:41 am, Ted Felix wrote: Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
Ok, I just posted the "final" fix for this to the filedialog branch. Can you test it in there for me before I merge it? If you aren't already in the filedialog branch, check it out: git checkout filedialog Then pull to get up to date. git pull And build as usual. In the preferences, general > presentation you will find "Use native file dialogs". Uncheck it and you should be where you want to be with all file dialogs throughout the system. Let me know how it goes. Thanks. Ted. On 6/19/21 8:19 AM, Ted Felix wrote: Glad we finally tracked this one down. It's not complete, though as it only applies to open dialogs. I think we need to make this a setting in the preferences. I'll have a look. Ted. On 6/19/21 5:59 AM, chuck elliot wrote: That did the trick! One caveat - after running the new build for the first time, I had to add the [FileDialog] setting because it wasn't present although the timestamp had updated. However, now I can switch between the aberrant GTK behaviour and the desired Qt behaviour by changing that setting from false to true. 'job done! Great work! Many thanks. On 19/06/2021 1:41 am, Ted Felix wrote: Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
Glad we finally tracked this one down. It's not complete, though as it only applies to open dialogs. I think we need to make this a setting in the preferences. I'll have a look. Ted. On 6/19/21 5:59 AM, chuck elliot wrote: That did the trick! One caveat - after running the new build for the first time, I had to add the [FileDialog] setting because it wasn't present although the timestamp had updated. However, now I can switch between the aberrant GTK behaviour and the desired Qt behaviour by changing that setting from false to true. 'job done! Great work! Many thanks. On 19/06/2021 1:41 am, Ted Felix wrote: Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
That did the trick! One caveat - after running the new build for the first time, I had to add the [FileDialog] setting because it wasn't present although the timestamp had updated. However, now I can switch between the aberrant GTK behaviour and the desired Qt behaviour by changing that setting from false to true. 'job done! Great work! Many thanks. On 19/06/2021 1:41 am, Ted Felix wrote: Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
I am using Fedora 33 with the MATE (gnome-2) environment so all that adds up. I should be able to try the modification today... Many thanks Ted. On 19/06/2021 1:41 am, Ted Felix wrote: Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
Ok, I just pushed a change for you to test to a new branch called filedialog. If you are using git (without forking), you can get it as follows: git fetch git checkout -t origin/filedialog Now build and run as usual. After the first run, you will find this in your Rosegarden.conf file: [FileDialog] dontUseNative=false Set that to true and re-run rosegarden. Now you should have a very different looking file open dialog. Does it work any better? When you are done, switch back to the master branch with git and build. git checkout master Ted. On 6/18/21 8:02 PM, Ted Felix wrote: As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
As I was digging around I saw mention of Qt using "native dialogs". Maybe this is what is going on. Maybe you are using GNOME and somehow Qt is being told to use the native file dialog rather than its own. That might explain why it is using a GTK+ .XBEL file to store these recent used "bookmarks". QFileDialog has options and the "DontUseNativeDialog" option controls this. The Qt docs indicate that *using* the native dialog is the default if one exists. Maybe we should try forcing "DontUseNativeDialog". I'll need to do a little more digging and provide you with a new version to test. I'll put it on my todo... Ted. On 6/18/21 4:31 AM, chuck elliot wrote: Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
Ah. False alarm then. The other thing I discovered was that my rg 'Recent' list in 'File Open' is apparently being populated from .local/share/recently-used.xbel which is, I believe, a GTK resource. I don't know if that is supposed to happen. Chuck. On 18/06/2021 2:23 am, Ted Felix wrote: On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
On 6/17/21 4:17 PM, chuck elliot wrote: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail Mine looks just like that: [FileDialog] history=@Invalid() lastVisited=file:///home/ted/Documents/rosegarden/Test qtVersion=5.12.8 viewMode=Detail And mine works fine. 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] MRU - a couple of things
Hi, I think I might have found a clue as to why my rg file dialog is misbehaving. Firstly, I created a new user and then ran rg and all was fine. So it is something to do with my user config. I compared the .config/QtProject.conf files of the two users and there looks to be a problem with mine: [FileDialog] history=@Invalid() lastVisited=file:///blue/midi/rosegarden/covers/q-synth qtVersion=5.15.2 viewMode=Detail compared with the new user: [FileDialog] history=file:///home/rosy/rosegarden lastVisited=file:///home/rosy/rosegarden qtVersion=5.15.2 shortcuts=file:///home/rosy, file:///home/rosy/.local/share/rosegarden/examples, file:///home/rosy/.local/share/rosegarden/templates, file:///home/rosy/Documents, file:///home/rosy/Music, file:///home/rosy/rosegarden sidebarWidth=70 treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff) viewMode=Detail I thought this might be caused by a conflict with my rg build directory: /rosegarden so I renamed that and deleted all the rg config files in .config/ and .locale/share/ and replaced my QtProject.conf with rosy's (changing the username as appropriate) but this did not fix the issue and the QtProject.conf file was overwritten with the above contents. I hope that gives you a clue as to what is going on. thanks, Chuck. On 08/04/2021 1:23 am, Ted Felix wrote: I've done a little more digging and it seems like this could be happening because garbage is getting passed to the file dialogs (QFileDialog falls back on the current directory when it gets a directory that doesn't exist and depending on how you launch rg, the current directory might be the home dir). This seems unlikely, but it's the only lead I've got at this point. Some tests... What version of Qt are you building against? In rg, go to Help > About Qt... to get the version. The code (FileDialog::getOpenFileName()) is reused in a number of places. Try File > Import > Import MIDI File... Does this remember its last path? Run rosegarden from a command prompt while in an easily identifiable directory. E.g. switch to /tmp and then run rosegarden: $ cd /tmp $ rosegarden Now do a file open. Does this put you in /tmp? Ted. On 4/7/21 6:38 AM, chuck elliot wrote: 'apparently not to do with NFS - I loaded and saved a file to a local directory ('change reflected in the [Last_Used_Paths] setting) but the 'Open' behaviour is still erroneous. On 07/04/2021 12:38 am, Ted Felix wrote: On 3/28/21 11:43 AM, chuck elliot wrote: If I'm not mistaken, RG used to remember which directories you last saved to and loaded from. And it still does for me. This is reflected in the [Last_Used_Directories] config file heading (which seems to contain the right values). That's the place. Currently the 'open file' dialogue takes me to my home directory plus an out-of-date 'Recent' option and also opens in minimised mode for some reason. I am working with v20.12 and v21.06. I have never seen anything like this. I can't minimize the window. And mine always takes me to the last place I was. I have tried creating a new Rosegarden.conf and looked in vain for settings to change this. Am I missing something? Nope. Sounds like bad Qt libraries. The code is super simple for this. We rely on Qt to do the real work here. Do "File > Open Example..." and "File > Open Template..." work OK? It's the same code, but it specifies a hard-coded path. Open Example... should take you to ~/.local/share/rosegarden/examples. Open Template... should take you to the same area, but the templates directory. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
I've done a little more digging and it seems like this could be happening because garbage is getting passed to the file dialogs (QFileDialog falls back on the current directory when it gets a directory that doesn't exist and depending on how you launch rg, the current directory might be the home dir). This seems unlikely, but it's the only lead I've got at this point. Some tests... What version of Qt are you building against? In rg, go to Help > About Qt... to get the version. The code (FileDialog::getOpenFileName()) is reused in a number of places. Try File > Import > Import MIDI File... Does this remember its last path? Run rosegarden from a command prompt while in an easily identifiable directory. E.g. switch to /tmp and then run rosegarden: $ cd /tmp $ rosegarden Now do a file open. Does this put you in /tmp? Ted. On 4/7/21 6:38 AM, chuck elliot wrote: 'apparently not to do with NFS - I loaded and saved a file to a local directory ('change reflected in the [Last_Used_Paths] setting) but the 'Open' behaviour is still erroneous. On 07/04/2021 12:38 am, Ted Felix wrote: On 3/28/21 11:43 AM, chuck elliot wrote: If I'm not mistaken, RG used to remember which directories you last saved to and loaded from. And it still does for me. This is reflected in the [Last_Used_Directories] config file heading (which seems to contain the right values). That's the place. Currently the 'open file' dialogue takes me to my home directory plus an out-of-date 'Recent' option and also opens in minimised mode for some reason. I am working with v20.12 and v21.06. I have never seen anything like this. I can't minimize the window. And mine always takes me to the last place I was. I have tried creating a new Rosegarden.conf and looked in vain for settings to change this. Am I missing something? Nope. Sounds like bad Qt libraries. The code is super simple for this. We rely on Qt to do the real work here. Do "File > Open Example..." and "File > Open Template..." work OK? It's the same code, but it specifies a hard-coded path. Open Example... should take you to ~/.local/share/rosegarden/examples. Open Template... should take you to the same area, but the templates directory. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
'apparently not to do with NFS - I loaded and saved a file to a local directory ('change reflected in the [Last_Used_Paths] setting) but the 'Open' behaviour is still erroneous. On 07/04/2021 12:38 am, Ted Felix wrote: On 3/28/21 11:43 AM, chuck elliot wrote: If I'm not mistaken, RG used to remember which directories you last saved to and loaded from. And it still does for me. This is reflected in the [Last_Used_Directories] config file heading (which seems to contain the right values). That's the place. Currently the 'open file' dialogue takes me to my home directory plus an out-of-date 'Recent' option and also opens in minimised mode for some reason. I am working with v20.12 and v21.06. I have never seen anything like this. I can't minimize the window. And mine always takes me to the last place I was. I have tried creating a new Rosegarden.conf and looked in vain for settings to change this. Am I missing something? Nope. Sounds like bad Qt libraries. The code is super simple for this. We rely on Qt to do the real work here. Do "File > Open Example..." and "File > Open Template..." work OK? It's the same code, but it specifies a hard-coded path. Open Example... should take you to ~/.local/share/rosegarden/examples. Open Template... should take you to the same area, but the templates directory. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
The only thing that works is 'Save As' which takes me to the path indicated by the [Last_Used_Path] save_file= setting. Examples, Templates and Open all mis-behave in the way I described. Plus - I have this on 2 separate machines - one running 20.12, the other 21.06. (Both Fedora 32). The only other common factor is that they load .rg files from the same automounted, NFS share on a third machine. But this has always worked fine in the past. On 07/04/2021 12:38 am, Ted Felix wrote: On 3/28/21 11:43 AM, chuck elliot wrote: If I'm not mistaken, RG used to remember which directories you last saved to and loaded from. And it still does for me. This is reflected in the [Last_Used_Directories] config file heading (which seems to contain the right values). That's the place. Currently the 'open file' dialogue takes me to my home directory plus an out-of-date 'Recent' option and also opens in minimised mode for some reason. I am working with v20.12 and v21.06. I have never seen anything like this. I can't minimize the window. And mine always takes me to the last place I was. I have tried creating a new Rosegarden.conf and looked in vain for settings to change this. Am I missing something? Nope. Sounds like bad Qt libraries. The code is super simple for this. We rely on Qt to do the real work here. Do "File > Open Example..." and "File > Open Template..." work OK? It's the same code, but it specifies a hard-coded path. Open Example... should take you to ~/.local/share/rosegarden/examples. Open Template... should take you to the same area, but the templates directory. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user ___ 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] MRU - a couple of things
On 3/28/21 11:43 AM, chuck elliot wrote: If I'm not mistaken, RG used to remember which directories you last saved to and loaded from. And it still does for me. This is reflected in the [Last_Used_Directories] config file heading (which seems to contain the right values). That's the place. Currently the 'open file' dialogue takes me to my home directory plus an out-of-date 'Recent' option and also opens in minimised mode for some reason. I am working with v20.12 and v21.06. I have never seen anything like this. I can't minimize the window. And mine always takes me to the last place I was. I have tried creating a new Rosegarden.conf and looked in vain for settings to change this. Am I missing something? Nope. Sounds like bad Qt libraries. The code is super simple for this. We rely on Qt to do the real work here. Do "File > Open Example..." and "File > Open Template..." work OK? It's the same code, but it specifies a hard-coded path. Open Example... should take you to ~/.local/share/rosegarden/examples. Open Template... should take you to the same area, but the templates directory. Ted. ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user