Page 1 of 1

Open with... not working with some file types

Posted: 24 Jun 2014 14:41
by Stef123
The files in question have the extension .config
Their format seems to be XML - they open nicely within XY's preview, and also in every other editor, if I drag them over.

XY has no problem passing on other files types (ini, des, gui, xml) to this very same editor. But it won't do it wih .config - neither via an Open With... UDC nor via POM

Re: Open with... not working with some file types

Posted: 24 Jun 2014 16:01
by bdeshi
Odd. I've got "config" and a ton other extensions associated to SublimeText2, Notepad2, Notepad++ and all of them open the exts normally.
What happens exactly? Does the Open with menu come up?

Re: Open with... not working with some file types

Posted: 24 Jun 2014 17:43
by Stef123
Nope. What happens is ... nothing. Period. As if nothing ever happened. I select any other type of extension, no problem, both POM and UDC Open with will pass it over to the application. But not .config - the only way to get these files across is by dragging them over via drag and drop. Passing the same file via command line works without problems.

The .config file you tried out - is it based on XML?

Re: Open with... not working with some file types

Posted: 24 Jun 2014 18:01
by bdeshi
The .config file you tried out - is it based on XML?

Yes it is now. :wink: (found one written in xml syntax)
And it still works.
...
at least the "Open With" submenu does come up, right?

Re: Open with... not working with some file types

Posted: 24 Jun 2014 18:18
by Stef123
SammaySarkar wrote:at least the "Open With" submenu does come up, right?
Yes. And if I rename the extension to .ini it opens nicely. Very same file.

Thanks for checking it out. Since it works on your side, there is obviously no bug involved. I can live with drag-dropping it over. Not that many .config files (actually, just one :whistle: ) that I deal with. Just thought I bring it up - might have been a bug after all.

Re: Open with... not working with some file types

Posted: 24 Jun 2014 18:44
by bdeshi
(very unlikely but)
If the target app uses .config files to save settings then maybe the POM definition is such that target app loads the config as a config (like XY loads ini files) and not as an editable file?

Otherwise I'm out of ideas.