objdiff icon indicating copy to clipboard operation
objdiff copied to clipboard

Scrolling (both in object select and diff panel) is lagging in the version 2.0.0-alpha.3

Open dbalatoni13 opened this issue 1 year ago • 9 comments

It doesn't happen to me on version 1.0.0.

dbalatoni13 avatar Jun 04 '24 14:06 dbalatoni13

What platform? System specs (including GPU)?

encounter avatar Jun 04 '24 14:06 encounter

It's a laptop. Windows 10 22H2, AMD Ryzen 7 5800H with integrated AMD Radeon RX Vega 8 graphics and 16 GB DDR4 RAM. I am using the trackpad to scroll, it doesn't lag while I'm gliding my finger, just if I give it a big push and then release. When doing this, the other version scrolls smoothly, but in this version there is first a delay and then it quickly jumps to where it should.

dbalatoni13 avatar Jun 04 '24 14:06 dbalatoni13

v2.0.0-alpha.4 is released with options to choose a different graphics backend. Could you try DirectX 12 or OpenGL to see if that helps?

encounter avatar Jun 06 '24 00:06 encounter

It happens with all backends, using objdiff with my RTX 3050 results the same behaviour. Here is a video of how it looks like. I will try to look which release introduced this. Maybe it's even normal? The fps stays stable at 120 fps (120 Hz display).

dbalatoni13 avatar Jun 06 '24 00:06 dbalatoni13

It started on v2.0.0-alpha.1

dbalatoni13 avatar Jun 06 '24 00:06 dbalatoni13

This is how it looks on version 1.0.0

dbalatoni13 avatar Jun 06 '24 00:06 dbalatoni13

Ah, thanks for the videos. I thought you were describing a graphics bug, but I see the issue now. This looks like an upstream egui bug: https://github.com/emilk/egui/issues/4350 That looks like it's the same thing, but correct me if I'm wrong.

encounter avatar Jun 06 '24 00:06 encounter

Yeah, it's the same thing.

dbalatoni13 avatar Jun 06 '24 00:06 dbalatoni13

Someone suggested requesting a repaint every frame as a workaround for now.

dbalatoni13 avatar Jan 03 '25 13:01 dbalatoni13