<div dir="ltr">Hi,<div>My similar problem, maybe not the same, was generated copy of source files in the build directory, especially after "make package_source".</div><div>After that parser was sometimes using those files, and if I delete them after parser parsed them, IDE was opening those as empty files.</div><div>I got the habit of running "<span style="color:rgb(0,0,0);font-family:monospace">make package_source && rm -r _CPack_Packages" to eliminate my case.</span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Examining the path with copy filename may give a clue as </span>René pointed out.</div><div>yavuz</div><span style="font-family:monospace"><br></span></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 6, 2020 at 8:57 PM Jan Kriho <<a href="mailto:erbureth@gmail.com" target="_blank">erbureth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I have encountered something similar when building in Docker - the<br>
paths were from the container, but KDevelop wanted to open them<br>
locally. Can this be your case?<br>
<br>
E.<br>
<br>
<br>
<br>
On Mon, 6 Apr 2020 at 19:30, René J.V. Bertin <<a href="mailto:rjvbertin@gmail.com" target="_blank">rjvbertin@gmail.com</a>> wrote:<br>
><br>
> On Monday April 06 2020 17:17:46 Leon Pollak wrote:<br>
> >Thanks, René. There is one symlink to the source file in the project of 88 files.<br>
><br>
> Symlink  to file shouldn't cause issues, unless of course it's broken.<br>
> The behaviour you describe suggests that KDevelop tries to open a non existing (= create a new) file; you can get the full path by right-clicking on the file tab and selecting "copy filename". That might give you an indication what's happening.<br>
><br>
> Do you have other projects open in the same session? If so it wouldn't be the 1st time KDevelop opens a file from the wrong project when clicking on a file reference... though I've only seen it open existing files.<br>
><br>
> R.<br>
</blockquote></div>