Open Vekhir opened 1 month ago
Cannot reproduce here on openSUSE Leap 15.6 with Qt5.
Hi @Vekhir,
thank you for reporting (and for all the efforts you put on OpenBoard!)
I can't reproduce the crash on Ubuntu 20.04 but I can see a theme issue on some interactivities as well. Maybe the crash occurs depending on the Qt WebEngine version involved.
The web inspector's console gives some information : ubw-main.js:16 Retrieve parameter value [undefined] as type [undefined] for key : [themes]
so it might be an issue located in this file, on every interactivity handling style change this way.
It seems there is some missing part as fillParameters is never returning anything (preferenceKeys is always empty) :
I'm not much familiar with this part of OpenBoard. Maybe @letsfindaway has some tips about what could be missing ?
Motivated by the fact that my bug reports are seemingly unreproducible, I have systematically checked the Arch snapshots of the last 5 months. My findings are that the issue first occurs on 2024-06-24, that is Qt 6.7.2
. All versions prior (tested 6.6.2
, 6.7.0
, 6.7.1
as of 2024-06-23) work fine.
The 6.7.2 changelog doesn't mention anything immediately obvious.
@letsfindaway Can you check with Qt 6.7.2
to reproduce the bug? Certainly seems like a regression, but I'd like to see it confirmed before writing a bug report.
@letsfindaway Can you check with
Qt 6.7.2
to reproduce the bug? Certainly seems like a regression, but I'd like to see it confirmed before writing a bug report.
I just built OpenBoard in a Tumblewed distrobox with Qt 6.7.2 and can reproduce the bug there. So I can confirm that it depends on the Qt version.
The web inspector's console gives some information :
ubw-main.js:16 Retrieve parameter value [undefined] as type [undefined] for key : [themes]
so it might be an issue located in this file, on every interactivity handling style change this way.It seems there is some missing part as fillParameters is never returning anything (preferenceKeys is always empty) :
This is not a problem but only warnings. As long as you have not edited the TicTacToe the cells have no associated data and fillParameters
returns an empty list. If you edit one or more cells, then you will get a not-empty result from fillParameters
. Same is for the theme or other variables: if you did not change the default value, then nothing is stored in the widget parameters.
Just tested with Qt 6.8.0beta3 and the issue occurs there too, so hasn't been fixed in the meantime.
I've opened a bug report on the Qt bug tracker: https://bugreports.qt.io/browse/QTBUG-128241
Describe the bug
Some widgets can be edited (e.g. TicTacToe and, on
dev
, Dice). When editing, the Theme can be selected by clicking on the dropdown menu. However, OpenBoard immediately crashes upon clicking, This bug occurs with Qt 6.7.2, but not with Qt5.To Reproduce
Expected behavior
Actual behavior
OpenBoard crashes with a segfault (SIGSEGV).
Additional resources
Running
openboard
withstrace
produces thestracelog.txt
below (cut down; the click on pad happens in line 42) stracelog.txtThe same happens with the Dice widget on
dev
, where I actually encountered this issue first.I checked the WebInspector, but the app crashes before anything shows up there when clicking on pad.
Context
systematic
1.7.1
,dev
1.6.4
1.7.0
Linux
Windows
macOS
own build
via AURAdditional context
OS: Arch Linux Kernel: Linux 6.10.4-arch2-1 qt6-base: 6.7.2-1 qt5-base: 5.15.14+kde+r143-1