[Geany-devel] GIO-based file monitoring revisited

Enrico Tröger enrico.troeger at xxxxx
Thu Jul 16 15:38:22 UTC 2009

On Tue, 14 Jul 2009 21:54:39 +0200, Enrico wrote:

>On Thu, 09 Jul 2009 22:34:48 +0200, Colomban wrote:
>>I've compiled the GIO monitoring yesterday and noticed no problem
>>until now. But just right now, I'm spammed with reload dialogs, I
>>really don't know why.
>>I opened a non-existing file from command line in order to create it
>>in a running Geany instance, then started editing it. And now,
>>sometimes (often) I get reload messages, but I really don't know why
>>as it seems not to be due to a fast save-edit cycle (I can't reproduce
>>this by edit/saving in a very short cycle), and surely not by a real
>>external file change.
>>If you have any idea of what can be the cause and/or how to
>It's definitely related to opening non-existent files from the command
>line, this is one use-case I never tested :).

The problem was that we don't setup file monitoring for new,
non-existent files. This is correct (obviously) but once the file is
saved to disk, we should start monitoring. This wasn't case but now
fixed in SVN.


Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090716/6baf1d69/attachment.pgp>

More information about the Devel mailing list