Summary: | scrolling with the mouse-wheel skips pages | ||
---|---|---|---|
Product: | [Applications] kghostview | Reporter: | Mark Gibson <kde> |
Component: | general | Assignee: | Wilco Greven <greven> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | luis |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Mark Gibson
2003-01-30 23:00:21 UTC
Wheel mouse handling has changed in both BRANCH and HEAD. I don't know if it fixed this particular problem and don't have a wheel mouse, so I ask whether any can check it out. thank you, luis pedro coelho I finally installed a wheel-mouse I had lying around (you got to love open source: it's easy to get a webserver going, but making a mouse work takes an hour of man + google + edit config files in random fashion :). I can see this bug in HEAD, but not in 3.1.2. It might be related to the commit I did this mourning. Will try to investigate. I meant the other way around: I can reproduce in 3.1.2 but not in HEAD. sorry, luis In fact, the exact behaviour the original report speaks of is only really visible in 3.0.0. Both HEAD and 3.1.2 seems to skip pages after opening several files, but not in a so orderly fashion. I can consistently reproduce by opening several files in a row that eventually I will only be able to see the even numbered pages, but I don't really see the full logic yet. Subject: KDE_3_1_BRANCH: kdegraphics/kghostview CVS commit by luis_pedro: Backport of fix: do initialization in the constructor so as not to do it twice resulting in slots being called several times. CCMAIL: 53693-close@bugs.kde.org M +7 -6 kgv_view.cpp 1.110.2.5 --- kdegraphics/kghostview/kgv_view.cpp #1.110.2.4:1.110.2.5 @@ -239,4 +239,11 @@ KGVPart::KGVPart( QWidget* parentWidget, this, SLOT( slotPageMoved( int, int ) ) ); + connect( _pageView, SIGNAL( nextPage() ), SLOT( slotNextPage() )); + connect( _pageView, SIGNAL( prevPage() ), SLOT( slotPrevPage() )); + connect( _pageView, SIGNAL( zoomIn() ), SLOT( slotZoomIn() )); + connect( _pageView, SIGNAL( zoomOut() ), SLOT( slotZoomOut() )); + connect( _pageView, SIGNAL( ReadUp() ), SLOT( slotReadUp() )); + connect( _pageView, SIGNAL( ReadDown() ), SLOT( slotReadDown() )); + readSettings(); @@ -538,10 +545,4 @@ void KGVPart::slotOpenFileCompleted() _docManager->goToPage( _currentPage ); stateChanged( "documentState" ); - connect( _pageView, SIGNAL( nextPage() ), SLOT( slotNextPage() )); - connect( _pageView, SIGNAL( prevPage() ), SLOT( slotPrevPage() )); - connect( _pageView, SIGNAL( zoomIn() ), SLOT( slotZoomIn() )); - connect( _pageView, SIGNAL( zoomOut() ), SLOT( slotZoomOut() )); - connect( _pageView, SIGNAL( ReadUp() ), SLOT( slotReadUp() )); - connect( _pageView, SIGNAL( ReadDown() ), SLOT( slotReadDown() )); if ( !_fileWatcher->contains( m_file ) ) _fileWatcher->addFile( m_file ); |