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





--- Comment #2 from Justin Brown <justin brown1 1 gmail com>  2010-01-22 
17:18:41 ---
Thanks Albert. Okular is automatically set to "Fit Width." It opens in "fit
width" and stays in "fit width" after "snapping."

Here's my understanding of how Okular works. Okular is in a "main window" that
contains the entire application. Inside that there is a sub-window (some type
of qt widget probably) that shows the document. When Okular is set to "fit
width" the sub-window sets its scale (zoom) based on the size of the main
window. Either Okular or Kwin is sending/receiving a strange window size. If
you look at the output that I posted, you can see that Okular repeats messages
like:

okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 695x...@0 async == true
okular(23703)/okular (app) Okular::Document::requestPixmaps: request id=3
678x...@0
okular(23703)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest:
sending request id=3 678x...@0 async == true

It thinks that the window size is changing between two values. Because "fit
width" is dependent on the main window size, Okular is constantly re-scaling
the document based on those two window sizes. 

The interesting thing is that the main window is not changing in size. It just
thinks that it is. The Okular window is not moving/resizing.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to