[Okular-devel] [Bug 223314] New: Document zooms in/out constantly when Okular is "snapped" using the Kwin effect

Justin Brown justin.brown1.1 at gmail.com
Mon Jan 18 18:10:57 CET 2010


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

           Summary: Document zooms in/out constantly when Okular is
                    "snapped" using the Kwin effect
           Product: okular
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: justin.brown1.1 at gmail.com


Version:           0.9.80 (using Devel)
OS:                Linux
Installed from:    Compiled sources

Using Kubuntu 9.10 (amd64) with the Beta PPA to get KDE SC 4.4.90.

Okular works perfectly fine, except when this bug occurs. 

Here's what happens:
1) Open a PDF with Okular.
2) Drag it to the right side of the screen, so that it "snaps" and resizes to
take up half the screen. (This is a new Kwin effect that Mimics Windows 7's
Aero Snap.)
3) The document becomes very unstable. The zoom is automatically set to "Fit
Width." It doesn't seem like Okular can figure out the window size because it
will slightly zoom in (probably 5% or so), then immediately zoom out to "fit
width." This repeats very quickly (probably 4 times per second).

The problem does not occur when:
1) The zoom level is set to any specific %.
2) The zoom level is set to "page fit."

Opening a document from the terminal results in this output:
:~$ okular Download/syllabus.pdf 
okular(23703)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open
ksycoca from  "/var/tmp/kdecache-justin/ksycoca4"                               
okular(23703)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:       
okular(23703)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:       
okular(23703)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:       
okular(23703)/kdecore (trader) KMimeTypeTrader::query: query for mimeType 
"application/pdf" ,  "okular/Generator"  : returning  1  offers                 
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=4
50x64 at 0                                           
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=4 50x64 at 0 async == true        
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true      
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0                                         
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
695x885 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x885 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x863 at 0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x863 at 0


It appears as though Okular can't decide its window size, so it changes the
sub-window where the document is shown.

-- 
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