encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
125 stars 21 forks source link

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

Open dbalatoni13 opened 6 months ago

dbalatoni13 commented 6 months ago

It doesn't happen to me on version 1.0.0.

encounter commented 6 months ago

What platform? System specs (including GPU)?

dbalatoni13 commented 6 months ago

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.

encounter commented 6 months ago

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?

dbalatoni13 commented 6 months ago

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 commented 6 months ago

It started on v2.0.0-alpha.1

dbalatoni13 commented 6 months ago

This is how it looks on version 1.0.0

encounter commented 6 months ago

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.

dbalatoni13 commented 6 months ago

Yeah, it's the same thing.