Crash when grouping: 1. Create a circle 2. Click the Text Box icon, click once on the page and type A 3. Right-click on the text box frame, select Text; untick Fit Height to Text and untick Fit Width To Text, tick Fit To Frame. 4. Group the two items and crash. If the file is saved and closed before grouping, then the objects can be grouped on re-opening the file. If you then go into the group and re-apply the Fit To Frame then crash happens on exiting the group. Reproducible: Always. Did not try in Safe Mode, but tried also in LO 7.2 alpha Dev which also crashes. Looks similar to tdf#117937 but that is marked as resolved Version: 7.0.6.2 (x64) Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: en-NZ (en_NZ); UI: en-GB Calc: CL
Created attachment 173375 [details] Gif of crash action As this is a dynamic issue, that is, it happens during an action it is better to reproduce or see the effect which this attachment does.
Reproduced in Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: eac5977bfc11797eda356560a5e45c51108ef5a1 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Not reproducible in Version: 6.1.0.0.alpha1+ Build ID: 3a801799536e6870f2fb111b1cc00b9575a35a39 CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); Calc: group
Error messages in CLI: GtkGrid does not have a child property called fill GtkGrid does not have a child property called expand Adding CC to Caolán, maybe the errors are relevant.. Thanks
The warnings are unrelated, but also worth fixing. I can reproduce the original problem too so I'll have a go at fixing that.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/321436d7bb9087a92e8f69cc948bb3ebb23049c7 Related: tdf#143153 these are GtkBox properties not GtkGrid ones 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/36e1f1f5e7da5563ba721874e15a92b874ae1c5f Resolves: tdf#143153 null-deref on grouping fit-to-frame obj with another 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.
backports to 7-2 and 7-1 in gerrit
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/72ab4596657fd71311b9d40f7d8a9236adab425a Related: tdf#143153 these are GtkBox properties not GtkGrid ones It will be available in 7.2.0.0.beta2. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/3e3e0bd5a4952506aad1ee88c037f045ef594d54 Resolves: tdf#143153 null-deref on grouping fit-to-frame obj with another It will be available in 7.2.0.0.beta2. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-1": https://git.libreoffice.org/core/commit/f2290187dcd59f159c560a47629b5d3897be1864 Resolves: tdf#143153 null-deref on grouping fit-to-frame obj with another It will be available in 7.1.6. 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.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-1-5": https://git.libreoffice.org/core/commit/e7a086fcd10031a15d1bfda32c306834ba8a7526 Resolves: tdf#143153 null-deref on grouping fit-to-frame obj with another It will be available in 7.1.5. 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.