XIO

xWire

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

gtk activity

Benjamin Otte approved merge request !10749: wayland: Set EGL_RENDERABLE_TYPE when choosing an EGLConfig at GNOME / gtk

GDK never sets EGL_RENDERABLE_TYPE when it picks an EGLConfig on Wayland, so EGL uses its default of EGL_OPENGL_ES_BIT (GLES 1). That's not an API GDK ever uses. It only worked because Mesa used to mark every config as GLES 1 capable. Since Mesa 26.3, builds without GLES 1 (like Arch's) don't anymore, so no config matches and every GTK 3 GL context on Wayland fails with "No available configurations for the given pixel format". This passes the same use_es check that gdk_wayland_display_init_gl()…

Benjamin Otte commented on merge request !10558 at GNOME / gtk

#ifdef G_OS_UNIX if (present->frame->completion_fd >= 0) { GPollFD poll_fd = { present->frame->completion_fd, COMPLETION_FD_EVENTS, 0 }; if (g_poll (&poll_fd, 1, 0) <= 0) return TRUE; if (!(poll_fd.revents & COMPLETION_FD_EVENTS)) return TRUE; } else #endif #ifdef G_OS_WIN32 if (present->vk_fence_handle != INVALID_HANDLE_VALUE) { GPollFD poll_fd = { (_completion_fd_type)present->vk_fence_handle, COMPLETION_HANDLE_EVENTS, 0 }; if (g_poll (&poll_fd, 1, 0) <= 0) return TRUE; if (!(poll_fd.revents…

Christian Hergert opened merge request !10778: gtk/linecache: series invalidation correctness fixes at GNOME / gtk

When I wrote the original line display cache, we needed to avoid certainly things for performance. A lot of that has been improved around this since then so we can vastly simplify this code. It is probably a bit faster, but the correctness issues are the intended fix here. An issue where we don't invalidate something we should An issue where we invalidate something we shouldn't In one case we can avoid the binary search and lookup O(1) using our hashtable direct cache by pointer. AI was used to…

IMZGforever commented on issue #8569 at GNOME / gtk

From C, yes. Through the Rust bindings, unref is only called from Drop, so safe Rust code cannot unref too often; the only way it can reach a premature free is to wrap the count with Clone and std::mem::forget. Safe Rust is supposed to rule that out for any program, so a check in these *_ref functions that refuses or aborts at the maximum would close it. I can send an MR.

Ledity opened issue #8574: Drag&#39;n&#39;droping tabs above some applications makes tabline work like a headerbar at GNOME / gtk

Steps to reproduce Open an app with tabs, that supports dragging a tab outside a window to move it's content in a new window, i.e. nautilus or kgx. Create several tabs. Drag'n'drop a tab outside the app's window to open this tab a new window. Current behavior When you drop the tab above some apps (i.e. Steam, Blender, Firefox on tabs that do not support drag'n'dropping files) a new window isn't created. Also, the tabbar becomes working like headerbar, meaning dragging the app by the tab buttons…

Florian Leander Singer opened merge request !10755: android/filesystem: delay afpr creation at GNOME / gtk

We currently copy the afpr fingerprint file sometime during the copying of assets into the filesystem. Its possible for the user to stop the process before copying has complete but after the fingerprint has been created, resulting in an inconsistent filesystem state during suceeding launches, as the existence of the fingerprint will prevent the copy routine from running again. Updated SystemFilesystem.java to skip copying of the afpr file during the recursive copy routine and only copy it…