XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

GNOME activity

Marge Bot closed issue #8517: MacOS: Add URL handler to Gtk.Application at GNOME / gtk

GTK's NSApplication delegate only implements application:openFiles:, so all URLs are dropped. On MacOS url schemas which are registered for the application and then clicked e.g. in a browser are passed as URL Event to applications. There is NSAppleEventManager where a URL handler needs to be registered for handleGetURLEvent. Its not much code for applications to implement themself, but GTK handles it on Linux and Windows, so would be nice to pass URLs also on macOS.

Marge Bot closed issue #8517: MacOS: Add URL handler to Gtk.Application at GNOME / gtk

GTK's NSApplication delegate only implements application:openFiles:, so all URLs are dropped. On MacOS url schemas which are registered for the application and then clicked e.g. in a browser are passed as URL Event to applications. There is NSAppleEventManager where a URL handler needs to be registered for handleGetURLEvent. Its not much code for applications to implement themself, but GTK handles it on Linux and Windows, so would be nice to pass URLs also on macOS.

Felix Häcker opened issue #8522: macos: Criticals when opening / closing popovers (surface freeze / thaw) at GNOME / gtk

Steps to reproduce: Open gtk-demo Click on app menu Close app menu Click on app menu again Gdk-CRITICAL **: 22:32:07.193: gdk_surface_thaw_updates: assertion 'surface->update_freeze_count > 0' failed No Gdk-CRITICAL for the first popover open, after that, every time a popover gets opened. The same thing happens for tooltips, so it's likely related how surfaces freeze / thaw on macOS. General Information Name Value Operating System (null) GTK Version 4.25.0-31d14021 GDK Backend MacOS GSK…

Felix Häcker opened merge request !10625: macos: Map extra mouse buttons to 8 and up at GNOME / gtk

AppKit reports the back and forward mouse buttons as 3 and 4, which were passed on to GDK as buttons 4 and 5. However, this does not match what Wayland or X11 do, which reserve buttons 4-7, and map extra buttons to 8 and up. This is the reason why the back button does nothing in widgets that listen for forward/back buttons, for example AdwNavigationView, which navigates back on button 8. Therefore, remap any additional buttons to 8 and above, so it matches X11/Wayland. This also matches how…

Mitar opened issue #5174: xdg-session-management: remove_toplevel cannot remove state stored in an earlier session, and does not make a removed toplevel iner...

Affected version Mutter main (the code is the same in 51.1), and 50.1 with merge request !4806 (merged) backported. Bug summary For xdg_session_v1.remove_toplevel, xdg-session-management-v1 says: "Remove a specified surface from the session and render any related xdg_toplevel_session_v1 object inert. The compositor should remove any data related to the toplevel in the corresponding session from its internal storage." Mutter deviates from this in two ways: xdg_session_remove_toplevel() acts only…

Marge Bot accepted merge request !10624: Avoid using the renderer from threads when loading icons at GNOME / gtk

gdk_paintable_new_from_bytes() was calling svg_to_texture() for symbolic SVGs with unsupported features, which goes through the snapshot/render-node path. This is not thread-safe, since the renderer has global mutable state (e.g. static caches in gsk_reload_font). When icon preloading calls this from thread pool workers, multiple threads end up using the renderer concurrently, causing crashes in _pango_cairo_font_private_get_scaled_font() due to cross-thread sharing of PangoFont objects via the…

Jehan commented on issue #16907 at GNOME / GIMP

The binaries I'm going to upload: AppImage: https://gitlab.gnome.org/GNOME/gimp/-/jobs/7304648/artifacts/browse/build/linux/appimage/_Output/ macOS: https://gitlab.gnome.org/GNOME/gimp/-/jobs/7304652/artifacts/browse/build/macos/dmg/_Output/ The Windows installer which has to be signed by @jernejs: https://gitlab.gnome.org/GNOME/gimp/-/jobs/7304650/artifacts/browse/build/windows/installer/_Output/ The MS Store and Snap should be automatically updated. This is the latest test Flatpak: flatpak…

İbrahim Sevinç opened merge request !5449: window: Save the floating rect before tiling at GNOME / mutter

tile_window() sets the tile mode on window->config before set_maximize_state() saves the rect, so save_rect() sees a non-floating window and returns early. Keyboard tiling passes no explicit rect, so saved_rect is never written and untiling uses an empty rect (videos in #4918). Wayland windows are affected too: they keep their size but stay at the tiled position. This saves the rect before the tile mode is changed. An explicit rect (mouse drag) is still used as before. The toggle-tiled…

Sergey Bugaev commented on issue #4099 at GNOME / GLib

I was thinking something like: pin two threads (on select kernels, give them different priorities) to a single CPU core, have them yield to each other and set an "I've been there" flag (increment an atomic). We then check both that this doesn't take overly long (so no-one slept), and that between calling yield and it returning, the other thread got a chance to make some progress (say, at least in 90% of iterations).

Robert Folland opened merge request !267: Draft: wifi-p2p: join autonomous Group Owners with optional NM APIs at GNOME / gnome-network-displays

Introduce AGO joining and capability helpers without requiring extended libnm APIs for ordinary PBC connections. Assisted-By: Codex noreply@openai.com Needs updated NetworkManager, pending merge request here: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2585