Crash when opening ods with lots of column
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Open ods with a lot of column (haven't tested the limit) via NC client on iOS
- Scroll (if scrolling really slowly, it doesn't bug)
Expected behaviour
Be able to see and edit the ods file normally via the NC iOS app
Actual behaviour
On iOS, when I open certain ods files which contain a lot of column, the app will systematically bug. If I don't touch anything, the file will open, but as soon as I scroll or if I do screen gesture while loading, the app will fail saying "Failed to open the requested file". It will also sometime show a message saying there is insufficient resources on the server, but we have plenty of resources.
Some times, scrolling will jump thousands of lines (for exemple from line 1200 to 4000).
All other files work well. The same file that is buggy on iOS will open correctly on the web interface, local libreoffice and android.
Logs
On the nextcloud server, there is no log at all when this bug is happening.
On the collabora server, I see these lines which I thing is related:
kit-2721295-2721295 2025-03-10 10:10:15.788964 -0400 [ kitbroker_50c ] WRN Unusual extremely large tile combine of size 4352x256| common/RenderTiles.hpp:115
I also have a Charles session data dump of http traffic between the iPhone and the NC server, but I can't add it here
Environment data
iOS version: e.g. iOS 17.6.1
iOS 18.3.1 (22D72)
Nextcloud iOS app version: see More > Settings
6.3.0.11
Server operating system:
debian bullseye (11)
Web server:
Apache
Database:
mariadb 10.5.28-0+deb11u1
PHP version:
php-fpm8.3
Nextcloud version:
30.0.6.2
collabora version
coolwsd 24.04.12.4-1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the failure in the Nextcloud iOS app with an ODS file containing many columns, then inspect the iOS-to-Nextcloud and Collabora traffic or logs; done means the file opens, scrolls, and remains editable without failure or large jumps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100