Joan Bruguera Micó

Results 68 comments of Joan Bruguera Micó

Something that is most likely the same issue (but has a simpler reproducer): Calling `canvas->Show(!canvas->IsShown());` on a `wxGLCanvas` will not visually hide the canvas on Wayland+EGL. It works with `GDK_BACKEND=x11`...

I'm not very familiar with the code but that's how I understand it as well. On Wayland [the window created with `wl_egl_window_create` appears to be detached from the GDK window](https://github.com/wxWidgets/wxWidgets/blob/54d44fcb536625b7ba71b81ff8ad6d1cb56db6ba/src/unix/glegl.cpp#L505)...

My attempt at solving the issue so far: https://github.com/joanbm/wxWidgets/commit/535b1b12f94574d944da00234814d2bc4b9135fb, fixes both OP's and my reproducer. It registers a signal for the GTK widget "map" (≅show) event and moves part of...

I submitted a PR (#23835) with a slightly more polished fix. > I guess what I don't understand is what should be the actual GTK widget to an EGL surface....

Same on Wayland+Sway. Possibly a wxWidgets bug? There was a recent fix related to OpenGL canvas positioning on Wayland there, but I tried it and it doesn't appear to fix...

> Works fine for me now. Fixed? Still reproduces for me on SLADE 3.2.1 on Arch Linux (updated with recent packages, e.g. GTK 3.24.36, wxWidgets 3.2.2.1, wlroots 0.16.2 + Sway...

The problem where the entry preview is placed over the list of entries (as seen in https://github.com/sirjuddington/SLADE/issues/1351#issuecomment-1107683199) appears to be related to the "Start Page" tab. The "Start Page" tab...

SLADE should work on native Wayland under wxWidgets 3.2.3 (which includes [this fix](https://github.com/wxWidgets/wxWidgets/pull/23835)) as long as you disable "Show Start Page on Startup" on Preferences and restart. The problem with...

@Hezhexi2002 It'd likely be better if you set up your container using a Dockerfile and/or volumes so you can re-create it quickly. But otherwise... The `LD_PRELOAD` way I commented here...

Not sure if performance is any good compared to GLES2, but it works using the Pixman renderer: ```sh WLR_RENDERER=pixman sway ``` See also: https://gitlab.com/fedora/sigs/sway/sway-config-fedora/-/blob/66f553d999b8f7e57fe924a6b53f1c9078acbc95/sway/start-sway#L32