Diffusion Muon 02b64d3db277

Lazily refresh the details tabs

Authored by vanini on Mar 14 2018, 6:08 PM.

Description

Lazily refresh the details tabs

Summary:
Refresh only the current tab when the selected package is changed.
Before, every tab was refreshed. That included getting the list of
installed files and downloading the changelog, even if that information
was not presented to the user.

The UI has a small change in that before, when a tab had nothing to show
(e.g. no alternative version available for the package) the tab itself
was hidden. After the change, the tab is still visible but it is grayed
out and cannot be selected (i.e. inactive).

BUG: 390785

Reviewers: sitter

Reviewed By: sitter

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

Details

Committed
vaniniMar 14 2018, 6:11 PM
Reviewer
sitter
Differential Revision
D11206: Lazily refresh the details tabs
Parents
R550:4f8476c11819: Summary: emit currentPackageChanged just once
Branches
Unknown
Tags
Unknown