Version: 2.5.0 (using KDE 3.5.0, Debian Package 4:3.5.0-1 (testing/unstable)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.8-2-386 When you select all the text(Ctrl+A) in a kate part(konqueror), then you switch the file(in konq by entering another text in Location Bar) the new opened file is fullselected.
SVN commit 495724 by alund: clear selection when closing a document. BUG:118588 M +1 -0 katedocument.cpp --- branches/KDE/3.5/kdelibs/kate/part/katedocument.cpp #495723:495724 @@ -2733,6 +2733,7 @@ // Explicitly call the internal version because we don't want this to look like // an external request (and thus have the view not QWidget::scroll()ed. view->setCursorPositionInternal(0, 0, 1, false); + view->clearSelection(); view->updateView(true); }
SVN commit 535525 by dhaumann: forward port SVN commit 495724 by alund: clear selection when closing a document. CCBUG:118588 M +3 -0 katedocument.cpp --- trunk/KDE/kdelibs/kate/part/katedocument.cpp #535524:535525 @@ -2634,7 +2634,10 @@ // update all our views foreach (KateView * view, m_views ) + { + view->clearSelection(); // fix bug #118588 view->clear(); + } // uh, fileName changed emit documentUrlChanged (this);
*** Bug 131395 has been marked as a duplicate of this bug. ***