Bug 57510 - symlinks confuse error reporter
Summary: symlinks confuse error reporter
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-21 14:20 UTC by Dario Abatianni
Modified: 2003-04-26 15:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dario Abatianni 2003-04-21 14:20:00 UTC
Version:           3.0 alpha4 (using KDE KDE 3.1.1)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3 
OS:          Linux

Test case:

I have a project that lives in:

/home/eisfuchs/Development/cvs/konversation/

where "eisfuchs" is a symlink to

/attic/backup/home/eisfuchs

When I double click on a class in the class browser, everything is fine. Now change something that produces an error and recompile. The error reporter tells you where to look. Click on the error line and you will see, that another window opens, with the same class file in it, but the "resolved" symlink part. Try to "Compile this File" now. gideon will tell you that this file is not in your project's folder. Additionally you now have two different views of the same file. This can lead to confusion and unintentional reverting of changes made in the other window.

It seems that only the error reporter is suffering from this bug.
Comment 1 Jens Dagerbo 2003-04-21 15:47:42 UTC
This is quite nasty. Turns out that the outputview is fed the "resolved" path from the 
make process. This makes the outputview paths not match the paths the rest of gideon 
works with, since those are the "symlinked" paths. 
Comment 2 Caleb Tennis 2003-04-26 15:29:56 UTC
Jens's fix for this is now in CVS - we're all praying that it's the final resolve!