Bug 136702

Summary: Keyboard navigation in kpdf in konq only possible after focusing it with the mouse after changing tab
Product: [Applications] kpdf Reporter: Marius <mariusst>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED FIXED    
Severity: normal CC: dextermagnific
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Marius 2006-11-02 11:55:55 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Gentoo Packages

When changing between tabs in konqueror, each time you get to your embedded kpdf showing a pdf you have to click inside the doc area to be able to use up/down or page up/page down keyboard navigation. This can become very annoying for someone changing alot between pdf's using only the keyboard.
Comment 1 Marius 2007-01-30 19:33:01 UTC
Still applies to 3.5.6
Comment 2 Pino Toscano 2007-01-30 19:37:35 UTC
I don't see this was marked as FIXED.
Comment 3 Albert Astals Cid 2007-01-31 20:22:32 UTC
SVN commit 628869 by aacid:

Fix Keyboard navigation in kpdf in konq only possible after focusing it with the mouse after changing tab
BUGS: 136702


 M  +1 -0      part.cpp  


--- branches/KDE/3.5/kdegraphics/kpdf/part.cpp #628868:628869
@@ -192,6 +192,7 @@
 	// widgets: [] | [right 'pageView']
 	m_pageView = new PageView( m_splitter, m_document );
 	m_pageView->setFocus(); //usability setting
+	m_splitter->setFocusProxy(m_pageView);
 	connect( m_pageView, SIGNAL( urlDropped( const KURL& ) ), SLOT( openURLFromDocument( const KURL & )));
 	connect( m_pageView, SIGNAL( rightClick(const KPDFPage *, const QPoint &) ), this, SLOT( slotShowMenu(const KPDFPage *, const QPoint &) ) );
 
Comment 4 Pino Toscano 2007-03-09 17:41:06 UTC
*** Bug 142747 has been marked as a duplicate of this bug. ***