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

Offen
#17,419 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
65/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
android, kotlin
Bereich
mobile-dev

Rechercherichtung

Beginne damit, das Verhalten der Android-App mit einer .xlsm-Datei zu reproduzieren, und vergleiche es mit .xlsx, wobei du die angegebenen Setups für Nextcloud Office und EuroOffice verwendest. Verfolge die Einstiegspunkte der App zum Öffnen von Dateien und zur Verarbeitung von Dateitypen für diese Erweiterungen. Als erledigt gilt die Aufgabe, wenn das Antippen von .xlsm die Datei direkt in Nextcloud Office öffnet, entsprechend dem Verhalten von .xlsx, ohne den Android-Dialog „Öffnen mit“.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

0. Needs triage bug
⚠️ Before posting ⚠️
  • This is a bug, not a question or an enhancement.
  • #17420
  • 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
  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

Vorherrschende Sprache
Kotlin
Sterne
5.7k
Forks
2.1k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
135

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus nextcloud/android

Alle Issues in nextcloud/android

Ähnliche Issues

Weitere Issues zu Kotlin

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.