Summary of changes
- Make home bar smaller. OSK opens via long press on pill.
- Indicate 5G when detected
- Fix suspend-inhibitor when hotspot is on
- Fix swipe back when lockscreen widget box is open
- Issues fixed:
- https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1010
- https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1001
- https:// gitlab.gnome.org/World/Phosh/phosh/-/issues/380
- https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1010
- Contributors:
- Bardia Moshiri
- Guido Günther
- mathew-dennis
- Bardia Moshiri
i18n updates
- UI translations:
- Artur S0 (ru)
- Danial Behzadi (fa)
- Daniel Rusek (cs)
- Yosef Or Boczko (he)
- Artur S0 (ru)
Detailed changes
phosh (0.35.0) experimental; urgency=medium
.
[ Guido Günther ]
* osk-manager: Sync initial state.
Fixes 43d801d9da2dfe2b90f6b38068c3517d3e658d39
Tested-by: Jarrah Gosbell <debian@undef.tools>
* util: Revert "Be more gracefull on the app_id"
This breaks telegram desktop with app-id org.telegram.desktop and a
desktop file of org.telegram.desktop.desktop.
We *only* made that change to not change the behaviour of the
end-session-dialog. All inhibitors there do have a proper app-id though
so let's just live without not appending '.desktop' there either.
This reverts commit 2a3763303b4305058ee0ff5f2b76b31016e80114.
Reported-by: Newbyte <newbie13xd@gmail.com>
Tested-by: Newbyte <newbie13xd@gmail.com>
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1010
* shell-manager: Drop support for XML version parsing.
Just assume we have GNOME_DESKTOP_PLATFORM_VERSION (introduced in GNOME
43)
* build: Drop support for older gnome-desktop without the platform version.
This was introduced in 43. We keep the check for recent GNOME in the
summary() so it's obvious when things are outdated.
* build: Encode glib version in one place only.
We keep the check for recent glib in summary() so backports indicate
clearly when they don't have it.
This uses the same logic we use in phoc
* ci: Only run ci-fairy on merge-request pipelines targeting 'main'
Backports to older version can e.g. contain translations that don't need
to adhere to the commit formatting.
* build: Avoid quotes around boolean values
* build: Use project_build_root() as plain build_root() is deprecated
* build: Use project_source_root() as plain source_root() is deprecated
* build: Bump meson version to 1.0.0.
Debian stable has 1.0.1 even
* uncrustify: Fix while() brace alignment too.
We had it for `for` and `if` but `while` was missing
* build: Drop meson version check.
We require 1.0 now
* session-manager: Allow to inhibit suspend
* suspend-manager: Inhibit via gnome-session rather than systemd.
The systemd inhibitor would ensure we don't suspend when e.g. another
session is active. What we're interested about here is the user's
session though so use gnome-session to prevent suspend instead.
We use a sync DBus call here which should be fine and not block and we
can't do much without gnome-session running anyway.
For the systemd bits see https://github.com/systemd/systemd/issues/29818
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1001
* idle-manager: Drop unused variable from struct
* idle-manager: Drop superfluous comment.
We explain this in the class documentation and have a comment in
the DBusWatch.
* screen-saver-manager: Clear long press timer in error path.
This shouldn't happen but if we hit it then we shouldn't create another
timer but rather clear the old one.
* emergency-info: Suggest word-completion in text views.
This allows the OSK to decide whether it should offer word completion
(or not).
* launcher-box: Fix leaks.
Don't leak enumerator, app-info and path
* upcoming-events: Don't leak color string from rgba conversion
* widget-box-standalone: Don't leak plugin dirs
* lockscreen: Add small margin to the widget box.
If there are long filenames in the ticket box it expands the widget box
right to the screen edge breaking the swipe back.
By adding a small margin we always allow a fling at the screen edge to
go back to the actual lockscreen.
.
[ Bardia Moshiri ]
* wwan-ofono: Mark access technology nr as 5G
* wwan-mm: Mark access technology MM_MODEM_ACCESS_TECHNOLOGY_5GNR as 5G
.
[ mathew-dennis ]
* home: Shrink home-bar height and move osk activation to center.
Reduce the home-bar size from 40px to 15px
Replace osk button with powerbar widget and move it to the center
Modify the on pressed function to work with long press gesture
Use osk-manager directly
Add an svg image to represent the new powerbar widget
Add both powerbar and arrow into a gtk stack since both are occupying the center region
Reuse phosh_home_update_osk_button to switch home-bar stack when dragging
Closes: https:// gitlab.gnome.org/World/Phosh/phosh/-/issues/380
* home: Make powerbar more interactive.
Reduce powerbar opacity to indicate longpress recognition has started
And revert back to original state one recognition is successful
Add animation to indicate osk non-availability
Add haptic feedback to indicate a successful osk interaction
.
[ Daniel Rusek ]
* Update Czech translation
.
[ Artur S0 ]
* Update Russian translation
.
[ Danial Behzadi ]
* Update Persian translation
.
[ Yosef Or Boczko ]
* Update Hebrew translation
Required versions of related projects
- glib >= 2.72.0
- gtk3 >= 3.24.36
- gtk4 >= 4.8.3
- phoc >= 0.33.0
- squeekboard >= 1.21.0
- feedbackd >= 0.2.0
- gnome-calls >= 45~alpha for emergency calls support, otherwise >= 42
- wl-clipboar >= 2.2.1
- pipewire: >= 0.3.73 for proper audio icons
- xdg-desktop-portal >= 1.17.1 to honor portal configuration
- phosh-mobile-settings >= 0.30.0
- phosh-tour >= 0.28.0
Required patches that are merged upstream but not yet in a released version:
(none)
Required patches that aren't merged upstream yet:
- wlroots (>= 0.12.0): Layer shell restrictions. See https://source.puri.sm/Librem5/phosh/-/issues/422. Otherwise phosh will fail to start.
- gtk: xdg-activation-0-serial. Otherwise startup splash always times out
- gnome-settings-daemon: Drop sleep notification, otherwise suspend might fail. See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/656
Recommended patches on other projects
Patches that are merged upstream but not yet in a released version:
- gnome-clocks: Allow for lockscreen actions: https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/277 . Needed to turn off alarms on the lock screen.
- gtk4: Touch DND fixes: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6608
- gtk3: Better touch accuracy (affects phosh, phosh-osk-stub, etc): https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6668
- gnome-text-editor: Hint word completion (so e.g. OSKs know its sensible to use it): https://gitlab.gnome.org/GNOME/gnome-text-editor/-/merge_requests/132
Patches that aren't merged upstream yet:
- linux: HKS support (not yet submitted): https://source.puri.sm/Librem5/linux-next/-/merge_requests/77
- gtk4 adaptiveness (not yet submitted): https://source.puri.sm/Librem5/debs/gtk4/-/tree/pureos/byzantium/debian/patches/pureos/adaptive
(Not needed for phosh itself but to make GTK4 applications adapt better)
- gtk3 adaptiveness (not yet submitted): https://source.puri.sm/Librem5/debs/gtk/-/tree/pureos/byzantium/debian/patches/pureos/adaptive
(Not needed for phosh itself but to make GTK3 applications adapt better)
- gnome-screenshot adaptiveness: https://gitlab.gnome.org/GNOME/gnome-screenshot/-/merge_requests/69
(Not needed for phosh itself but to make screenshots easier)
- vte: Ignore menu key: https://gitlab.gnome.org/guidog/vte/-/commit/11b29ca2aa2f1715579519699ec17245a411ee0e . See https://gitlab.gnome.org/GNOME/vte/-/issues/2644 (as project doesn't allow merge requests) (Not needed for phosh itself but to get copy/paste menu in e.g. gnome-console)
See meson.build and debian/control for build-time and run-time dependencies.
For older releases
These are only some of the required/recommended patches. If in doubt please use the released versions above:
- glib (contained in 2.72.0): Notification categories
- gnome-settings-daemon: Claim light sensor async as otherwise screen unblank can take a noticable amount of time
- gsettings-desktop-data (contained in 42): Dark theme toggle
- gnome-control-center (contained in 42): display: Use ComboBox when folded. Otherwise fractional scaling doesn't show all values.
- gnome-control-center (contained in 42): connection-editor: Allow dialog to resize
- gtk4 (contained in 4.6.2): xdg-activation
- gtk4 (contained in 4.6.2): osk unfold
- gtk4 (contained in 4.6.2): osk unfold
- gtk3 (contained in 3.24.30):gtkapplication-dbus: Fetch inital screen saver state async. Otherwise gnome-calls and phosh will block on each other on startup blocking the whole UI.
- geoclue (contained in 2.6.0): Add phosh
- wlroots (contained in 0.16.0): xdg-activation: Allow to submit tokens. Needed for launch splash.
- wlroots (contained in 0.16.0): cancel touches
- xdg-desktop-portal-wlr (contained in 0.6.0): For screen sharing: https://github.com/emersion/xdg-desktop-portal-wlr/pull/192
- pipewire: Add icon_name properties to ucm: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/1646
- wl-clipboard: Don't require gtk_shell >= 4