Bug 73270

Summary: cursor disappears when searched text is found inside a collapsed block
Product: [Applications] kdevelop Reporter: Endel Soolo <endel.soolo>
Component: QEditorAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: 3.0.0b2   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Endel Soolo 2004-01-22 20:43:14 UTC
Version:           3.0.0b2 (using KDE KDE 3.1.5)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Open this simple program file in any of the available editors:

int main ()
{
printf("Hello, world!\n");
}

Collapse all blocks so that screen looks like this:

 int main ()
+{

Search for the word "Hello".

What should happen:

* the collapsed block that contains the searched keyword becomes expanded
or
* cursor moves to the beginning of the collapsed block.

What actually happens:

If the QT-based editor is used, then cursor's coordinates on the status
bar remain the same as before the search command was given,
but cursor itself disappears. The collapsed block remains collapsed.

If the internal editor is used, then cursor's coordinates on the status bar
will show the correct location of the searched word (Line 3, Col 13),
but cursor disappears from the screen and the text block remains collapsed.
Comment 1 Jens Dagerbo 2004-01-23 00:08:00 UTC
Can't reproduce with katepart from 3.2, which I guess means this is a QEditor bug. 
Comment 2 Matt Rogers 2006-03-16 21:35:48 UTC
QEditor has been removed for KDevelop 4 and none of these bugs will be fixed 
between now and then.