On-Screen Keyboard opens when toggling Volume Up or Volume Down buttons on Pinephone
What problem did you encounter
When using applications that allow for user input, if you close the keyboard with the bottom right button and use the Volume Up or Volume Down hardware buttons, the keyboard will re-open.
This was tested against Calculator and Firefox and this behavior was consistent. This was also tested against Gnome Podcasts: When looking at the home screen of Podcasts and pressing either Volume button, nothing happens. After using the + button which prompts a text input field (to add a link for a new podcast) and closing the on-screen keyboard, using Volume Down or Volume Up will re-open the keyboard.
For example: When viewing media in Firefox and attempting to change volumes, this can be disruptive to use.
Tested with Pinephone 1.2a and Mobian. Originally logged as issue number '403' in Mobian repo. Advised by devrtz to log issue here.
How to reproduce
- Open an application that accepts text from the user
- Use the bottom right button to close the on-screen keyboard
- Use the hardware Volume Up or Volume Down button
- On-screen keyboard is now open again
What is the (wrong) result?
These hardware volume buttons consistently re-open a closed on-screen keyboard
What is the expected behaviour?
Hardware volume buttons should be decoupled from opening on-screen keyboard
Which version did you encounter the bug in?
-
I Compiled it myself. If you compiled phosh from source please provide the git revision via e.g. by running git log -1 --pretty=oneline
and pasting the output below. -
I used the precompiled Debian package (e.g. by running a prebuilt image). Please paste the output oof dpkg -s phosh
below.
Phosh Version:
Package: phosh
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 1885
Maintainer: DebianOnMobile Maintainers <debian-on-mobile-maintainers@alioth-lists.debian.net>
Architecture: arm64
Version: 0.14.1-1mobian1
Provides: notification-daemon, polkit-1-auth-agent
Depends: dconf-gsettings-backend | gsettings-backend, libc6 (>= 2.28), libcairo2 (>= 1.2.4), libcallaudio-0-1 (>= 0.0.5), libfeedback-0.0-0 (>= 0.0.0+git20200305), libgcr-base-3-1 (>= 3.8.0), libgcr-ui-3-1 (>= 3.8.0), libgdk-pixbuf-2.0-0 (>= 2.31.1), libglib2.0-0 (>= 2.70.0), libgnome-desktop-3-19 (>= 3.17.92), libgtk-3-0 (>= 3.21.5), libgudev-1.0-0 (>= 234), libhandy-1-0 (>= 1.1.90), libnm0 (>= 1.23.90), libpam0g (>= 0.99.7.1), libpango-1.0-0 (>= 1.37.2), libpolkit-agent-1-0 (>= 0.99), libpolkit-gobject-1-0 (>= 0.94), libpulse-mainloop-glib0 (>= 0.99.1), libpulse0 (>= 0.99.1), libsecret-1-0 (>= 0.7), libsystemd0 (>= 217), libupower-glib3 (>= 0.99.4-3~), libwayland-client0 (>= 1.9.91), fonts-lato, gnome-shell-common, gsettings-desktop-schemas, phoc (>= 0.9.0)
Recommends: feedbackd, gnome-session-bin, gnome-session-common, gnome-settings-daemon, iio-sensor-proxy, phosh-mobile-tweaks, squeekboard | phosh-osk-stub
Breaks: gnome-calls (<< 41~alpha), libgtk-3-0 (<< 3.24.30)
Description: Pure Wayland shell for mobile devices
Phosh is a graphical shell for Wayland compositors speaking the layer-surface
protocol and aimed at mobile devices like smart phones and tablets using touch
based inputs and small screens.
.
It's part of the Phosh Mobile Environment based on GNOME/GTK. For the full
stack see the phosh-full and phosh-core metapackages.
Homepage: https://gitlab.gnome.org/World/Phosh/phosh/
Additional comment from devrtz: Interestingly this doesn't seem to happen with telegram-desktop
(if the keyboard was minimized, it stays minimized)
Thanks!