Opened 10 years ago

Last modified 9 years ago

#45910 new defect

okular @0.6.4 makes broken screen when scrolling

Reported by: lightoml@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dsfrancis03@…, alessanderbotti@…, mkae (Marko Käning), xfacter@…
Port: okular

Description

Okular 0.6.4 in KDE4.13.3 makes broken screen when scrolling slowly. I attached the screenshot for broken screen. Could you fix the problem?

Thanks!

Attachments (1)

okular 2014-11-16 PM 9.58.34.png (709.9 KB) - added by lightoml@… 10 years ago.

Download all attachments as: .zip

Change History (26)

Changed 10 years ago by lightoml@…

comment:1 Changed 10 years ago by lightoml@…

It is running OSX 10.10 Yosemite

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: okular 0.6.4 removed
Owner: changed from macports-tickets@… to nicos@…
Port: okular added
Summary: Okular makes broken screen when scrollingokular @0.6.4 makes broken screen when scrolling

comment:3 Changed 10 years ago by lightoml@…

I tested it using external monitor. Strangely there is no problem with the external monitor. It seems to be related to mac monitor. I'm using MBR 15 inch 2013 late

comment:4 Changed 10 years ago by dsfrancis03@…

Cc: dsfrancis03@… added

Cc Me!

comment:5 Changed 10 years ago by dsfrancis03@…

I'm having exactly the same issue on my Late 2008 15" Macbook Pro, which is also running Yosemite. Here is version information about okular on my Macbook:

$ /Applications/MacPorts/KDE4/okular.app/Contents/MacOS/okular --version 
Qt: 4.8.6
KDE Development Platform: 4.13.3
Okular: 0.19.3

comment:6 Changed 10 years ago by NicosPavlov

I could also reproduce the problem, and I think this is due to Okular not handling Retina resolutions properly. Reducing the screen resolution seems to avoid the issue, which is also consistent with the fact that external monitors do not have this issue apparently (see comment:3). Also, changing the zoom value refreshes the screen and suppresses the artifacts.

An issue such as this one should probably be reported upstream.

comment:7 Changed 10 years ago by dsfrancis03@…

I'm having this issue on my Macbook, which has an old (non-Retina) display type. I also tried with an external display, but I still had the issue. Hope it goes away on my Macbook as well if it's fixed on Retina display.

comment:8 Changed 10 years ago by NicosPavlov

If the issue also appears in non-Retina machines, then my assumption is wrong about the influence on the screen resolution. I noticed however that the problem seems to arise when using the trackpad, but not an external mouse. Also, scrolling by using the cursor also works fine.

Bug reported upstream at: https://bugs.kde.org/show_bug.cgi?id=341945

comment:9 Changed 10 years ago by alessanderbotti@…

Cc: alessanderbotti@… added

Cc Me!

comment:10 in reply to:  9 Changed 10 years ago by alessanderbotti@…

I'm also affected. I have a non-Retina display and the problem is also present on my external monitor. Moreover, the problem only occurs when using the trackpad, it does not occur when using an external mouse.

comment:11 Changed 10 years ago by dsfrancis03@…

Looks like it's an issue with the trackpad. I checked that the issue doesn't appear when I use an external mouse or the scroll bar.

Last edited 10 years ago by dsfrancis03@… (previous) (diff)

comment:12 Changed 10 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:13 Changed 10 years ago by mkae (Marko Käning)

Version: 2.3.2

comment:14 Changed 10 years ago by lightoml@…

Any update on this issue? This problem is still occured in version 2.3.3.

comment:15 Changed 10 years ago by lightoml@…

Is there any news on it?

comment:16 Changed 10 years ago by xfacter@…

Cc: xfacter@… added

Cc Me!

comment:17 Changed 10 years ago by xfacter@…

I'm also having this issue on Yosemite. It's a shame because Okular seems like the only real Mac alternative to Djview for reading DJVU files. I've found that there are actually more working DJVU viewers for iOS. Are there any ideas yet what the issue is?

Last edited 10 years ago by xfacter@… (previous) (diff)

comment:18 in reply to:  17 Changed 10 years ago by mkae (Marko Käning)

Replying to xfacter@…:

I'm also having this issue on Yosemite. It's a shame because Okular seems like the only real Mac alternative to Djview for reading DJVU files. I've found that there are actually more working DJVU viewers for iOS. Are there any ideas yet what the issue is?

Can you verify that an external mouse "solves" the issue, as pointed out in comment:11?

comment:19 Changed 10 years ago by xfacter@…

Actually, I just tested it with a magic mouse and trackpad on internal and external monitors, and I can confirm that the issue does NOT go away for any combination. In fact, I believe I found the real issue. The issue persists with the magic mouse, but it is far less pronounced. I noticed it only seems to happen at the beginning or end of scrolls when placing or removing my finger from the magic mouse. Then I noticed that if I am very careful to scroll as vertically as possible, the issue goes away or happens very infrequently. Next I tried scrolling very carefully with the trackpad trying to keep it as vertical as possible, and the issue is still bad but less pronounced than normal. Finally, I tried scrolling with both the trackpad and magic mouse with some horizontal component to my scroll direction. The issue becomes very pronounced.

So, I believe the issue is that the rendering pipeline somehow gets confused when the input device attempts to scroll in a direction with some horizontal component, and it apparently has issues with constantly detecting a horizontal component from the trackpad. This only seems to be the case when directly scrolling with hardware -- i.e. click+drag with the mouse is unaffected. So it makes sense that the issue would go away when using a mouse that only scrolls vertically. Please try for yourself if you are able to reproduce the issue.

By the way, while I'm here I might as well ask if anyone else has issues with the "reload on file change" feature constantly trying to reload the document and causing lag, in 2.3.3 on Yosemite? I'll make a new ticket if it's not already been discussed elsewhere.

Version 1, edited 10 years ago by xfacter@… (previous) (next) (diff)

comment:20 Changed 10 years ago by xfacter@…

A quick fix would be to disable diagonal scrolling and only allow vertical/horizontal depending on scroll angle. Is there any other news yet on this issue?

comment:21 in reply to:  20 ; Changed 10 years ago by lightoml@…

Replying to xfacter@…:

A quick fix would be to disable diagonal scrolling and only allow vertical/horizontal depending on scroll angle. Is there any other news yet on this issue?

How to be disable diagonal scrolling?

comment:22 in reply to:  21 Changed 10 years ago by xfacter@…

Replying to lightoml@…:

How to be disable diagonal scrolling?

Sorry, I meant it would be a quick fix at the code level. I don't think there is an existing setting for this in the program.

comment:23 Changed 10 years ago by lightoml@…

Okular is updated. But the problem is still not fixed.

comment:24 Changed 9 years ago by lightoml@…

Any news on this issue? There is still the problem.

comment:25 Changed 9 years ago by NicosPavlov

The problem has been symptomatically identified, and reported upstream. There is not necessarily the resources in Macports to fix issues directly in the code when upstream does not follow up. I myself do not know the code of okular well enough to identify where this could be tackled.

However, if you happen to have a patch fixing the issue to propose, it would be fully considered.

Note: See TracTickets for help on using tickets.