Summary: | changing zoom factor causes keyboard focus to stay in the toolbar zoom widget | ||
---|---|---|---|
Product: | [Applications] kghostview | Reporter: | Jens <jens-bugs.kde.org> |
Component: | general | Assignee: | Luís Pedro Coelho <luis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jens
2003-07-24 14:22:30 UTC
Subject: kdegraphics/kghostview CVS commit by aacid: - Set the focus back to the document when the user changes the zoom, that fixes bug #61619 - When scrolling down using wheel and reaching the bottom of the page go next page upper part instead of next page bottom part, this fixes bug #60603 CCMAIL:60603-done@bugs.kde.org CCMAIL:61619-done@bugs.kde.org M +8 -5 kgv_view.cpp 1.146 --- kdegraphics/kghostview/kgv_view.cpp #1.145:1.146 @@ -443,6 +443,8 @@ void KGVPart::slotReadDown() return; - if( !_pageView->readDown() ) - slotNextPage(); + if( !_pageView->readDown() ) { + if( _docManager->nextPage() ) + _pageView->scrollTop(); + } } @@ -845,4 +847,5 @@ void KGVPart::slotZoom( const QString& n miniWidget()->setDisplayOptions( options ); miniWidget()->redisplay(); + _mainWidget->setFocus(); } |