Bug 112414

Summary: Glossary: Always select active item
Product: [Applications] kalzium Reporter: Carsten Niehaus <cniehaus>
Component: generalAssignee: Kalzium Developers <kalzium>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Carsten Niehaus 2005-09-11 13:44:25 UTC
Version:           1.4.2 (using KDE 3.4.2, Kubuntu Package 4:3.4.2-0ubuntu4 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-8-386

If you select a reference from within the item-text the new item is not selected in the treeview. This is very unintuitive.
Comment 1 Pino Toscano 2007-02-13 16:23:51 UTC
Fixed in trunk already.
Comment 2 Pino Toscano 2007-02-13 16:24:14 UTC
SVN commit 633229 by pino:

Visually select the new item when switching to another item through the References links.

BUG: 112414


 M  +6 -1      kdeeduglossary.cpp  


--- branches/KDE/3.5/kdeedu/libkdeedu/kdeeduui/kdeeduglossary.cpp #633228:633229
@@ -241,7 +241,12 @@
 		}
 		++it;
 	}
-	slotClicked( found );
+	if ( found )
+	{
+		m_glosstree->ensureItemVisible( found );
+		m_glosstree->setCurrentItem( found );
+		slotClicked( found );
+	}
 }
 
 void GlossaryDialog::updateTree()