Emergency contacts plugin config: Add Emergency Contact doesn't return to previous screen
What problem did you encounter
When adding an emergency contact to the Emergency Info lock screen widget, the "Add" button does add the contact but stays on the new contact page. Since there's no feedback, I tapped "Add" several more times before canceling, and ended up with a lot of duplicate emergency contacts.
How to reproduce
- Open Mobile Settings (I have 0.27.0)
- Select "Lockscreen"
- Scroll down to the Emergency Info widget, select the gear
- Scroll down to Emergency Contacts, select "Add Contact"
- Enter emergency contact info, seems name and phone number are both required
- Select "Add"
What is the (wrong) result?
It's not apparent that anything happened, it stays on the emergency contact page.
What is the expected behaviour?
I think it should return to the previous page, where the new contact would now be visible.
Also, if you only enter a name (no phone number) and select Add, then it does return to the previous page but does not actually add the contact.
Context
Mobile Settings 0.27.0 on Librem 5 running PureOS.
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:
purism@pureos:~$ dpkg -s phosh
Package: phosh
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 2481
Maintainer: PureOS Maintainers <pureos-project@puri.sm>
Architecture: arm64
Version: 0.27.0-1pureos1
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), libecal-2.0-1 (>= 3.33.4), libedataserver-1.2-25 (>= 3.25.90), libfeedback-0.0-0 (>= 0.2.0), libfribidi0 (>= 0.19.2), 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.65.1), libgnome-desktop-3-19 (>= 3.17.92), libgtk-3-0 (>= 3.21.5), libgudev-1.0-0 (>= 234), libhandy-1-0 (>= 1.1.90), libical3 (>= 3.0.0), 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 (>= 213), libupower-glib3 (>= 0.99.4-3~), libwayland-client0 (>= 1.20.0), fonts-lato, gnome-shell-common, gsettings-desktop-schemas, phoc (>= 0.26.0)
Recommends: feedbackd, gnome-session-bin, gnome-session-common, gnome-settings-daemon, iio-sensor-proxy, phosh-mobile-tweaks, phosh-plugins, slurp, squeekboard | phosh-osk-stub
Breaks: gnome-calls (<< 41~alpha), gnome-settings-daemon (>= 40)
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://phosh.mobi/
Original-Maintainer: DebianOnMobile Maintainers <debian-on-mobile-maintainers@alioth-lists.debian.net>
Original-Vcs-Browser: https://salsa.debian.org/DebianOnMobile-team/phosh
Original-Vcs-Git: https://salsa.debian.org/DebianOnMobile-team/phosh.git
How are you running phosh?
-
PureOS amd64 qemu image -
Mobile phone (model: Librem 5 USA, operating system version: PureOS byzantium) -
Librem5 devkit -
nested compositor. If so please give the full command you start phosh with. -
other (please elaborate)
Releveant logfiles
I don't think there are any relevant logs, let me know if there is anything I should collect.
And thank you for all the hard work on Phosh!