[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.4/kdegraphics/kpdf/ui
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2005-06-02 17:25:57
Message-ID: 1117733157.386274.2842.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 421281 by aacid:

backport fix for 106546


 M  +8 -4      pageview.cpp  


--- branches/KDE/3.4/kdegraphics/kpdf/ui/pageview.cpp #421280:421281
@@ -577,12 +577,14 @@
         {
             // part doesn't get this key event because of the keyboard grab
             d->findTimeoutTimer->stop(); // restore normal operation during possible \
                messagebox is displayed
-            releaseKeyboard();
+	    //commenting as seems to cause bug 106546 and does not seem to give anything
+            //releaseKeyboard();
             if ( d->document->continueSearch( PAGEVIEW_SEARCH_ID ) )
                 d->messageWindow->display( i18n("Text found: \
\"%1\".").arg(d->typeAheadString.lower()),  PageViewMessage::Find, 3000 );
             d->findTimeoutTimer->start( 3000, true );
-            grabKeyboard();
+	    //commenting as seems to cause bug 106546 and does not seem to give anything
+            // grabKeyboard();
         }
         // esc and return: end search
         else if( e->key() == Key_Escape || e->key() == Key_Return )
@@ -621,7 +623,8 @@
             connect( d->findTimeoutTimer, SIGNAL( timeout() ), this, SLOT( \
findAheadStop() ) );  }
         d->findTimeoutTimer->start( 3000, true );
-        grabKeyboard();
+        //commenting as seems to cause bug 106546 and does not seem to give anything
+        // grabKeyboard();
         return;
     }
 
@@ -1825,7 +1828,8 @@
     d->typeAheadActive = false;
     d->typeAheadString = "";
     d->messageWindow->display( i18n("Find stopped."), PageViewMessage::Find, 1000 );
-    releaseKeyboard();
+    //commenting as seems to cause bug 106546 and does not seem to give anything
+    //releaseKeyboard();
 }
 
 void PageView::slotZoom()


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic