The GTK4 file chooser widget has received a grid view, with bigger thumbnails. This is the culmination of more than a decade of work, and was only made possible by GTK4’s complete rewrite of its rendering system, and the introduction of highly performant and scalable list & grid widgets.
This will be available in the next release, numbered 4.10 and scheduled for early 2023. You can read more here.
Not a lot is happening in libadwaita land atm, but one small addition: adw_message_dialog_choose() - a way to use AdwMessageDialog with a GIO async func, same as the new dialog APIs in GTK 4.9.x:
[GtkCallback] private async void clicked_cb () { var dialog = new Adw.MessageDialog (this, "Replace File?", "A file named “example.png” already exists. Do you want to replace it?"); dialog.add_response ("cancel", "_Cancel"); dialog.add_response ("replace", "_Replace"); dialog.set_response_appearance ("replace", DESTRUCTIVE); print ("Response: %s\n", yield dialog.choose (null)); }
In Settings, Felipe Borges landed a collection of polish changes. The Thunderbolt panel will now only show when there is Thunderbolt hardware, the About panel now uses AdwEntryRow for the hostname, and the Printer panel now uses AdwStatusPage when it is empty. sunflowerskater also added a description to the battery percentage switch.
I wrote a small blog on how to set up macOS keyboard shortcuts with GTK4.
GTK 4 does no longer automatically substitute Ctrl for Command on macOS, but we still want to provide our macOS users with a pleasant user experience.
XDG portals 1.16.0 was released this week. The major highlights of this release are:
Background monitoring service, a new service that detects sandboxed applications running in the background without a user visible window. This information can be consumed by desktop environments to provide richer control over these apps, for example like this.
The new Global Shortcuts portal, which allows applications to be notified of shortcuts being activated even when they’re unfocused. So far only the KDE backend implements this portal, but hopefully more backends will implement it in the future.
This week I published my new app called Live Captions to Flathub. It captions your desktop audio or mic in realtime locally. It only supports English for now.
This week I released “Diccionario de la Lengua” a small app to luck up words from the online dictionary of the Royal Spanish Academy. Spanish-speaking GNOME users might find it of interest. You can get it from Flathub.
Since our last update, there have been many new features and bug fixes for Loupe. When opening an image, the window now appears in the correct aspect ratio and shows a spinner until the image is loaded. The properties now show several details about photos from the Exif data, including the nearest town if the GPS location is available. The location can also be opened in apps like Maps. Drag and drop out of the Loupe window now works as well. Zooming via scroll-wheel should feel even more natural, and zoom is now limited to 2000%.
I missed a few of This Week in GNOME postings. In that time, Login Manager Settingsv2.0 was released with added power options, import/export mechanism, adaptive ui, and some more features and bug fixes. Full release notes are available here.
This week, I
added the option to change cursor size.
uploaded pre-built packages (AppImage & Flatpak) with the new feature to my Patreon if anyone is interested in that.
That’s all for this week!
See you next week, and be sure to stop by #thisweek:gnome.org with updates on your own projects!