Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gThumb
gThumb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gThumbgThumb
  • Issues
  • #142

Closed
Open
Opened Nov 16, 2020 by Jeff Fortin Tam@jfft

While loading items for the sidebar in single image view mode, show progress instead of "(Empty)" which is misleading

If, from Nautilus, in a cluttered folder with many files (like your ~/Downloads folder; mine has over 500 files in it), you open an image file for GThumb to display, GThumb shows the "(Empty)" label in the sidebar:

sidebar_loading_in_a_large_folder_-_before

In many cases I've thought there was a bug and GThumb was unable to show items in the folder. Well, this is a lie. A dirty, dirty lie! Behold, a little while later:

sidebar_loading_in_a_large_folder_-_after

So, presuming you don't want to embed a Gtk Progressbar widget in there, I think a very simple and effective solution would be to set the label to "Loading (CURRENT_ITER) of (TOTAL)…", ex.: "Loading 45 of 544…". No need for super accurate percentages, and updating that GtkLabel widget should be super cheap in terms of performance.

Keep the "(Empty)" label only for when the folder is truly empty.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gthumb#142