-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible damage issue with some Qt apps such as OBS Studio #2366
Comments
Uploaded log and video. |
@kode54 Does this help your problem in anyway?
If it fixes your problem then it's most likely a Qt theme issue. PS: At the moment I cannot see a "Screen Capture (Pipewire)" option in obs at all for reasons I do not understand. |
Screen Capture Pipewire requires xdg-desktop-portal-wlr to be functioning, or -kde for Plasma desktop. Not sure what else it needs to pop into existence. And I guess that theme issue means the default Breeze theme is broken? |
Well. I have all of that working and running. From the #wayfire channel:
That is always a possibility, and would not be the first time. It also depends on what the app itself is doing. If it's trying to apply some transparency effects, then it would be the app problem rather than the theme. |
I wouldn't expect OBS Studio to be applying transparency effects to a property sheet dialog box popup. |
@kode54 Thanks for your help in getting obs working on my laptop. For now, it seems to work. Try as I may, I am unable to reproduce the bug you face. I tried a few variations when testing:
In each case, I have opened the properties dialog 5 times via the menu, and 5 times with the button. In all the tests, I could not find any inconsistencies/artefacts. My tests were performed on DesQ, rather than Wayfire vanilla. The main difference is that DesQ uses platform-theme DesQ, that defines a custom palette without any transparencies. This would have effect only in the second set of variations - OBS Theme: System. Aux Info: PS: I know 6.7.1 is available, I'll test it and update this comment when done. |
@kode54 Please test with the patch discussed in the comments above, if that helps, then the bug is indeed in Qt. Otherwise, please consider re-uploading the video, I cannot play in anymore in the browser. |
Commenting out that block of code did not fix the bug. The video is still live at the link in the top post. It requires a video player with HEVC support. I suppose I can upload a transcode to H.264 somewhere. |
I uploaded a h.264 transcode above, in the opening post. |
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:
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
The text was updated successfully, but these errors were encountered: