After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761227 - Gnome terminal does not get focus
Gnome terminal does not get focus
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: app-switcher
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2016-01-28 08:46 UTC by Vít Ondruch
Modified: 2021-07-05 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vít Ondruch 2016-01-28 08:46:13 UTC
In Wayland session, when switching using Alt+Tab to terminal, the terminal does not get focus, I cannot start to type nor the subsequent click by mouse into terminal area will get the focus.

This is very annoying behavior, since there is no obvious way how to get the focus. Switching back and forth between windows typically helps after some time but ....


$ rpm -q gnome-terminal
gnome-terminal-3.18.2-1.fc24.x86_64
Comment 1 Vít Ondruch 2016-01-28 11:27:18 UTC
The strange thing is, that when it is supposed to be focused, the first use of Alt+Tab highlights the same terminal instance, but it won't get focus again.
Comment 2 Vít Ondruch 2016-01-28 12:04:49 UTC
Also interestingly, the mouse double click allow to select some text, but does not give the window the focus properly.
Comment 3 Christian Persch 2016-01-29 22:19:50 UTC
Looks like the focus bug, bug 677329.
Comment 4 Vít Ondruch 2016-01-30 08:24:35 UTC
(In reply to Christian Persch from comment #3)

Well, but the bug is reported against X and I can't remember I would ever struggle with it in X session. On contrary, in Wayland session, I fight this issue almost constantly.

Is there any way how I could get more reliable reproducer? Do you suspect any specific component which would trigger this?
Comment 5 Egmont Koblinger 2016-02-10 01:31:38 UTC
Do you have "tab-policy: always"? See bug 761800.
Comment 6 Vít Ondruch 2016-02-10 10:36:28 UTC
(In reply to Egmont Koblinger from comment #5)
> Do you have "tab-policy: always"? See bug 761800.

Not sure what exactly do you mean by this, but probably not, since new terminal window is opened without tab.
Comment 7 Christian Persch 2016-02-14 10:06:28 UTC
This is very likely mis-filed and not a g-t or vte bug; try moving it to somewhere like gtk+ or gnome-shell.
Comment 8 Debarshi Ray 2016-03-29 15:35:38 UTC
(In reply to Vít Ondruch from comment #0)
> In Wayland session, when switching using Alt+Tab to terminal, the terminal
> does not get focus, I cannot start to type nor the subsequent click by mouse
> into terminal area will get the focus.

This seems to work as expected with GNOME 3.18.x and Fedora 23 without any gnome-shell extensions installed. I wonder if something regressed since then.

Do you have any extensions to tweak the Alt+Tab behaviour? eg., the AlternateTab extension that offers a window based switcher instead of the application based one?
Comment 9 Vít Ondruch 2016-03-30 08:13:00 UTC
(In reply to Debarshi Ray from comment #8)
> Do you have any extensions to tweak the Alt+Tab behaviour? eg., the
> AlternateTab extension that offers a window based switcher instead of the
> application based one?

I am using plain Gnome, no extensions at all.
Comment 10 Vít Ondruch 2016-03-30 10:23:24 UTC
Actually, I reported that that Alt+Tab is an issue, but the same issue happens when I try to switch to the terminal by mouse click.
Comment 11 GNOME Infrastructure Team 2021-07-05 14:25:45 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.