Bug 413439

Summary: QtQuick dialog: show loading status messages in the view with a spinner or progress indicator, not using PassiveNotifications
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Nate Graham <nate>
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2019-10-25 13:08:59 UTC
When the dialog first loads, it sends several passiveNotifications in rapid succession. The loading UX would be better if it was more like how Discover does it IMO: with the status messages shown under a spinner or progress bar in the empty view itself, disappearing when the view becomes populated.
Comment 1 Dan Leinir Turthra Jensen 2019-11-08 14:32:17 UTC
Git commit f1f439cbef94a700847bd20c49d3436851542106 by Dan Leinir Turthra Jensen.
Committed on 08/11/2019 at 14:32.
Pushed by leinir into branch 'master'.

Give some more pretty feedback in NewStuff::Page while the Engine is loading

Summary:
This adds an isLoading property to KNSQuick::Engine, and that is used
to show a busy indicator (with descriptive label) when engine is loading.

Test Plan:
Without this patch: Empty content panel while loading is happening
With this patch:
{F7744725}

Reviewers: #knewstuff, #frameworks, ngraham, #vdg

Reviewed By: ngraham, #vdg

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25173

M  +11   -4    src/qtquick/qml/DialogContent.qml
M  +47   -4    src/qtquick/qml/Page.qml
M  +20   -1    src/qtquick/quickengine.cpp
M  +16   -0    src/qtquick/quickengine.h

https://commits.kde.org/knewstuff/f1f439cbef94a700847bd20c49d3436851542106