Project

General

Profile

Actions

Emulator Issues #8850

closed

Background input always enabled on Linux

Added by delroth over 8 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
High
Assignee:
Category:
UI
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-1161

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.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #9255: Emulator listens to keypresses although on other workspace (i3 wm)Duplicate

Actions
Actions #1

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.

Actions #2

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.

Actions #3

Updated by delroth over 8 years ago

So we're going to ship a stable release with a checkbox that lies about its effect?

Actions #4

Updated by degasus over 8 years ago

If you want, we could implement a flag if it's supported.

Actions #6

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.

Actions #7

Updated by delroth about 8 years ago

  • Has duplicate Emulator Issues #9255: Emulator listens to keypresses although on other workspace (i3 wm) added
Actions #8

Updated by JosJuice almost 8 years ago

  • Milestone changed from Next to Current

5.0 was released, moving Milestone-Next to Milestone-Current.

Actions #9

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"....

Actions #10

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

Actions #11

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.

Actions #12

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)
Actions

Also available in: Atom PDF