Skip to content

Android app does not open .xlsm files in Nextcloud Office, while .xlsx files work #17419

Description

@dadi-web

⚠️ Before posting ⚠️

Steps to reproduce

  1. Connect the official Nextcloud Android app to a Nextcloud AIO server with Nextcloud Office enabled.
  2. Upload or select an Excel ".xlsm" file containing macros.
  3. Tap the ".xlsm" file in the Nextcloud Android app.
  4. Android displays the system "Open with" dialog instead of opening the file in Nextcloud Office.
  5. Tap an ".xlsx" file in the same Nextcloud account.
  6. The ".xlsx" file opens correctly in Nextcloud Office from within the Android app.
  7. Create a share link for the same ".xlsm" file and open the link in a mobile browser.
  8. The ".xlsm" file opens and can be edited correctly in Nextcloud Office in the browser.

The issue occurs with both the standard Nextcloud Office/Collabora integration and EuroOffice.

Expected behaviour

Tapping an ".xlsm" file in the official Nextcloud Android app should open the document directly in Nextcloud Office, in the same way that ".xlsx" files do.

Actual behaviour

When tapping an .xlsm file, Android shows the system "Open with" dialog instead of opening the document in Nextcloud Office.

The same .xlsm file opens and can be edited correctly in Nextcloud Office when opened through a share link in the mobile browser.

Regular .xlsx files open correctly in Nextcloud Office directly from the Android app.

The same behaviour occurs with both Nextcloud Office/Collabora and EuroOffice.

Android version

Android 16

Device brand and model

Xiaomi Redmi Pad 2 5G (2509BRP2DG)

Stock or custom OS?

Stock

Nextcloud android app version

34.1.0

Nextcloud server version

Nextcloud AIO v13.4.0

Using a reverse proxy?

Yes

Android logs

No response

Server error logs

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions