-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Performance Bug] Many tasks cause GUI to be slow, *so only load visible tasks*. #2417
Comments
We already do what we can here. But this is unfortunately limited to not loading completed tasks by default. Your proposal to only load tasks as they are viewed seems a bit difficult to me, because how are we supposed to know what to load when we do not know what is there (because we didn't load the tasks)? We could of course disable some lists completely and exclude them from loading, but that is a different issue really. |
@raimund-schluessler, I don't quite understand - if the completed tasks need to be loaded to provide dynamic loading, then load the completed tasks. If the tasks were dynamically loaded based upon viewport size as I request, there's no need to not load the completed tasks. |
This is not about completed tasks. I just said we do not load them at the moment to speed up the app. My remark was more about how we should know "based on the viewport" what to load. If the tasks existing on the server are unknown to the app, because we did not load them from the server, the concept of viewport is useless. There is no way to create a view in the first place, without knowing what to show. |
@raimund-schluessler, is the configuration you refer to fundamentally different to how most software with dynamic loading performs this? I'm not much of a GUI software developer, so I can't help much regarding implementation details other than regurgitate what appear to be best practices, but I doubt that NC Tasks does anything which would make this infeasible. |
You seem to mix-up dynamic rendering with dynamic loading of data. We could of course only render/show the tasks you are currently looking at (this is dynamic rendering), but we would need to load the data from the server before-hand no matter what. Otherwise, we would not be able to decide what to render.
Hm, I see. I am sorry to say, but if you try to manage 1000+ tasks in a CalDAV client, there might be a problem inherent to your current software choice. This software is for synchronization, often between mobile clients. There is no possible way you can keep the overview of so many tasks on a phone. And I even doubt that it makes sense to look at 1000+ tasks at the same time at all. I don't exactly know your use case, but I am quite sure there is software better suited for your needs, e.g. for issue tracking like GitLab or GitHub. |
@raimund-schluessler, I very easily keep track of my tasks. If you break each task down into a lot of subtasks, they very quickly become of a significant amount. Solely on I did try to capture a performance profile, but the tab, 12 and then Additionally, Considering that Chrome reports the undermentioned, I don't consider this a WebCompat issue either. That value varies from 8×105 depicted to 1×106, like in FF. Footnotes |
Steps to reproduce
Expected behavior
The tasks should be dynamically loaded as they are viewed.
Actual behaviour
All of the tasks are preloaded at initialization time. This makes it hideously slow when many tasks exist.
Tasks app version
Unfortunately, https://help.nextcloud.com/t/get-version-of-app/97847/5?u=rokejulianlockhart +
| Select-String 'tasks'
doesn't return anything.CalDAV-clients used
https://github.com/tasks/tasks/releases/tag/13.6 as https://f-droid.org/repo/org.tasks_130605.apk from https://f-droid.org/en/packages/org.tasks/.
Browser
https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/MozillaFirefox-120.0.1-1.1.x86_64.rpm
Client operating system
cpe:/o:opensuse:tumbleweed:20231218
Server operating system
404
pages report:Web server
404
pages report:Database engine version
Other
PHP engine version
Other
Nextcloud version
25.0.8.2, according to https://scan.nextcloud.com/results/e9c6cb22-1bf8-424a-9aec-2ba3ce521bac.
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Nextcloud configuration
No response
Web server error log
No response
Log file
No response
Browser log
https://gist.github.com/RokeJulianLockhart/c99f881a03aa9f60e97457be1837802b#file-identifier-so6mr7-txt-log
Additional info
https://github.com/tasks/tasks/releases/tag/13.6 reports +1074 (although the server won't tell me, due to #2416 (comment)).
The text was updated successfully, but these errors were encountered: