okular switches to full-screen after software raise

Bug #1091870 reported by Axel G. Rossberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
okular (Ubuntu)
New
Undecided
Unassigned

Bug Description

To reproduce the bug, open a pdf file using okular, e.g.

okular /usr/share/doc/texmf/fonts/tex-gyre/qag-test.pdf

Make sures okular is NOT in full-screen mode (I make the okular window expand horizontally and vertically, but similar problems occur without expanding)

Using a command suchas wmctrl, raise the okular window two times:

wmctrl -a 'qag-test'; wmctrl -a 'qag-test'

Expected result: okular window is simply raised
Actual result: okular window is raised and goes into full-screen mode.

The same happens if the second raise is done using ALT-TAB.

Why would one want to use 'wmctrl -a '? To switch between LaTeX source and PDF output on a small screen.

Same problem with the KDE-4.8.5 version of okular

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: okular 4:4.9.90-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
Uname: Linux 3.2.0-34-generic x86_64
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Tue Dec 18 21:53:21 2012
ExecutablePath: /usr/bin/okular
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
LocalLibraries: /usr/local/lib/libwacomcfg.so.0.0.1
MarkForUpload: True
SourcePackage: okular
UpgradeStatus: Upgraded to precise on 2012-12-16 (2 days ago)

Revision history for this message
Axel G. Rossberg (axel-rossberg) wrote :
Revision history for this message
Axel G. Rossberg (axel-rossberg) wrote :

The problem seems to have disappeared after I removed all okular configuration files in ~/.kde/share/apps/okular/ and ~/.kde/share/config/ .

Changed in okular (Ubuntu):
status: New → Fix Released
Changed in okular (Ubuntu):
status: Fix Released → New
Revision history for this message
Axel G. Rossberg (axel-rossberg) wrote :

... but it re-appears when closing okular in a state where the okular window is maximized. The following change in /home/axel/.kde/share/config/okularrc seems to trigger the bug:

diff ~/.kde/share/config/okularrc /tmp/
5,6c5,6
< Height 800=800
< State=AAAA/wAAAAD9AAAAAAAABQAAAAL6AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
---
> Height 800=801
> State=AAAA/wAAAAD9AAAAAAAABLgAAALiAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgEAAAAA/////wAAAAAAAAAA
8c8
< Width 1280=1280
---
> Width 1280=1281

In the variant with "Height 800=801" and "Width 1280=1281" all works fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.