XIO

xWire

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

gtk activity

Adrian Vovk commented on issue #8489 at GNOME / gtk

Yeah not much can be done here. If you're gonna use GtkApplication you should let GtkApplication call gtk_init for you, otherwise yeah there's gonna be issues. The portal can't really change... it was designed the way it was for good reason. However, with appd things will be slightly different for these broken apps, because at least the app will very likely already be registered with the portal (with an app id derived from the .desktop file, or the systemd unit, or via Flatpak, etc). A call to…

Benjamin Otte opened merge request !10541: API: Add gtk_snapshot_set_optimization() at GNOME / gtk

Here's my attempt at a snapshot optimization API. I've now decided to model it somewhat closely to gcc -Ox because that's hopefully something that people can understand. I ultimately decided against a boolean and for an enum because it felt like on/off was too restricting, even though I don't have a strong usecase for all the flags I added yet.

Charles opened merge request !10540: text, textview: Reset the im context on any text change at GNOME / gtk

Follow-up to !10515 (merged). #8477 got closed by it, but the reset only sits in gtk_text_set_text(), i.e. the text property. Still missing: gtk_editable_set_text(). It deletes and inserts directly, never hits gtk_text_set_text(). App-side insert/delete. GtkTextView. Repro: focused GtkEntry, IBus on GNOME, WAYLAND_DEBUG=client, app calls gtk_editable_set_text (editable, ""). No set_surrounding_text is sent. The next activation hands the input method the old text. This resets from the buffer…

Charles opened issue #8477: Wayland: input method keeps the old surrounding text after gtk_editable_set_text at GNOME / gtk

When an application changes the text of a focused GtkText or GtkTextView, the text-input-v3 module does not send the new surrounding text. The compositor keeps the old one and hands it to the input method on its next activation. Steps: WAYLAND_DEBUG=client on any GTK 4 app with an entry, under GNOME with IBus. Type or commit "Hello." through the input method. GTK sends set_surrounding_text("Hello.", 6, 6). Clear the entry from the application: gtk_editable_set_text (entry, ""). Nothing is sent.…

Luca Bacci approved merge request !10481: Wintab: Make Wintab input work again, and report pens as device tools at GNOME / gtk

Fixes #6719 tl;dr Wintab input has not worked in any release since 4.18: a preprocessor slip makes every GetProcAddress() lookup fail, so GDK silently gives up on Wintab. Before that, since 4.0, pen input crashed GTK (#6719, a double unref). Once it runs, GtkGestureStylus ignores every Wintab event, as they have no GdkDeviceTool, and the pens are missing from the seat. 8 commits: the two crash/startup fixes first (small, suitable for stable branches), then the device fixes, tool support and the…

megatz closed merge request !10539: Fix position of child tooltips in custom windows at GNOME / gtk

Unlike a GTK_TOPLEVEL_WINDOW, a custom toplevel window derived from GtkWindow can have non-zero x/y allocations (like a panel at the bottom of the screen). Since the allocation of such a toplevel window is relative to the screen origin, the position of the child must also be relative to the screen origin so that we get the correct coordinates relative to each other. Part-of: !8216 (merged)

megatz opened merge request !10539: Fix position of child tooltips in custom windows at GNOME / gtk

Unlike a GTK_TOPLEVEL_WINDOW, a custom toplevel window derived from GtkWindow can have non-zero x/y allocations (like a panel at the bottom of the screen). Since the allocation of such a toplevel window is relative to the screen origin, the position of the child must also be relative to the screen origin so that we get the correct coordinates relative to each other. Part-of: !8216 (merged)

Benjamin Otte commented on issue #8482 at GNOME / gtk

To clarify: This is meant as a factual statement describing why things are currently behaving that way. It was not meant as an endorsement of that behavior. I don't have an opinion on how any of this should work. We've had various discussions about if push_opacity() and push_mask() should or should not isolate backgrounds. On the web, I think opacity does isolate backgrounds (I believe the web terminology is "creates a new stacking context") but I'm not sure because I'm not fluent in the…

David Hedlund closed issue #8481: `org.gtk.Settings.FileChooser` settings cannot be overridden via /usr/share/glib-2.0/schemas/*.gschema.override at GNOME / gtk

Steps to reproduce gsettings reset org.gtk.Settings.FileChooser show-hidden gsettings reset org.gtk.gtk4.Settings.FileChooser show-hidden gsettings get org.gtk.Settings.FileChooser show-hidden gsettings get org.gtk.gtk4.Settings.FileChooser show-hidden # false / false sudo tee /usr/share/glib-2.0/schemas/zzz_custom_defaults.gschema.override > /dev/null << 'EOF' [org.gtk.Settings.FileChooser] show-hidden=true [org.gtk.gtk4.Settings.FileChooser] show-hidden=true EOF sudo glib-compile-schemas…

David Hedlund commented on issue #8481 at GNOME / gtk

I could reproduce this in Ubuntu MATE 24.04. But I just tried it in Ubuntu 26.04 VM and it seems like it has been fixed: gsettings reset org.gtk.Settings.FileChooser show-hidden gsettings reset org.gtk.gtk4.Settings.FileChooser show-hidden gsettings get org.gtk.Settings.FileChooser show-hidden gsettings get org.gtk.gtk4.Settings.FileChooser show-hidden # false / false sudo tee /usr/share/glib-2.0/schemas/zzz_custom_defaults.gschema.override > /dev/null << 'EOF' [org.gtk.Settings.FileChooser]…

David Hedlund opened issue #8481: `org.gtk.Settings.FileChooser` settings cannot be overridden via /usr/share/glib-2.0/schemas/*.gschema.override at GNOME / gtk

Steps to reproduce gsettings reset org.gtk.Settings.FileChooser show-hidden gsettings reset org.gtk.gtk4.Settings.FileChooser show-hidden gsettings get org.gtk.Settings.FileChooser show-hidden gsettings get org.gtk.gtk4.Settings.FileChooser show-hidden # false / false sudo tee /usr/share/glib-2.0/schemas/zzz_custom_defaults.gschema.override > /dev/null << 'EOF' [org.gtk.Settings.FileChooser] show-hidden=true [org.gtk.gtk4.Settings.FileChooser] show-hidden=true EOF sudo glib-compile-schemas…