[Okular-devel] [Bug 180291] Okular presentation mode fails

Pino Toscano pino at kde.org
Sat Mar 7 18:46:55 CET 2009


https://bugs.kde.org/show_bug.cgi?id=180291





--- Comment #15 from Pino Toscano <pino kde org>  2009-03-07 18:46:52 ---
Hmm... ok. Attempt #2 then:

Index: ui/presentationwidget.cpp
===================================================================
--- ui/presentationwidget.cpp   (revision 935675)
+++ ui/presentationwidget.cpp   (working copy)
@@ -230,6 +230,8 @@
     // inhibit the screen saver
     inhibitScreenSaver();

+    show();
+
     QTimer::singleShot( 0, this, SLOT( slotDelayedEvents() ) );
 }

@@ -373,6 +375,7 @@
 // <widget events>
 bool PresentationWidget::event( QEvent * e )
 {
+kDebug() << e << e->spontaneous();
     if ( e->type() == QEvent::ToolTip )
     {
         QHelpEvent * he = (QHelpEvent*)e;


In this case, also remember to activate the okular debug areas in kdebugdialog;
then activate the presentation mode, go forward let's say 2-3 pages, and then
close it. Attach the output you get.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list