v2.15: App crashes and very slow while you edit a file
⚠️ This issue respects the following points: ⚠️
- [x] This is a bug. Not a question or feature request.
- [x] The topic is not already reported at Issues. (I've searched it).
- [x] Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
- [x] The bug is still present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)
Description
When entering the .txt file that I usually edit the crashing is evident, when clicking on the screen it takes for the keyboard to open and also while typing locks occur frequently, not crashes of the type of closing the APP but it is as if the "fps" fall to zero if you understand me. My file have 172kb size.
This only occurs in versions after 2.14.1, such as 2.15.0 and 2.15.1, either from Github or F-Droid (I only test these so I don't know if it changes anything in the Play Store version).
It is a very serious problem that makes using the app impossible for me, I am having to use version 2.14.1 to edit my file.
It is basically the same thing that occurred in Issue #2478
Steps to reproduce
- I think just opening and editing any file with many (MANY) characters. In my case I have a personal journal in which I write down everything I do or think during the day, then the file is a very extensive encrypted .txt.jenc
Information
Android version: Android 13 Device: Xiaomi Poco X6 MIUI 14 App Version: 1.15.0 and 1.15.1, Github or F-Droid. Any version prior to this is without this problem.
Source
GitHub Releases
Format / File type
Not specific
Additional info / Log
- My file only has pure text. And there are many, many characters
Confirmed slow downs here, F-Droid, Android 14
Confirmed slowdown here too. Markor v2.15.1 on Android 12. File size: 101KB
confirmed linageos 22.2 Android 15 Version 20. September, Makor 2.15.1
Confirm massive slowdown here too since updating to 2.15.1 via F-Droid on Android 13. Noticed in Zim wiki text file.
Confirms there is a huge speed regression on "big" files that is not present on v2.14.1 but is present in v2.15.1.
I did not do a complex regression test but it happens on md files of 791 KB. So that's not that big.
There was another regression previously but this one makes the app unusable unfortunately.
is it notably better when...
disabling line numbers?
disabling syntax highlighting?
disabling both?
File is a .txt File no line numbers and no syntax highligting (at least none of that i know of) Filesize is 118kb
reverted to v158-2.14.1 (v159-2.15.0 did not work either)
v2.15.0 and 2.15.1 should be considered as same on that matter, .1 is unrelated hotfixes.
Confirmed. I used markor for few years and had markor 2.14.1 for I guess a year. After updating to 2.15.1(160) it became so slow that it takes 21 seconds to open markor when it's in Edit mode, 6 seconds for keyboard to appear and 9 seconds for keyboard to disapear! This happens when markor is in Edit mode, and in View mode it's still as fast as before. It takes 5 seconds to back to markor when going to another app and back to markor. It happens just when I open markor, or open and close keyboard on markor. when I'm in markor and keyboard is open(during typing), markor works as fast as previous version. Navigating to other menus in markor is as fast as before. Scrolling in both edit & view mode is as fast as before. Dosn't matter if I'm in Quicknote, To-do, or files in folders, it will be slow on Edit mode. As files become larger, their loading time in Edit mode increases. For example an 270KB file opens in 20 seconds and an 320 KB file opens in 36 seconds.
Android version: android 12 and miui 14.0.2 Device: Poco m3 qualcomm snapdragon 662 4GB App Version: 2.15.1
For me on a newer phone the 15.x slowdown is mostly only noticable when loading the file, bringing up the keyboard, and inserting or deleting newlines (anywhere in the file, including the end). Typing within a single line is snappy, and so is selecting text, even when dragging to extend a selection across many lines, but any operation that changes the number of lines is extremely slow.
Disabling options like syntax highlighting, word wrap, and spell check doesn't seem to make any difference.