Bug 449290 - Temviewer and anydesk do not send ALT+TAB to change windows.
Summary: Temviewer and anydesk do not send ALT+TAB to change windows.
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 5.23.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-28 13:47 UTC by Bruno Mendes
Modified: 2022-01-28 20:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Mendes 2022-01-28 13:47:18 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Install Anydesk/Teamviewer and open
2. Open programs on the remote computer.
3. ALT+TAB to switch between programs on the remote computer.

OBSERVED RESULT
The keyset switches programs on the local computer.

EXPECTED RESULT
Switch programs on remote computer

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-01-28 19:54:49 UTC
This is an issue in the app itself. It doesn't correctly grab the keyboard.
Comment 2 Bruno Mendes 2022-01-28 20:01:55 UTC
Isso funciona em gnome.
Comment 3 Bruno Mendes 2022-01-28 20:02:36 UTC
This work on gnome
Comment 4 Nate Graham 2022-01-28 20:02:47 UTC
On X11 or Wayland?
Comment 5 Bruno Mendes 2022-01-28 20:03:24 UTC
(In reply to Nate Graham from comment #4)
> No X11 ou Wayland?

Waylan
Comment 6 Nate Graham 2022-01-28 20:05:04 UTC
I thought so. I believe it uses a private GNOME protocol, which is why it works there.

This is quite inappropriate. It should be using a standard one, if one is available. If one is not, one should be created, so that apps don't have to target specific desktop environments like this.
Comment 7 Bruno Mendes 2022-01-28 20:11:07 UTC
(In reply to Nate Graham from comment #6)
> I thought so. I believe it uses a private GNOME protocol, which is why it
> works there.
> 
> This is quite inappropriate. It should be using a standard one, if one is
> available. If one is not, one should be created, so that apps don't have to
> target specific desktop environments like this.

Is there anything I can do?
Comment 8 Nate Graham 2022-01-28 20:12:48 UTC
A few ideas spring to mind:

1. Live with it
2. Use TeamViewer in the Plasma X11 session
3. Use a different app
4. Switch to GNOME
Comment 9 Bruno Mendes 2022-01-28 20:38:31 UTC
(In reply to Nate Graham from comment #8)
> Algumas ideias vêm à mente:
> 
> 1. Viva com isso
> 2. Use o TeamViewer na sessão do Plasma X11
> 3. Use um aplicativo diferente
> 4. Mude para o GNOME

After you said that, I did some tests:
In X11 teamviewer doesn't work with Alt Tab either, but anydesk works!! I'm new to linux and was using Wayland because I'm newer. Do I have any prejudice using X11?
Comment 10 Nate Graham 2022-01-28 20:39:48 UTC
It's just different. Some things will be more broken compared to Wayland, some things less. In a year or two, many more things will be broken compared to Wayland, because the Wayland session is constantly improving, but the X11 session is not.