File list never updated

Bug #732886 reported by Sergey "Shnatsel" Davidoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Luce Image Viewer
Confirmed
Wishlist
Unassigned

Bug Description

Luce loads file list only on startup and never updates it after that. Because of this files created or renamed after Luce startup can't be viewed without restarting Luce.

g_file_monitor_directory() from GIO library is a portable way to watch a directory for changes.

Also there's a different approach: do not load file list on startup and search for the next file just before it's needed. May create additional disk i/o but inotify may be slow when setting hooks. This should be the more portable approach.

Tags: file-list
description: updated
Revision history for this message
Marco Lazzaroni (marcolazzaroni) wrote :

A first step could be introducing a next() function.

Changed in luce:
importance: Undecided → Wishlist
status: New → Confirmed
milestone: none → 1.0.0
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.