CmisSync icon indicating copy to clipboard operation
CmisSync copied to clipboard

Agent does not refresh when adding or removing folder

Open robsoncardosoti opened this issue 7 years ago • 9 comments

Hi Nicolas, Github's CmisSync has a bug where when adding or removing a folder to synchronize the agent does not view / update this change being necessary to close and open again. The downloaded version of http://cmissync.com/ does not have this problem. Could you help me with how to solve this problem?

robsoncardosoti avatar Mar 21 '17 11:03 robsoncardosoti

Could you please try with https://bitbucket.org/aegif/cmissync/downloads/CmisSync.2.9.4.0-.net4.6.2.exe ? Thanks for the feedback!

nicolas-raoul avatar Mar 21 '17 11:03 nicolas-raoul

Nicolas, Thanks for the quick response. The .exe works normally, but the github source code does not work. I would like to add new features, but it seems that the github code is not very up to date. Do not have the solution to fix this problem in github?

robsoncardosoti avatar Mar 21 '17 12:03 robsoncardosoti

Did you try the .exe above, after uninstalling previous CmisSync? The .exe above is made from the latest Github source code.

nicolas-raoul avatar Mar 21 '17 12:03 nicolas-raoul

Nicolas,

According to my test the version that works perfectly is 2.6.5.0 which can be downloaded at https://bitbucket.org/aegif/cmissync/downloads/CmisSync.2.6.5.0.exe link. Version 2.9.4.0 has the problem and is found in github.

robsoncardosoti avatar Mar 21 '17 13:03 robsoncardosoti

Nicolas,

In commit "https://github.com/aegif/CmisSync/commit/dffc6c461a400db1a03213a64efae2e6f09f7f7d" was removed from the code "CreateMenu ();" Which apparently was what caused the bug. I could not understand the reason for removing this code, but apparently the menu is shaking / blinking.

robsoncardosoti avatar Mar 21 '17 14:03 robsoncardosoti

@robsoncardosoti did you solve the problem? i got same issue. Thank you.

anggaind avatar Sep 21 '17 03:09 anggaind

@anggaind as discussed earlier this problem was inserted in the commit https://github.com/aegif/CmisSync/commit/dffc6c461a400db1a03213a64efae2e6f09f7f7d. I have not solved it yet, because when I revert the commit the problem is corrected but it generates another where the screen flashes.

robsoncardosoti avatar Sep 21 '17 11:09 robsoncardosoti

@robsoncardosoti : i just found a workaround to solve this problem. Modify StatusIcon.cs at MouseClick event. Add event for Mousebutton right click to update the context menu.

private void NotifyIcon1_MouseClick(Object sender, MouseEventArgs e) { if(e.Button == MouseButtons.Left) Controller.LocalFolderClicked(""); else if (e.Button == MouseButtons.Right) CreateMenu(); }

anggaind avatar Sep 21 '17 11:09 anggaind

@anggaind,

Good thing you got a contour solution. I am no longer using CmisSync because I encountered authentication overload issues on my Active Directory server and I did not find a solution to this excess authentication request, and there was a network overload with the synchronization of the files. I believe your solution can be committed in the repository to contribute to others who have the same problem.

robsoncardosoti avatar Sep 25 '17 12:09 robsoncardosoti