wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Possible damage issue with some Qt apps such as OBS Studio

Open kode54 opened this issue 1 month ago • 9 comments

Describe the bug This is a slightly more general damage issue with Qt apps, but the most recent one in my memory is OBS Studio. It occurs at least with the Properties dialog for Screen Capture (PipeWire). It does not occur on labwc, and does not occur on Plasma or GNOME. The issue that occurs is that the opaque regions of the window are completely transparent to what's underneath the window, until something else damages them, and then the window objects fill in.

A similar issue occurred sometimes with Qt drop list menus, where the menu outline would paint, but only the selected menu option would paint, until the rest of them are moused over. It would then paint fully on successive openings.

Possibly a Qt bug, possibly Wayfire, possibly wlroots.

To Reproduce Steps to reproduce the behavior:

  1. Mostly default configuration of Wayfire, on amdgpu.
  2. Open OBS Studio
  3. Add a Screen Capture (PipeWire) source to the scene
  4. Open its Properties dialog by right clicking on the entry in the scene list and selecting it at the bottom of the menu

Expected behavior Background of the Properties dialog should be opaque, as should its controls.

Screenshots or stacktrace WAYLAND_DEBUG log and screen recording of the holes in the dialog: obs_wldebug.log.txt obs_capture.mp4

obs_capture.x264.mp4

Wayfire version 0.8.1.r302.g5b4f9b94-1

kode54 avatar May 23 '24 22:05 kode54