File types association madness

I know it’s a recurring (but not yet solved AFAIK) issue here, and I do not blame developers, who sincerely did an amazing job bringing Nextcloud to the world, but the unpredictable association between file types and apps are really cumbersome and hard to explain to common users.

Just an example of this: you login to your NC instance, create a Markdown file and edit it with the Text app. Then you share with a public link to someone who have to collaborate with, and he is presented with the ONLYOFFICE interface to edit it! But as soon as he closes it, the Text application brings up! :S

I do no know anything about the technical cause of this behavior, but we all can honestly admit that’s not what anyone can afford if we pretend to call Nextcloud a collaboration platform in a real world scenario.

I kindly ask anyone more skilled than me on this topic to point me to the right direction… if it’s necessary to sponsor some developer’s work to fix this behavior we’ll be pleased to do it.

Thanks to all who contribute to this great piece of software!

Sincerely.

this does sound like you’ve assiciated *.md files with ONLYOFFICE. do check your ONLYOFFICE configuration in administration settings. you could also try to disable ONLYOFFICE just for the sake of testing. you’ll surely find this is not a Nextcloud issue as markdown editing and collaboration is tried and tested in default Nextcloud.

1 Like

Please post more details, such as those requested in the support template. A video/screenshots in this case might also be helpful.

What you’re describing doesn’t match any behavior I’ve seen ever seen nor does it match the architecture. But I may be misunderstanding what you’re describing.

Obviously I checked both things: the ONLYOFFICE app is not configured to open .md files, and disabling ONLYOFFICE “solves” the problem.

But that was just an example. What I’m asking is related to the way NC handles file type association: AFAIK, there is no way to configure that, or I’ve missed it?

As I wrote, that issue with shared .md files was just an example.

What I’m asking is related to the way NC handles file type association: AFAIK, there is no way to configure that (at least up to the 30 branch which we are using), or I’ve missed it?

Just to clarify: the specific issue I brought as example it’s solvable by fixing the ONLYOFFICE app (see that application’s bug #1112), but the question I’m asking is: why it’s impossible for the user or the admin to clearly define which app opens which file type in the web interface?

If it’s actually doable, then I missed it and please forgive me (I only found these relates and unresolved bugs: #29017, #1400, #2393). But if it is not yet possible in the latest NC branch to define this association for users or admins, I’m asking to anyone more knowledgeable than me on NC’s architecture if it’s possible to develop this feature: we are available to sponsor the work needed to develop it.

And thanks again to all Nextcloud developers and contributors!

Sincerely