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 739293 - cursor: Hide OSK when physical keyboard is used
cursor: Hide OSK when physical keyboard is used
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: keyboard
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
touch,triaged
: 742246 744904 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-10-28 12:48 UTC by Bastien Nocera
Modified: 2019-11-01 18:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2014-10-28 12:48:46 UTC
This matches what Windows 8 does on machines that have both a physical keyboard and a touchscreen.
Comment 1 Bastien Nocera 2015-02-15 14:04:16 UTC
For now this still lives in gnome-settings-daemon, as the OSK is broken in wayland, but might move to mutter shortly.

Carlos, do you know if anyone is looking into the OSK bug? Do you have a reference?
Comment 2 Bastien Nocera 2015-03-02 18:30:27 UTC
*** Bug 744904 has been marked as a duplicate of this bug. ***
Comment 3 Jesse 2015-03-28 19:37:05 UTC
This issue appears to be fixed for me in GNOME 3.16. I can use the trouchscreen and search in Overview without the on-screen keyboard appearing. :)

(Running Ubuntu GNOME 15.04 beta 2 w/ GNOME 3.16 via gnome3-staging ppa 64-bit. Hardware: Dell Inspiron 11 3000 series)

Thanks, Dev's!
Comment 4 Bastien Nocera 2015-04-10 13:53:19 UTC
Nope, that doesn't work. This code now lives in gnome-shell, so reassigning there.
Comment 5 Rui Matos 2015-04-10 14:00:06 UTC
But this is fixed, right?
Comment 6 Bastien Nocera 2015-04-10 14:02:44 UTC
(In reply to Rui Matos from comment #5)
> But this is fixed, right?

Nope, it still behaves as before, Jesse probably has something broken on his system.
Comment 7 Jesse 2015-04-26 22:55:19 UTC
My apologies. I'm not sure what I was experiencing earlier. Confirmed, the on-screen keyboard still appears when I use the touchscreenin Ubuntu GNOME 15.04 w/ GNOME 3.16 via staging ppa.
Comment 8 Daiki Ueno 2016-10-18 14:16:46 UTC
*** Bug 772778 has been marked as a duplicate of this bug. ***
Comment 9 Harshad 2016-11-22 16:46:42 UTC
Perhaps this should be added to the 'touch whiteboard' https://wiki.gnome.org/Design/OS/Touchscreen

I for one find this bug to be very annoying and deserving of all the attention it can get.
Comment 10 Carlos Garnacho 2017-01-03 17:16:20 UTC
FWIW, this yet another bug which is already fixed in the wayland since long ago, but can't be reasonably fixed on X11, as it'd basically require mutter to setup a passive grab on all keyboard keys.
Comment 11 Harshad 2017-01-04 05:00:58 UTC
I uses wayland exclusively and I can reproduce this bug quite easily. Just open 2 instances of gnome-terminal and switch between them with the touchscreen. 

With every switch, the OSK is called up.
Comment 12 Bastien Nocera 2017-01-04 11:02:42 UTC
(In reply to Carlos Garnacho from comment #10)
> FWIW, this yet another bug which is already fixed in the wayland since long
> ago, but can't be reasonably fixed on X11, as it'd basically require mutter
> to setup a passive grab on all keyboard keys.

No, it doesn't. Something similar was implemented in X11 using XSync, or rather the GnomeIdleMonitor which ultimately is implemented in mutter.

(In reply to Harshad from comment #11)
> I uses wayland exclusively and I can reproduce this bug quite easily. Just
> open 2 instances of gnome-terminal and switch between them with the
> touchscreen. 
> 
> With every switch, the OSK is called up.

It's behaving as designed, and it's not the bug being discussed here.
Comment 13 Harshad 2017-01-04 14:39:10 UTC
(In reply to Bastien Nocera from comment #12)

> It's behaving as designed, and it's not the bug being discussed here.

Could you explain why it is designed this way and is not this bug? I am on a machine with a laptop with a physical keyboard.

It was my understanding that there should be a way to completely disable the OSK from appearing under *any* circumstances when an actual physical keyboard is present.
Comment 14 Bastien Nocera 2017-01-04 14:42:10 UTC
(In reply to Harshad from comment #13)
> (In reply to Bastien Nocera from comment #12)
> 
> > It's behaving as designed, and it's not the bug being discussed here.
> 
> Could you explain why it is designed this way and is not this bug? I am on a
> machine with a laptop with a physical keyboard.

It might be a bug, but it's not this one.

> It was my understanding that there should be a way to completely disable the
> OSK from appearing under *any* circumstances when an actual physical
> keyboard is present.

Maybe, maybe not. But that's not what this bug is about. File your own bug.
Comment 15 Florian Müllner 2019-02-27 19:45:21 UTC
Tracked in https://gitlab.gnome.org/GNOME/gnome-shell/issues/872 now.
Comment 16 Florian Müllner 2019-02-27 19:45:32 UTC
*** Bug 742246 has been marked as a duplicate of this bug. ***
Comment 17 Hyw 2019-11-01 18:59:16 UTC
Gnome v3.34.1 in manjaro
I am very happy about that I finally found an gnome-shell-extension to disable osk FOREVER. This is the link: https://extensions.gnome.org/extension/1326/block-caribou/
I unzipped it, modified the metadata.json altering `shell-version` to 3.34.1(is is necessary?) and use `gnome-extensions pack` and `gnome-extensions install`(available since gnome v3.34) to install, and after a reboot and enabling this ext in gnome-tweak I get rid of osk.