On 04/01/2026 15:55, ichthyo wrote:
Maybe it's possible to just hook that pop-up window into that reduced UI?
While looking into that, I noticed that DynTooltip has active code to somehow position the window. Isn't that a problem? Given, that under Wayland the "window position" is managed by the Compositor? Have you read the documentation page from FLTK, which we discovered recently? https://www.fltk.org/doc-1.4/wayland-devel.html Quoting form one of the first paragraphs there:
Wayland differs also from X11 in that the position of a window in the display is completely hidden to the client app. This prevents function Fl_Window::position() from having any effect on a top-level window. Wayland also prevents a client app from knowing whether a window is minimized: Fl_Window::show() has no effect on a minimized window. Subwindows can be positioned as usual relatively to their parent window. Wayland allows to create popup windows positioned relatively to a previously mapped other window. This allows FLTK to position adequately menu and tooltip windows (see Menu windows and other popups). FLTK uses also popups for the small, yellow windows that display the new scale factor value when it's changed: these are created as short-lived popups centered above Fl::first_window().
It links then to a lengthy chapter in that same document https://www.fltk.org/doc-1.4/wayland-devel.html#menu-windows ...where seemingly the FLTK people had to solve some related problem regarding positioning of pop-up windows and found a way to make that work under Wayland... Could that information be of relevance for Yoshimi? I do not know the GUI so well, and I was not aware that we have such elaborate code, which we actively maintain. Note: this very positioning code was added by Jesper last August. It uses the Fl_Window::position() function, which, according to the above quote does not have the intended effect under Wayland ====== At the moment I'll continue with piecing together a demo, because that seems to be low hanging fruit. In the stripdown branch, I had already reduced the CMakeBuild to the bare minimum, so it seems feasible to hook the DynTooltip onto the only WidgetPDial which I retained for the investigation of the Wayland crash. -- Hermann _______________________________________________ Yoshimi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yoshimi-devel
