Double clicking .cantabileSetList doesn't do anything if Cantabile already loaded

Not sure if this is a bug, or deliberate behaviour, but if Cantabile is already running and you double-click on a set list file in explorer, it doesn’t load the set list. If Cantabile isn’t running, this does as expected and starts Cantabile with the set list loaded.

I guess I’d expect it to ask me to potentially save changes etc as if I’d open the set list from File…Open Recent Set List.

John

@brad is this by design?

Hi @johncarter

It should open the set list - and I just checked it here and it seemed to work fine.

Two things to check/try:

  1. Make sure you don’t have another copy of Cantabile running in the background - check task manager.

  2. Try re-creating the file associations - Tools → Options → Miscellaneous → File Associations - Associate.

Brad

Hi @brad,

Just double-checked - this behaviour happens after reboot, and doing the reassociation thing made no difference (sorry, I should have said I tried these steps).

To be clear this only fails if Cantabile is running. It will happily launch if I click on a set list file if not running.

Verbose logging doesn’t show anything at all.

Taking a look at the registry, but my current assumption is that Windows doesn’t care if already running.

Thanks

I’m not sure off hand. When Cantabile is already running Windows uses an old technology (DDE) to tell the existing instance to load the file.

As best I can tell it’s all working correctly here on Windows 10 and 11.

I’m away at the moment so can’t really investigate further. When I get back, perhaps I can add some logging to try and narrow it down.

Does it make a difference if you run Cantabile as administrator?

Brad

Same thing if I run as administrator. Additional logging sounds like a good idea.

One thing I did note was that when I did “unassociate” at first glance it didn’t appear that any of the (numerous) entries relating to set list files changed in the registry.