Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't disable opening pdf files on the mobile Nextcloud app #13563

Open
4 tasks done
alexonlyoffice opened this issue Sep 13, 2024 · 1 comment
Open
4 tasks done

Can't disable opening pdf files on the mobile Nextcloud app #13563

alexonlyoffice opened this issue Sep 13, 2024 · 1 comment
Labels

Comments

@alexonlyoffice
Copy link

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

File is being opened by default when clicked on its name even if it is indicated to not open the file format by default in the ONLYOFFICE connector settings in Nextcloud, for example PDF. We checked from our end that our connector is passing the correct data as per documentation here.

In mimetypes we are passing the default data (the checked checkbox in the connector settings), for example:

"mimetypes":[
                  "application\/vnd.openxmlformats-officedocument.wordprocessingml.document",
                  "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                  "application\/vnd.openxmlformats-officedocument.presentationml.presentation"
               ],

In optionalMimetypes we are passing other supported mimetypes like:

               "optionalMimetypes":[
                  "application\/pdf",
                 ... 

Shown on PDF format example, it is being moved from one list to another when the checkbox is checked/unchecked in the connector settings. It seems that Nextcloud app is not handling these lists properly.

Issue ONLYOFFICE/onlyoffice-nextcloud#1015 described in our repo.

Expected behaviour

File is not opened

Actual behaviour

File is opened even if the checkbox for the chosen file format is unchecked in the ONLYOFFICE connector settings

Android version

Android 14

Device brand and model

Google Pixel 8

Stock or custom OS?

Stock

Nextcloud android app version

Nextcloud Android App 3.29.1

Nextcloud server version

Nextcloud 29.0.4

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

No response

Additional information

No response

@AndyScherzinger
Copy link
Member

Looping in @tobiasKaminsky @alperozturk96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants