Bug 167302 - after saving the file, okular doesn't scroll correctly
Summary: after saving the file, okular doesn't scroll correctly
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.6.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 169582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-23 17:30 UTC by Miguel Hernández
Modified: 2010-01-23 05:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Hernández 2008-07-23 17:30:30 UTC
Version:           0.6.3 (using 4.0.4 (KDE 4.0.4 >= 20080505) "release 15.2", openSUSE 11.0 (i586))
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.9-0.2-default

After I save as... a file, (I've seen this behaviour with pdf, ps and ps.gz file but i haven't tried with any other format) okular doesn't scroll pages correctly.

It seems that the window area that becomes hidden by the save as dialog gets frozen.

Thanks (-:
Comment 1 Albert Astals Cid 2008-07-24 20:42:05 UTC
Looks a lot like the Qt4.4 bug of NonNative->Native window

Can you try running with 

QT_USE_NATIVE_WINDOWS=1 okular

from a shell and see if it still happens?
Comment 2 Miguel Hernández 2008-07-25 14:10:25 UTC
I've tried that and seems to work better, but not perfectly either.

If I run okular with QT_USE_NATIVE_WINDOWS=0 (like i did in the original post), it happens just what i've already described. In console, the following error message is shown (I don't know if it has to do with the problem or not):

Error: Bad bounding box in Type 3 glyph

When I rerun the app with QT_USE_NATIVE_WINDOWS=1, I can scroll after saving as... a file, but with some files (specially when the save as dialog shows the "replace file" pop up), when I scroll, horizontal bands still get frozen. However, this only happen when i scroll fast with my mouse. Besides, if I scroll slowly afterwards, the problem disappears (this didn't happen with QT_USE_NATIVE_WINDOWS=0). This time, the following error message is shown in console, several times):

X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 59 (X_SetClipRectangles)
  Resource id:  0x4000486

Also, the other message (Error: Bad bounding box in Type 3 glyph) is also shown.

Tell me if I can add any more info.
Comment 3 Pino Toscano 2008-08-22 14:33:17 UTC
*** Bug 169582 has been marked as a duplicate of this bug. ***
Comment 4 Alexey Chernov 2009-01-07 20:04:23 UTC
Reproducible with KDE 4.1.3, but if pressing OK on Save Dialog with mouse it works ok further for me. But when I confirm it with Enter (from keyboard) it goes to 1st page.
Comment 5 Pino Toscano 2009-02-15 02:12:01 UTC
Can you (all) reproduce the problem with KDE 4.2?
Comment 6 Alexey Chernov 2009-02-15 19:03:10 UTC
No, I can't reproduce it on KDE 4.2.0 (Qt-4.5 rc1).