Bug 407626 - Sources page takes too long to reload
Summary: Sources page takes too long to reload
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.15.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 22:37 UTC by Rohan Garg
Modified: 2021-05-07 04:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Garg 2019-05-16 22:37:37 UTC
SUMMARY
Enabling and disabling various sources in Discover leads to ui bugginess

STEPS TO REPRODUCE
1. Launch Discover
2. Navigate to the "Sources" tab
3. Enable and Disable a source

OBSERVED RESULT
The entire list of sources "disappears" for a while as the page is being reloaded and the terminal spits this out

qrc:/qml/SourcesPage.qml:170: TypeError: Cannot read property 'canMoveSources' of undefined
qrc:/qml/SourcesPage.qml:169: TypeError: Cannot read property 'firstSourceId' of undefined
qrc:/qml/SourcesPage.qml:180: TypeError: Cannot read property 'canMoveSources' of undefined
qrc:/qml/SourcesPage.qml:179: TypeError: Cannot read property 'lastSourceId' of undefined
qrc:/qml/SourcesPage.qml:190: TypeError: Cannot read property 'supportsAdding' of undefined
qrc:/qml/SourcesPage.qml:201: TypeError: Cannot read property 'canFilterSources' of undefined
qrc:/qml/SourcesPage.qml:161: TypeError: Cannot read property 'length' of undefined
qrc:/qml/SourcesPage.qml:170: TypeError: Cannot read property 'canMoveSources' of undefined
qrc:/qml/SourcesPage.qml:169: TypeError: Cannot read property 'firstSourceId' of undefined
qrc:/qml/SourcesPage.qml:180: TypeError: Cannot read property 'canMoveSources' of undefined
qrc:/qml/SourcesPage.qml:179: TypeError: Cannot read property 'lastSourceId' of undefined
qrc:/qml/SourcesPage.qml:190: TypeError: Cannot read property 'supportsAdding' of undefined
qrc:/qml/SourcesPage.qml:201: TypeError: Cannot read property 'canFilterSources' of undefined
qrc:/qml/SourcesPage.qml:161: TypeError: Cannot read property 'length' of undefined


EXPECTED RESULT
The list shouldn't disappear or take a lot of time to reload.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
(available in About System)
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.0
Comment 1 Nate Graham 2021-04-07 19:34:45 UTC
Is this still happening to you with 5.21? Its pretty snappy for me.
Comment 2 Bug Janitor Service 2021-04-22 04:33:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2021-05-07 04:33:34 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!