This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 The project is Makefile based C/C++ project, the project files are located in a directory that shared to windows client PC via samba, if I start netbeans on windows client PC and open the project by Open Remote C/C++ Project, then open a file to coding..., several hours later, you'll found that the file content in disk is different from you see in IDE, the changes on file is not saved, and from then on, any changes to this file can not save to disk, the IDE say no error. It works fine if i open the project by Open Project instead of Open Remote C/C++ Project. I am not found any certain steps to reproduce this issue.
Created attachment 147274 [details] IDE log
if i click Save as to save the file to desktop, not the project's dir, the IDE say: the file is modified but not saved, click save, then check the file in project dir, it is the correct version, but the file saved on desktop is not.
I'm sorry, I cannot reproduce this problem (Windows client, remote project stored in a VirtualBox Linux server). Reassigning to cnd/Remote, please evaluate it. Thank you.
"Open Remote Project" item is for the case your project resides on remote host and is *not* shared via Samba. If you open project via this menu item, IDE accesses its files via sftp - that's the reason of slowness. If your code is shared via Samba, please do the following: - go to remote host properties and set "Access Project Files Via" field to "System-level file sharing" - open your project via "Open a project", not via "Open Remote Project", in project properties select your remote host. Ideally, when you open project via "Open Remote Project" (we call this "full remote" mode), and part or all sources can be accessed via a shared folder, IDE should recognize this and use the share automatically; but this isn't yet done. There is a bug 235669 filed in this respect.
Yes, I open my remote project by "Open a Project" and access the code by "System-level file sharing" for a long times, no problem with this method. But later, i begin to open the project via "Open a Remote Project" because the building is far faster than via "Open a Project", in former scenario, the building procedure start immediately while clicked the "build" or "clean and build", but in the latter scenario, i must wait for 3~5 seconds before the building procedure starting. It will be ideal if the building is faster than now it is, open via local project or remote project is irrelevant. Anyway, thinks for the great IDE and you all.