Bug 772476 - [wayland] sometimes all keyboard input is displayed on vt1 when shutting down
[wayland] sometimes all keyboard input is displayed on vt1 when shutting down
Status: NEW
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal major
: ---
Assigned To: mutter-maint
mutter-maint
:
Depends on:
Blocks: WaylandRelated
  Show dependency tree
 
Reported: 2016-10-05 20:41 UTC by Dylan Baker
Modified: 2017-09-18 11:58 UTC (History)
4 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Dylan Baker 2016-10-05 20:41:14 UTC
I cannot duplicate this bug by trying, so I normally wouldn't file the bug, but this seems fairly serious.

When logging out on a couple of occasions I've noticed that all of the text I've typed as been present on vt1, including passwords and GPG prompts. I have not found a way to reliably reproduce this, and I have only seen it happen once.
Comment 1 Olivier Fourdan 2016-10-10 11:48:31 UTC
That would be mutter more than gnome-shell here.
Comment 2 Christian Stadelmann 2016-10-10 18:26:19 UTC
Hm, I had this bug occur in the other direction some time ago, don't know if this is related: https://bugzilla.redhat.com/show_bug.cgi?id=1054764
Comment 3 James Strandboge 2017-04-14 18:07:04 UTC
I've seen this too with GNOME Ubuntu 17.04 uisng wayland (mutter/gnome-shell/etc 3.24).

I've also seen another issue where Alt+F2 doesn't bring up the Run dialog but takes me to tty2 instead. The most annoying is with a gnome-terminal, occasionally 'ctrl+c' (something that one does remarkably frequently in a terminal) kills gnome-shell. I wonder if both of these are because keyboard input is being sent to the wrong place (especially the ctrl+c going to the shell/mutter)?
Comment 4 James Strandboge 2017-04-14 19:13:32 UTC
"The most annoying is with a gnome-terminal, occasionally 'ctrl+c' (something that one does remarkably frequently in a terminal) kills gnome-shell"

I forgot to mention, since this is GNOME/wayland, because restarting the shell is not supported on wayland (https://fedoraproject.org/wiki/Wayland_features#Restarting_gnome-shell), when this happens, the whole session is gone. :\
Comment 5 Christian Stadelmann 2017-04-14 20:26:22 UTC
(In reply to James Strandboge from comment #3)
> I've also seen another issue where Alt+F2 doesn't bring up the Run dialog
> but takes me to tty2 instead. The most annoying is with a gnome-terminal,
> occasionally 'ctrl+c' (something that one does remarkably frequently in a
> terminal) kills gnome-shell. I wonder if both of these are because keyboard
> input is being sent to the wrong place (especially the ctrl+c going to the
> shell/mutter)?

This seems unrelated to the bug report here. Can you please report a separate bug and attach a backtrace?
Comment 6 James Strandboge 2017-09-18 11:58:02 UTC
FYI, I could never find a proper reproducer and I hadn't seen this issue after recent 3.24 updates, but curiously, it came up again for another person with recent 3.26: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1710637. I've not seen this yet personally with 3.26.

Note You need to log in before you can comment on or make changes to this bug.