After a bit of API polishing, I have finally released `mpris-server`!
It is a library for implementing the MPRIS D-Bus interface on your application from the service side. For those who haven't heard of the interface, it basically enables your application to become discoverable and controllable by other media controllers, like gnome-shell.
I would love to hear your opinions on the API. Thanks!
Last update: https://crab.garden/@alice/110457636175445239
---
So now both AdwNavigationSplitView and AdwOverlaySplitView have landed.
The latter has had a few more last-minute changes, a notable one is that I completely dropped touchpad gesture support from it.
Unlike touchscreen swipes, touchpad swipes never worked well with it and sometimes were the reason people were disabling gestures altogether: opening sidebar on touchscreen was (and is) an edge swipe, which is not possible on touchpad, so instead opening sidebar is a swipe from anywhere.
Similarly, closing the sidebar was a swipe from the sidebar on touch or from anywhere on touchpad.
This means that e.g. Loupe had to do pretty nasty workarounds to prevent swipes from interfering with navigation, and that's not great.
So, touchpad swipes re gone, now the only remaining gestures are restricted to the sidebar/the edge where the sidebar is.
Meanwhile a bunch of properties have been renamed:
- swipe-to-open -> enable-show-gesture
- swipe-to-close -> enable-hide-gesture
- reveal-sidebar -> show-sidebar
- locked -> pin-sidebar
And :reveal-progress is gone with no replacement. If needed, we can always add it back later.
---
The sidebar size defaults have changed for both split views: the default max width has been reduced from 360sp to 280sp, and the default width fraction has been reduced from 0.3 to 0.25, so the defaults should work well for more apps now.
---
For AdwNavigationSplitView it's now possible to use the navigation.push action repeatedly when it's not collapsed (I don't want to say expanded because GTK uses that term for another thing), specifically for pushing content when it's already pushed - then the action will just no-op instead of printing a critical about the duplicate page.
The intention behind that critical was to match AdwNavigationView (where you cannot have the same page twice in the navigation stack), but it doesn't work very well in practice - the primary use case for this action is a sidebar, and when it's not collapsed you're gonna be clicking rows when :show-content is already true, unlike when collapsed and you won't even see the sidebar in that case.
So - it no-ops now. Thanks @melix99 for feedback
---
And that's it. The next steps will be to get rid of leaflet/flap/etc mentions all over docs, then deprecate old stuff.
Content warning: libadwaita updates, long
Last week was already very impressive - and this week tops it all again! Folks, we have a new record for the number of news in a single week! 🎉
A new issue of #ThisWeekInGNOME is now online!
#84 Polished Circle
https://thisweek.gnome.org/posts/2023/02/twig-84/
After Flatpak, another major project has undergone a visual refresh -- Flathub. It gets a little more than a coat of fresh paint very soon. Thank you everyone involved!
A new issue of #ThisWeekInGNOME is now online!
#75 Redesigned Sound
https://thisweek.gnome.org/posts/2022/12/twig-75/