XIO

xWire

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

gtk activity

Matthias Clasen commented on merge request !10436 at GNOME / gtk

A checklist of outstanding work here, from a recent irc discussion: Add a benchmark (see 'Blurred Images' in fishbowl) Do the same downscaling for shadows Implement "double tapping" Fix the irregularities in the screenshots above Figure out how to handle blurs when the input resolution does not match the output one Optimize repeated textures (which are commonly needed when blurring textures)

Matthias Clasen commented on issue #8003 at GNOME / gtk

I've taken a look at this and I'm not entirely clear on what factory we would want here to make things more flexible. The one thing I can come up with that might make sense is to allow setting a custom filter, instead of the hardcoded string filter. That would require some convention for how to feed the string from the search entry into the filter, something like /* Return the current string from the search entry, or NULL. Must only * be called from filter callbacks */ const char…

Arjan Molenaar closed merge request !9965: macos: fix premature window show before first frame at GNOME / gtk

Currently when starting up a gtk-demo or widget-factory on macos, it will show a window with decoration and transparent backend for a brief moment (around half a second) before the app has time to render its content for the first time. This MR addresses that by ensuring all code paths respect the existing show_on_next_swap flag, which already defers showAndMakeKey: until after the first buffer swap. Two paths were bypassing it: The key-window selection idle callback would call…

Arjan Molenaar closed merge request !10593: macos: keep GTK frames flowing during native zoom at GNOME / gtk

macOS: keep GTK frames flowing during native window zoom What does this change do? On macOS, -[NSWindow zoom:] enters an AppKit transition in which GTK4's normal frame clock does not submit intermediate content frames. The window outline moves, but the application content can remain at its old size until the transition finishes. Handle windowShouldZoom:toFrame: in GdkMacosWindow with a nonblocking NSViewAnimation. Existing windowDidResize notifications continue to update the GDK surface and…

sci42 commented on merge request !10702 at GNOME / gtk

Unfortunately I don't know this code well enough, and the guidelines strictly forbid using AI in a way that would let me help further here myself. When I made the commit, I hadn't read CONTRIBUTING.md far enough. If I may still bring in the AI's expertise, its assessment is this: Yes, that is correct: in the path without swapchain-maintenance, wait_present() and release_presents() set vk_swapchain to VK_NULL_HANDLE without touching present->frame. With the patch, the frame still gets completed:…

Marge Bot accepted merge request !10667: macos: Keep main loop running during window animations at GNOME / gtk

AppKit runs the zoom animation in a nested run loop. The GLib main loop doesn't run there, so the window content only updates once the animation finished. Produce a frame directly in windowDidResize: instead, so the content follows the window size. Skip if the frame clock is already in a frame or the frame clock is stopped. I'm not 100% sure this is the right approach, but it fixes the visible glitch during the zoom animation, and I haven't noticed any unwanted side effects so far. Switched to…

Ben Mather commented on merge request !9371 at GNOME / gtk

I've rebased on latest main. 9ef4e7d4, the cause of the conflict, fixes the adjustment being overwritten during allocation so I've been able to drop one of my commits. Adding a gtk_adjustment_animate_deceleration method possibly still the right approach but requires invasive changes that I'm not sure I can get right. @carlosg - Are you happy to have a look?

bdaehlie opened merge request !10671: css: Fix a double unref in filter url parsing at GNOME / gtk

I was doing some other work on gtk's css system and ran into a problem where a script I was using couldn't match an error message as expected. Turns out the error message from gtk was getting corrupted by a double unref in filter URL parsing and causing my other work to fail ("Filter url contahns non-SVG data", notice the word "contains" is corrupted). When a filter url() is a data: URL with a mime type other than image/svg+xml, the bytes are unreffed and then unreffed again via…

Cedric AUGER commented on issue #7208 at GNOME / gtk

Hello, here is a minimal reproducer (90 lines instead of 197, same scenario and same stack), as suggested in #6758. It needs a window manager (the crash happens when the main window becomes active again). The view has the focus; the dialog deactivates the window; OK clears and refills the store, then destroys the dialog. On reactivation GTK restores the focus to the remembered cell, whose row is gone: its parent is NULL and gtk_column_view_row_widget_get_column_view() reads it. Valgrind, GTK…