On Sun, 7 Dec 2025 23:21:15 +0100

ichthyo <[email protected]> wrote:

oh well ... in the end this was quite a chainsaw massacre non the less...


Thus we're now at the point where the actual "experiments" could start...


On 08/12/2025 09:08, Will Godfrey wrote:
This quite astonishing, and no surprise now that I was having such a hard
time

trying to strip it down myself. At least it demonstrates that it's not being

caused by some of the more complex changes that have been made to the code

in recent years.


Well -- in *hindsight* I must admit that I feel quite stupid now.
I was kind-of "locked in" with my systematic approach, and that has
cost my quite some effort.

Actually I even feel angry about myself, since I had a gut feeling initially,
where to look, but was then intimidated by the sheer complexity of the GUI.


Anyway, the problem is glaringly obvious

WidgetPDial.cpp, line 195

    cairo_surface_t* Xsurface = cairo_xlib_surface_create
        (fl_display, fl_window, fl_visual->visual,
         Fl_Window::current()->w() * scale,
         Fl_Window::current()->h() * scale);


This *can* not work under Wayland.
It even yells out loudly "XLIB"


Well ... I have found out about that the hard way,
please have a look on my 'stripdown' branch.

The latest Commit does not crash, because I have replaced that code
by a simple super-call.

The preceding commit has only a single WidgetPDial, but our Cairo code,
and this crashes.

-- Hermann




_______________________________________________
Yoshimi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to