Bug 347510

Summary: Lag while scrolling up/down text with oxygen-gtk2
Product: [Plasma] Oxygen Reporter: x3ask
Component: gtk2-engineAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: b7.10110111, web
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description x3ask 2015-05-10 11:59:24 UTC
Scrolling down/up in text editor (Leafpad/Mousepad) is slow and choppy.
If window is maximized performance is even worse, even more lag.

Reproducible: Always

Steps to Reproduce:
1. Open a (large enough) text file.
2. Scroll down/up using mouse wheel or Page Down/Up

Actual Results:  
Lag, text chopping, high CPU load, unresponsiveness.

Expected Results:  
Less lag and choppiness.

oxygen-gtk2 1.4.6-1
Comment 1 Ruslan Kabatsayev 2015-05-10 12:05:05 UTC
This is most likely due to our inner shadows. I think we can't really fix it properly since we do have to repaint the whole widget due to how we had to implement the shadows. And since you use leafpad, you're likely on a slow machine. The only thing I can suggest you is using OXYGEN_DISABLE_INNER_SHADOWS_HACK environment variable, setting it to 1, i.e. starting your affected apps like this:

OXYGEN_DISABLE_INNER_SHADOWS_HACK=1 leafpad

This will disable the inner shadows, making the appearance slightly uglier, but at least you'll get the performance back.
Comment 2 Justin Zobel 2021-03-09 23:58:30 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 x3ask 2021-03-22 07:06:55 UTC
somewhat "heavier" than raleigh, adwaita or arc but not really an issue unless you look for it