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

オープン
#17,419 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, kotlin
領域
mobile-dev

調査の方向性

まず .xlsm ファイルで Android アプリの動作を再現し、指定された Nextcloud Office と EuroOffice のセットアップを使用して .xlsx と比較します。これらの拡張子について、アプリのファイルを開く処理とタイプ処理のエントリーポイントを追跡します。完了条件は、.xlsx と同じように、.xlsm をタップすると Android の「アプリで開く」ダイアログを表示せずに Nextcloud Office で直接開くことです。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Kotlin
スター
5.7k
フォーク
2.1k
平均マージ
1日 22時間
マージ済み PR(30日)
135

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/android のほかの issue

nextcloud/android の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。