aegif / CmisSync

Synchronize content between a CMIS repository and your desktop. Like Dropbox for Enterprise Content Management!

Home Page:http://CmisSync.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agent does not refresh when adding or removing folder

robsoncardosoti opened this issue · 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?

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?

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

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.

Nicolas,

In commit "dffc6c4" 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 did you solve the problem? i got same issue. Thank you.

@anggaind as discussed earlier this problem was inserted in the commit dffc6c4. 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 : 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,

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.