Summary of changes
- mm: Make sure we register all interfaces
- Avoid crash when fixing between certain combinations of fractional
scales (with e.g. wlr-randr)
- Fix crash on unlock with media player widget
- Use solid color background when background image fails to load
- Ensure
@phosh_bg_color
behind top- and home bar as otherwise we might see
artifacts depending on the GPU driver
- Refresh background image when dark style URI changes
- Contributors:
- Guido Günther
- Guido Günther
- Issues fixed:
Detailed changes
phosh (0.44.1) experimental; urgency=medium
.
* wwan-mm: Use swapped signal.
Our handler wants `self` first
Fixes 51da91508 ("wwan-mm: Switch to MM objects")
(cherry picked from commit e7d2d31d9d53c7d36987b4b6a637e65bc7a0127a)
* home: Use g_timeout_add_once()
Simpler API
(cherry picked from commit ca0c272bbaed9bff57f128a4020f5b02d805a9da)
* home: Queue draw instead of committing the surface.
We don't know if GTK already attached a matching buffer and attaching an
incorrectly sized one can lead to the compositor terminating the
connection so let GTK decide when to commit.
(cherry picked from commit 09377dedfbf23cba204b91b2ef0052476be7d02e)
* top-panel: Queue draw instead of committing the surface.
We don't know if GTK already attached a matching buffer and attaching an
incorrectly sized one can lead to the compositor terminating the
connection so let GTK decide when to commit.
(cherry picked from commit 2a76bab32be2b837017a83191b57f24a9dc83a84)
* background-manager: Update background when dark uri changes too.
We tracked the regular background but not one for the dark theme.
(cherry picked from commit 0a15a88cfac235f991baa7ef5d1d0bf8bf15c8b1)
* background: Fill background with primary color.
This makes sure we have a proper background in the overview in
case the selected image has transparency.
In case of a missing image it ensures we fall back to black so the
overview always gets a non transparent background.
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1173
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1169
(cherry picked from commit bab567b895d204a78c18ac6e62e8fc9589088555)
* background: Use background color for the primary output's background.
The primary output's background determines the color behind the top and
bottom bars when they are folded (since the actual bars are
transparent). So use the @phosh_bg_color CSS value for these areas
rather then the primary-color gsetting.
This ensures the seamless fading from the opened overview to the black
top and bottom panel works even for situations where the primary-color
gsetting is not '#000000'.
(cherry picked from commit 4bed8f4823f2bef127ec97793352c3f01cf12a08)
* media-player: Don't access `self` when call got cancelled.
The memory has then been free'd already.
Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1176
Tested-by: Fiona Klute <fiona.klute@gmx.de>
(cherry picked from commit 245be9f32d7b21ccf92b7758036c78c4c9005a59)
Required versions of related projects
- glib >= 2.72.0
- gtk3 >= 3.24.40
- gtk4 >= 4.14
- phoc >= 0.43.0
- squeekboard >= 1.43.0
- feedbackd >= 0.5.0
- gnome-calls >= 46.3 for location based emergency calls and feedbackd fix
- wl-clipboar >= 2.2.1
- pipewire: >= 0.3.73 for proper audio icons
- xdg-desktop-portal >= 1.17.1 to honor portal configuration
- xdg-desktop-portal-phosh >= 0.43.0 for accent colors in apps
- phosh-mobile-settings >= 0.43.0
- phosh-tour >= 0.41.0
- gnome-settings-daemon >= 46 to not show the sleep notification on phones
- gsettings-desktop-schemas >= 47 for accent colors
Required patches that are merged upstream but not yet in a released version:
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-keyring: Accessing login keyring after first login fails
Recommended patches on other projects
Patches that are merged upstream but not yet in a released version:
(none)
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)
- gnome-clocks: Feedbackd support https://gitlab.gnome.org/guidog/gnome-clocks/-/tree/lfb
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:
- gtk3: Better touch accuracy (affects phosh, phosh-osk-stub, etc): https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6668 (contained in 3.24.40)
- 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 (contained in 46)
- gtk4: Touch DND fixes: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6608 (contained in 4.14)
- 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.
- 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
- gnome-settings-daemon: Drop sleep notification, otherwise suspend might fail. See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/656