Bug 61535 - C++ program window opens at line 1 when error is at line 1474
Summary: C++ program window opens at line 1 when error is at line 1474
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-22 14:17 UTC by Ian Wadham
Modified: 2003-11-03 22:19 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 Ian Wadham 2003-07-22 14:17:54 UTC
Version:           3.0.0a4 (using KDE 3.1.1)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

Sometimes when you click on an error message in the Messages window, the relevant C++ program file window opens at line 1 when the error is actually at a high line number (e.g. 1474).  If you then re-open the Messages window and click again (with the program file still open), the correct line gets highlighted (i.e. the problem occurs when the program file is not yet open).
Comment 1 Jens Dagerbo 2003-07-22 17:22:26 UTC
Isn't this the same katepart problem we're seeing everywhere? Anytime a call to open 
and go to a line in a large file, katepart potentially fails to do so. This happens from the 
greppart, debugger and replacepart also. 
 
I'm changing component back to general while searching for a katepart bug report for it 
and further comments on the issue.. :) 
Comment 2 Jens Dagerbo 2003-11-03 01:29:23 UTC
This is a kate problem and I suspect it has been fixed since. Reassigning to katepart and letting the kate-developers decide.
Comment 3 Christoph Cullmann 2003-11-03 22:19:30 UTC
openFile now operates sync, therefor such setCursorPosition calls work now reproducable well ;)