| Summary: | mathematica palettes not working in kde/wayland whereas they work on kde/X and on gnome/wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | fakbill <fakbillfakbill> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate, nicolas.fella |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.7 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | run with WAYLAND_DEBUG=1 | ||
|
Description
fakbill
2023-08-11 09:00:39 UTC
Can you run Mathematica with the WAYLAND_DEBUG=1 environment variable applied? For example, open a terminal window and enter `WAYLAND_DEBUG=1 [command used to launch Mathematica]` Then reproduce the bug and attach a file with the full output of that command (it will be very long) to this bug report. Thanks! Created attachment 160925 [details] run with WAYLAND_DEBUG=1 Each time I click on the palette, a sequence like this one is logged : [2647067.295] -> wl_surface@52.frame(new id wl_callback@46) [2647067.345] -> wl_surface@52.attach(wl_buffer@60, 0, 0) [2647067.363] -> wl_surface@52.damage_buffer(340, 0, 10, 452) [2647067.376] -> wl_surface@52.commit() [2647068.930] wl_display@1.delete_id(46) [2647068.980] wl_buffer@38.release() [2647068.995] wl_callback@46.done(30374742) but no input appears on the main window. Do you want me to sent you the log using gnome in the virtualbox (no bug in this case) ? I clicked many times on the palette, therefore it should be easy to correlate these clicks with the log. I found out that mathematica under gnome is using xwayland ! When I force mathematica to use wayland under gnome the bug is back. DISPLAY='' /usr/local/Wolfram/Mathematica/13.3/Executables/mathematica At least, I can workaround the bug to use mathematica under kde with: QT_QPA_PLATFORM=xcb /usr/local/bin/mathematica The net result may be that mathematica is not ready for wayland, even if it is based on QT5? Yep, that would suggest that the bug is in Mathematica itself. I'd recommend reporting it to the app's developers. OK then, sorry for the noise and thanks for the swift answers! No problem, my pleasure! |