Skip to content
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

Hiding OBS window (not with minimizing, but with hide from tray/status icon) when preview is active causes preview window to be transparent when OBS is shown/unhidden #7134

Open
RushingAlien opened this issue Aug 19, 2022 · 6 comments
Labels
Confirmed This bug report has been confirmed by project members Linux Affects Linux

Comments

@RushingAlien
Copy link

RushingAlien commented Aug 19, 2022

Operating System Info

Other

Other OS

Arch Linux, Flatpak

OBS Studio Version

27.2.4

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/JWL1Vk3wKTLzEhyS

OBS Studio Crash Log URL

No response

Expected Behavior

For preview to not be transparent

Current Behavior

Preview becomes transparent

Steps to Reproduce

  1. Be in a wayland session
  2. Run OBS
  3. Make sure OBS is running natively in wayland with xeyes, if the eyes follow, it's an x11 window
  4. If it is an x window, restart obs with QT_QPA_PLATFORM=wayland variable
  5. Hide OBS via the tray/status icon while preview is active
  6. Unhide/show OBS window again and see that it is transparent until i deactivate preview and activate it again

Anything else we should know?

Doesn't happen when hiding OBS while preview is inactive

obs-wayland-bug.mp4
@tytan652
Copy link
Collaborator

  • Make sure OBS is running natively in wayland with xeyes, if the eyes follow, it's an x11 window

  • If it is an x window, restart obs with QT_QPA_PLATFORM=wayland variable

Off-topic: we already enforce QT_QPA_PLATFORM=wayland in OBS code when under Wayland.

@kkartaltepe kkartaltepe changed the title [Linux][Wayland]Hiding OBS window (not with minimizing, but with hide from tray/status icon) when preview is active causes preview window to be transparent when OBS is shown/unhidden Hiding OBS window (not with minimizing, but with hide from tray/status icon) when preview is active causes preview window to be transparent when OBS is shown/unhidden Aug 19, 2022
@kkartaltepe kkartaltepe added Linux Affects Linux Confirmed This bug report has been confirmed by project members labels Aug 19, 2022
@tytan652
Copy link
Collaborator

Still happen on 29.

Note: step 3 and 4 are no longer required.

@evertvorster
Copy link

I can confirm that this happens to me too.
Arch Linux, KDE, and git version of OBS Studio

@nowrep
Copy link
Contributor

nowrep commented Apr 17, 2023

This seems to be Qt issue: https://codereview.qt-project.org/c/qt/qtwayland/+/472528 (fixed in Qt 6.5.1)

@RushingAlien
Copy link
Author

oh nice

@RushingAlien
Copy link
Author

Should i close? Since this is not OBS Studio's bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed This bug report has been confirmed by project members Linux Affects Linux
Projects
None yet
Development

No branches or pull requests

5 participants