Emulator Issues #8850
closedBackground input always enabled on Linux
0%
Description
That's been happening to me for a while and it's really annoying. Unchecking the box doesn't do anything and input continues to be processed without the window being in focus.
Not sure if it's a regression or not, but in doubt I'll mark it as one. If we're not going to support background input properly on Linux, the option should be removed.
Updated by delroth over 8 years ago
Tentatively assigning to phire since he worked on Linux input stuff last... he might have an idea about how to make that work.
Updated by degasus over 8 years ago
- Regression changed from Yes to No
- Milestone changed from Current to Next
As far as I know, this is not a regression, just an unimplemented feature. But I agree, it is very annying.
For 5.0, I doubt we should rewrite all of our linux input code to fix this issue.
Updated by delroth over 8 years ago
So we're going to ship a stable release with a checkbox that lies about its effect?
Updated by degasus over 8 years ago
If you want, we could implement a flag if it's supported.
Updated by degasus over 8 years ago
Seems like http://docs.wxwidgets.org/trunk/classwx_window.html#a777258379a3eef1b0530f12db6b77cab doesn't work with render-to-main.
Updated by delroth over 8 years ago
- Category changed from controls to ui
Confirmed to not be a regression -- tried it on 4.0.2 on my Arch system and it seems to not work. Might be an issue with newer WX versions though.
Looked at it a bit and my impression is that WX is not receiving any GTK focusin/focusout events when the render window is active. So it looks like a WX issue and not an input issue.
Updated by delroth about 8 years ago
- Has duplicate Emulator Issues #9255: Emulator listens to keypresses although on other workspace (i3 wm) added
Updated by JosJuice almost 8 years ago
- Milestone changed from Next to Current
5.0 was released, moving Milestone-Next to Milestone-Current.
Updated by degasus almost 8 years ago
Good luck, this issue will get fixed by itself. Wayland doesn't support background input, and Xorg has picked the same behavior now for security reasons.
So the title should be called "drop background input on linux"....
Updated by leoetlino over 7 years ago
This may have been fixed by #4394 (it fixed focus detection for me, with render to main enabled) in 5.0-1161
Updated by aldelaro5 over 7 years ago
leoetlino wrote:
This may have been fixed by #4394 (it fixed focus detection for me, with render to main enabled) in 5.0-1161
Indeed, this pr was made to fix the fact that dolphin always had the focus which caused inputs to be processed even without focus and background inputs, but ut also fixes pause on focus lost due to the same focus problem.
So about the issue, background input was working fine here, it's the focus that wouldn't work.
I forgot about this issue so I forgot to tell someone to update it.
Updated by JosJuice over 7 years ago
- Status changed from Accepted to Fixed
- Fixed in set to 5.0-1161
- Operating system Linux added
- Operating system deleted (
N/A)