Reset progress bar text when directory loading starts
ClosedPublic

Authored by broulik on Aug 26 2019, 7:44 AM.

Details

Reviewers
elvisangelaccio
Group Reviewers
Dolphin
Summary

Dolphin shows a different text for whether it is loading the directory or currently sorting its contents.
However, when entering a folder that causes sort criteria to change (e.g. because of different view properties in that folder), the status bar text is changed to "Sorting..." while it is still actually loading the folder.
When loading a directory starts, reset any status bar text to ensure "Loading..." is displayed in this case.

Test Plan

Configured one folder to sort by Name, the other by Date, both on slow devices.
Went from the Name-sorted folder to the Date-sorted folder.
Status bar showed "Loading..." instead of "Sorting..."

Diff Detail

Repository
R318 Dolphin
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Aug 26 2019, 7:44 AM
Restricted Application added a project: Dolphin. · View Herald TranscriptAug 26 2019, 7:44 AM
Restricted Application added a subscriber: kfm-devel. · View Herald Transcript
broulik requested review of this revision.Aug 26 2019, 7:44 AM
elvisangelaccio accepted this revision.Sep 1 2019, 6:00 PM
elvisangelaccio added a subscriber: elvisangelaccio.

Feel free to push to 19.08

This revision is now accepted and ready to land.Sep 1 2019, 6:00 PM