Bug 61535

Summary: C++ program window opens at line 1 when error is at line 1474
Product: [Applications] kate Reporter: Ian Wadham <iandw.au>
Component: partAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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 ;)