thomaschampagne / elevate

A sport app to "Elevate" your training experience and goals! Track your fitness and progressions over time. Analyse deeper your activities. And more...
https://thomaschampagne.github.io/elevate-docs/
Mozilla Public License 2.0
1.28k stars 176 forks source link

[Desktop][Bug] Render errors since 7.1.0 update #1190

Open darkblood14 opened 5 months ago

darkblood14 commented 5 months ago

Since update 7.1.0 it seems that the UI has some render glitches, especially when switching tabs, especially on screens that have charts in them but it is not limited to it.

Steps to reproduce the behavior:

  1. Launch the app
  2. Move the cursor around on screen and switch tabs (e.g. Fitness Trend since it has the moving tooltip)
  3. Notice the black rendered areas or partially rendered UI elements.

Expected behavior UI elements are drawn correctly on screen with no duplicates or partial renders.

Video as it explains the problem much better: https://youtu.be/v8jrxTNmHqE

Environment

Notes:

thomaschampagne commented 5 months ago

Strange behavior. Do you encounter the issue on another computer?

darkblood14 commented 5 months ago

Hey, nope, on a laptop using a mobile nvidia card seems to work just fine but I think I might have found something. I didn't want to reply until I dug a little deeper and I remembered Microsoft Teams also having a similar issue in the past, for that one there is a setting within the app to disable Hardware Acceleration which fixes this problem (which might not even be from HW acceleration).

After a bit more google search I managed to get the desktop app to behave by turning g-sync on and keeping HW acceleration on (haven't tried anything more than rebooting the app so far so not sure if it is a real fix or it just somehow got the driver to reset which got it to not act like that, although just forcing a driver reset doesn't do the trick, G-Sync must be off it seems).

So for now I would say turning off G-Sync seems to be a workaround in case others have this issue.