Resizing the window on Linux is incredibly laggy and have visible glitches

Steps to reproduce

Resize the window by dragging on the corner around.

Expected result

Window resizes smoothly and does not produce graphical glitches.

Actual result

Resizing windows produces visible graphical glitches, and it’s very laggy, as can be observed from the screencap below. I struggled a lot to get a proper recording because if I do this frequently enough, it crashes my entire desktop session. Other Electron applications do not behave like this.

Environment

  • Operating system: Fedora 32, Gnome 3.36.6 running on Wayland
  • Obsidian version: 0.8.15, appimage

Additional information

Screen recording of the problem:

We haven’t had reports like this. It may be something specific to your system.

Which GPUs do you have? On which GPU is Obsidian running on?

This is running on a laptop with only integrated graphics: Intel Corporation UHD Graphics 630

Might be related to this, although the comments suggest that Gnome 3.36.0 should have fixed this. Is this behaviour there when you use X11 instead of Wayland?

I can’t reproduce this. For context, I’m using Ubuntu 18.04 with Gnome-flashback (3.28.2) and have also an Intel UHD Graphics card 620.

:slightly_frowning_face: Just tested on X11 and it’s doing the exact same thing.

As of obsidian 0.9.4, this situation has mysteriously improved. Resizing windows has became much more responsive, now it’s on par with other Electron applications such as VSCode. It’s still a little slow but the glitch is completely gone.

Consider this resolved. Please move this to the graveyard. @argentum