[Mono-bugs] [Bug 322330] [Regression] FileSystemWatcher events have incorrect information

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 16 08:05:30 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=322330

User alexander at kojevnikov.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=322330#c24


Alexander Kojevnikov <alexander at kojevnikov.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #170625|0                           |1
        is obsolete|                            |




--- Comment #24 from Alexander Kojevnikov <alexander at kojevnikov.com>  2009-09-16 06:05:26 MDT ---
Created an attachment (id=318505)
 --> (http://bugzilla.novell.com/attachment.cgi?id=318505)
Compile with: mcs main.cs -out:main.exe

Does anyone work on this bug? This issue is blocking a much wanted feature in
the Banshee project [1].

A few tests using the attached program:

$ mkdir watch && cd watch
$ mono ../main.exe .

$ touch f
Created:     ./f
$ mkdir d
Created:     ./d

# So far so good. Now DnD 'f' into 'd' from Nautilus
# (mv results in delete+create instead of rename)
Renamed
    old: /home/alex/Projects/mono-fsw-bug/watch/f
    new: /home/alex/Projects/mono-fsw-bug/watch/f
# That's a major problem, there's no way to get the new path of the file

$ mv d d2
Renamed
    old: /home/alex/Projects/mono-fsw-bug/watch/d
    new: /home/alex/Projects/mono-fsw-bug/watch/d2

# In Nautilus DnD 'f' from 'd2' to '.'
Renamed
    old: /home/alex/Projects/mono-fsw-bug/watch/d/f
    new: /home/alex/Projects/mono-fsw-bug/watch/d/f
# Now, not only the new path is wrong, the old path shows 'd' instead of 'd2'

Please consider bumping the priority of this issue. It prevents developers from
doing anything useful with the FileSystemQueue in Mono.

$ mono -V
Mono JIT compiler version 2.4.2.3 (tarball Sat Aug 22 12:32:22 CEST 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
$ pacman -Q kernel26
kernel26 2.6.30.6-1

[1] https://bugzilla.gnome.org/show_bug.cgi?id=385965

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list