Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Events for same action #83

Closed
SpartanJ opened this issue Mar 12, 2015 · 5 comments
Closed

Multiple Events for same action #83

SpartanJ opened this issue Mar 12, 2015 · 5 comments
Labels
bug Something isn't working major

Comments

@SpartanJ
Copy link
Owner

Original report by Yash pal (Bitbucket: codeyash, GitHub: codeyash).


I'm renaming file. I'm getting

#!log


DIR ( "/home/yash/Projects/qt/KiWi/kiwi-doc/" ) FILE ( "ApiEvents.textile1" ) has event Moved from ( "ApiEvents.textile" )
Reload PATH: "/home/yash/Projects/qt/KiWi/kiwi-doc"
DIR ( "/home/yash/Projects/qt/KiWi/kiwi-doc/" ) FILE ( "ApiEvents.textile1" ) has event Delete
Reload PATH: "/home/yash/Projects/qt/KiWi/kiwi-doc"
DIR ( "/home/yash/Projects/qt/KiWi/kiwi-doc/" ) FILE ( "ApiEvents.textile" ) has event Added
Reload PATH: "/home/yash/Projects/qt/KiWi/kiwi-doc"
DIR ( "/home/yash/Projects/qt/KiWi/kiwi-doc/" ) FILE ( "ApiEvents.textile" ) has event Modified

Sometimes proper Moved event and sometimes Deleted, Added series of events.

Am I doing anything wrong or its just OS specific. I want proper Moved event in all renaming cases and not deleted,added... series.

I don't know its bug or just random behavior or correct behavior.

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


Depends on the OS, this could be normal in some conditions. Let me know the OS and how are you renaming those files.

@SpartanJ
Copy link
Owner Author

Original comment by Yash pal (Bitbucket: codeyash, GitHub: codeyash).


Hi Martin,

I'm using Ubuntu

Using default file manager Nautilus. Result same even I change file from my product(KineticWing).

Moved is proper event but sometimes OS report deleted,added.... Can we do anything to improve current situation?

@SpartanJ
Copy link
Owner Author

Original comment by Yash pal (Bitbucket: codeyash, GitHub: codeyash).


On Windows it's working fine.

@SpartanJ
Copy link
Owner Author

Original comment by Martín Lucas Golini (Bitbucket: SpartanJ, GitHub: SpartanJ).


This is not an issue with the OS reporting wrongly the events. It's just how the software is managing the file renaming under the hood, i can't do anything about that. I tried here renaming files and always worked as expected. I don't have Nautilus to see why it's doing that, or if it's Nautilus the reason to blame.

But, everything is working as expected. Remember that i don't manage the events, that's the OS job, and if you get that events, it's what's really happening.

Regards

@SpartanJ
Copy link
Owner Author

Original comment by Yash pal (Bitbucket: codeyash, GitHub: codeyash).


I'm feeling same. Windows and MAC it's working fine. I will try other file managers on Ubuntu for more info on this issue.

@SpartanJ SpartanJ added major bug Something isn't working labels Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant