Created attachment 173558 [details] MS VS call stack Start Draw. Customize a toolbar to contain the command .uno:FontWork. That command is contained in Category "Format". Create a curve. Add some text to it. Click on icon 'FontWork' => Crash. I see the crash in my debug build Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 3aa1152ccee13869b2c1d64a296524cf4fb73fa8 CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win Locale: de-DE (en_US); UI: en-US Calc: threaded I have not tested a daily build. It crashes after SAL_WARN_IF with info warn:vcl.layout:5240:7512:D:\Build_2020\core\include\vcl/builder.hxx:437: .ui widget "DockingFontwork" needs to correspond to vcl type class VclBox.
Created attachment 173559 [details] Content of "Autos" window in VS at moment of crash
Created attachment 173585 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce the crash with gen rendering. With gtk3 rendering, I don't reproduce the crash but noticed this: (soffice:33916): GLib-GObject-WARNING **: 20:40:33.018: invalid cast from 'GtkGrid' to 'GtkBox'
I gave a try with https://gerrit.libreoffice.org/c/core/+/118953 It fixes the crash but dialog box is not right since it expands too much horizontally.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/48b6f94fa2fb533b9c5becb348a1433fc6b4175b tdf#143355: fix crash with .uno:FontWork It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thank you Caolán for your help on ui part! I confirm it doesn't crash and visually, it's ok now with gen and gtk3 renderings.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/591d49a1711d5e23b3237c96517a9ec2dafee660 tdf#143355: fix crash with .uno:FontWork It will be available in 7.2.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.