G
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()…
G
If setting that is needed: Looks good. But I have a question or two: Is this only a problem in GTK3? If so: Why is it not a problem in GTK4? (Also, this sounds like something a lot of applications do wrong and if anyone asked me I would advise Mesa to always advertise GLES1 support.)
G
@otte: Matthias requested that I ping you for this.
G
One final thing I found with the else. With that fixed, you can assign it to marge.
G
#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…
G
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…
G
Christian Hergert (2ac6bcc1) at 25 Nov 17:51 gtk/linecache: avoid unnecessary full invalidation ... and 2 more commits
G
The change in width for a fixed width cell won't change the width of its column. nautilus!2263
G
I'd keep it opt-in. There are still cases where it doesn't work well, especially with split headerbars. tests/testheaderbar:
G
I don't think there's a way for GDK to check whether a GLib main loop is running?
G
I see this as a rust problem. From the C api perspective, misusing ref is on the same level as misusing unref. It is something that rust wants to guarantee, so rust needs to do the work to enforce it
G
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.
G
There's a much faster way to reach a premature free, by calling unref instead of ref
G
Chun-wei Fan (b0c810d6) at 25 Nov 08:40 vulkan: Poll the fence if possible on Windows too
G
Hi @otte, Thanks for the reviews! Adjusted the code to address the nits.
G
Chun-wei Fan (02c8697a) at 25 Nov 08:30 vulkan: Poll the fence if possible on Windows too ... and 3 more commits
G
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…
G
Sadly: https://gitlab.gnome.org/GNOME/gtk/-/jobs/7435068, so we still need the #ifdef in some form... I re-organized things a bit here, to group similar properties/features together for the purposes of using the FD or HANDLEs exported from the Vulkan fences, to make things a bit clearer.
G
Chun-wei Fan (2c18e375) at 25 Nov 08:12 vulkan: Poll the fence if possible on Windows too ... and 11 more commits
G
Hello. Did I understand correctly that the fix hasn't actually got into the main branch?
G
I don't seem to be able to play the attached videos, mind reencoding them in h264?
G
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…
G
yeap - looks like that one has to stay off for now - i uncommented the type_null to get this to work... - which is fine for experimental stuff but doent really help main release at present. - ill park it back on my branch for now.
G
This one's for the input fields which are hinted as numeric should result in a number keyboard and not a full keyboard [LLM assisted] This is a fix that emulates how Wayland does it and ime branch
G
i suspect it probably affects wayland touch as well - but dont have a wayland touch device to prove that with - i only found it on android - hence the report
G
this doesn't do anything, as ImContext.getInputType() is never called. We need full IME support before we can report an input type other than TYPE_NULL
G
why is this an android issue? Is wayland not affected by this?
G
This one's for the input fields which are hinted as numeric should result in a number keyboard and not a full keyboard [LLM assisted] This is a fix that emulates how Wayland does it and ime branch
G
GTK paned buttons on touch don't activate [LLM assisted] The fix basically mirrors what GtkWindowHandle does Current Proposed