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

Fail to change active window at focus change on X11 KDE Manjaro (arch) #1303

Open
kuolemaaa opened this issue Feb 3, 2025 · 2 comments
Open

Comments

@kuolemaaa
Copy link

Operating System Info

Other

Other OS

KDE X11 Manjaro (arch)

OBS Studio Version

31.0.0-1

Advanced Scene Switcher Version

1.28.1

Plugin settings

AAAH1HicvVXbThsxEP2VyE9tlUTZQOkmbyUFNRK0lFD6UCHkeGd3rXjtlS8hNMq/15e9hpa+FQlpczyX45k54z0qMJFCofnPPeK4ADRHJMc8g0dMNN3C4xPliXhCQ5RJYUo0TzFTMEQlNgpWeAvnkOMtFRLNJxXasZGYMWANIPjCx24AtaHlxQ7IV77SWOoW16L8aPMLrpbpF6E/Cd46ucS5kHpBJTFUX2wxM9jZdi0WxsYoFoIn1B0tciCbJdcgrXVjR1412iMXGTofk/F0dvQ3RPq5dEcHm5ZT7cuwBak8n8iiiSCbFWhNeaZcLAkZVTZHwyLH6tbwc6O1c9HSBOzG1fIFauukjbrC605Zc5rlzP7rZdrcRd1J05ZM1vHvYGcpIpsPVd3q4T4ncjd5efY9YPaU9JIERpVRm3+AJQwc7XHP49IRes3FM3Y+rm7LxBrgZKvUyM/pyIGjNHofJzA5G8Wwjken0QxGOE3Xo+Q0/nBG4iieTWN01AXvHkaqSbgqGdW2EzdC0TA/VgSlE8PJ7OQwbL6nh4cqwIXlFoK84ns2aXwnzrNu+GehN/Cs+hIKoPV+aKrehbTIMgY3x3BbT59XQVYA190pI4IxXCpIXoqiPzyki6Hr5wHzn7Zk1BW/kT8TGSV+uhMjvdyuRUJT6gZ5jzQt4NGyUlpiyoMKFDia6s9CmvxLOBYmTo93VLN2kCs6czR+h+pft5DBzjY1pZlLARyvnUeQjN1BmnYkL8qqbC5vahhTRAK0q6PAO1rQX526pcKWqA4XMl46KKyypD7xZH/44zDYlbsOU47C11+4tgszkA0he1w7pbEDgMl/6b4SRhIn+UC0uWyFu8aHJg7rx6Ow7a/fjEPNE82ntU/Fst5r+5DHyR1sJ2gZzJFnwEujr0HnwppERwEaV4JLbWTnneoHCh0ZvLmyEnyL/CLgBrMqyn0Yx9CdorzHsr1T5Gqw83frK6G3V1RT9XAJ6p4PhglYdYTCdLCvMnFy8VsBmlWigqb9dS0D6irtMWe27QJ1Pb8ZMDXSsEHReBqPI3T4Dbqhuj4=

OBS Studio Log URL

https://obsproject.com/logs/Jbg4PGWDLoh8CJrN

OBS Studio Crash Log URL

No response

Expected Behavior

Change window to put on stream to the focused one when focus change

Current Behavior

Switch window of the source to [Unknown window]

Steps to Reproduce

  1. Set the macro as the exported macro
  2. Change focus
  3. Wait at least 3 seconds (3000ms)
    ...

Anything else we should know?

No response

@WarmUpTill
Copy link
Owner

Just to avoid misunderstandings:
You are trying to change the window being captured by a window capture source right?

While I have not looked into the implementation for Linux specifically, if it is somewhat similar to the one for Windows, it might be a bit more complicated to set this up depending on how the settings are stored internally in the window capture source.
Here is the example for the Windows implementation of the window capture source:
https://github.com/WarmUpTill/SceneSwitcher/wiki/Change-capture-window-of-Window-Capture-source
I assume just the title of the window will also not suffice for the Linux implementation as there might be multiple windows with the same name.

Sorry for the delayed response.

@kuolemaaa
Copy link
Author

You are trying to change the window being captured by a window capture source right?

Yes. The OBS Source is called Window Capture (Xcomposite) (I am on X11 KDE at this moment). I want to update it when the focus changes. It actually changes it to [Unknown window].

I assume just the title of the window will also not suffice for the Linux implementation as there might be multiple windows with the same name.

Yes. I've though about that. That could be a problem indeed.

Sorry for the delayed response.

Thanks for your response and for the project, very cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants