@@ -38,6 +38,8 @@ FocusScope {
38 style: scope ? scope.customizations : {}
38 style: scope ? scope.customizations : {}
41+ readonly property bool processing: scope ? scope.searchInProgress || previewListView.processing : false
41 signal backClicked()
43 signal backClicked()
43 onScopeChanged: {
45 onScopeChanged: {
@@ -396,7 +398,6 @@ FocusScope {
396 title: scopeView.scope ? scopeView.scope.name : ""
398 title: scopeView.scope ? scopeView.scope.name : ""
397 showBackButton: scopeView.hasBackAction
399 showBackButton: scopeView.hasBackAction
398 searchEntryEnabled: true
400 searchEntryEnabled: true
399− searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false
400 scopeStyle: scopeView.scopeStyle
401 scopeStyle: scopeView.scopeStyle
402 bottomItem: DashDepartments {
403 bottomItem: DashDepartments {
@@ -431,46 +432,4 @@ FocusScope {
431 pageHeader.unfocus();
432 pageHeader.unfocus();
440− bottom: parent.bottom
444− color: scopeStyle.backgroundLuminance > 0.7 ? "#50000000" : "#50ffffff"
445− visible: opacity > 0
446− opacity: scope && scope.searchInProgress && !departments.showList ? 1.0 : 0.0
447− Behavior on opacity {
448− UbuntuNumberAnimation { duration: UbuntuAnimation.FastDuration }
453− anchors { top: parent.top; bottom: parent.bottom }
454− width: parent.width / 4
455− color: Theme.palette.selected.foreground
457− SequentialAnimation on x {
459− loops: Animation.Infinite
461− from: -orange.width / 2
462− to: indicator.width - orange.width / 2
463− duration: UbuntuAnimation.SleepyDuration
464− easing.type: Easing.InOutSine
467− from: indicator.width - orange.width / 2
468− to: -orange.width / 2
469− duration: UbuntuAnimation.SleepyDuration
470− easing.type: Easing.InOutSine