XIO

xWire

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

gtk activity

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…