Bug 185013

Summary: Presentation "current screen" uses default screen instead
Product: [Applications] okular Reporter: Steffen Jost <steffenjost>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.7.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Steffen Jost 2009-02-20 11:55:19 UTC
Version:           0.7.3 (using 4.1.3 (KDE 4.1.3) "release 72.4", KDE:KDE4:STABLE:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.7-9-default

Okular's configuration dialogue for presentations allows the settings "Current Screen", "Default Screen", "Screen0" and "Screen1". 

However, only the latter three work properly (a correct fullscreen presentation is shown on Screen0 or Screen1, despite having different resolution and aspect ratios).

It seems that "Current Screen" is equal to "Default Screen", which is annoying.

I am using an Nvidia TwinView mode, i.e. one x-server, non-xinerama. Other KDE programs correctly identify Screen, for example, maximizing windows, switching windows to the other screen via shortcut works fine.
Comment 1 Pino Toscano 2009-02-20 12:15:57 UTC
Ups, broke it when making the presentation widget non-modal.

Fixing in a minute.
Comment 2 Pino Toscano 2009-02-20 12:17:55 UTC
SVN commit 928888 by pino:

save the real parent widget and use it later for getting the screen number of the okular application
BUG: 185013


 M  +3 -2      presentationwidget.cpp  
 M  +1 -0      presentationwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=928888
Comment 3 Pino Toscano 2009-02-20 12:18:59 UTC
SVN commit 928890 by pino:

backport: save the real parent widget and use it later for getting the screen number of the okular application
will be in KDE 4.2.1
BUG: 185013


 M  +3 -2      presentationwidget.cpp  
 M  +1 -0      presentationwidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=928890