Bug 112414 - Glossary: Always select active item
Summary: Glossary: Always select active item
Status: RESOLVED FIXED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-11 13:44 UTC by Carsten Niehaus
Modified: 2007-02-13 16:24 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 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()