From d79b3daf9b3aee2526eeda4ea4824cb08ff12b9f Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 30 Nov 2020 17:26:10 -0300 Subject: [PATCH] [ui][screeshots] improvement: 'loading' message displays the amount of images being loaded --- CHANGELOG.md | 4 +++- bauh/view/qt/screenshots.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13f34bc0..9a648496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - UI - root dialog design and behavior - tooltip for the label displaying the number of applications on the table/available [#138](https://github.com/vinifmor/bauh/issues/138) - - screenshots dialog resizing behavior + - screenshots: + - dialog resizing behavior + - "loading" message displays the amount of images being loaded - "name filter" now requires ENTER or click to be triggered - some app actions icons are now displayed with a different picture when disabled to prevent confusion (e.g: launch, screenshots) [#138](https://github.com/vinifmor/bauh/issues/138) - suggestions button moved to the lower bar (label removed) diff --git a/bauh/view/qt/screenshots.py b/bauh/view/qt/screenshots.py index e2c5d2d3..1f255701 100644 --- a/bauh/view/qt/screenshots.py +++ b/bauh/view/qt/screenshots.py @@ -111,7 +111,7 @@ class ScreenshotsDialog(QDialog): else: self.img.setPixmap(QPixmap()) self.img.setCursor(QCursor(Qt.WaitCursor)) - self.img.setText('{}...'.format(self.i18n['screenshots.image.loading'])) + self.img.setText('{} {}/{}...'.format(self.i18n['screenshots.image.loading'], self.img_idx + 1, len(self.screenshots))) self.progress_bar.setVisible(True) self.thread_progress.start()