Activity log for bug #732886

Date Who What changed Old value New value Message
2011-03-10 21:53:20 Sergey "Shnatsel" Davidoff bug added bug
2011-03-10 22:35:27 Sergey "Shnatsel" Davidoff 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. Watching the folder with inotify should be a decent solution. 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. Watching the folder with inotify should be a decent solution. 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.
2011-03-11 07:18:24 Marco Lazzaroni luce: importance Undecided Wishlist
2011-03-11 07:18:35 Marco Lazzaroni luce: status New Confirmed
2011-03-11 07:18:40 Marco Lazzaroni luce: milestone 1.0.0
2011-03-12 14:32:22 Sergey "Shnatsel" Davidoff 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. Watching the folder with inotify should be a decent solution. 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. 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.