Bug 160264

Summary: Crash after Gallery context menu is activated
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Oliver Specht (CIB) <oliver.specht>
Status: VERIFIED FIXED    
Severity: normal CC: oliver.specht, stephane.guillou
Priority: medium Keywords: bibisected, bisected, regression
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=81880
https://bugs.documentfoundation.org/show_bug.cgi?id=161606
Whiteboard: target:24.8.0
Crash report or crash signature: Regression By: Oliver Specht
Bug Depends on:    
Bug Blocks: 99671, 133092    

Description Gabor Kelemen (allotropia) 2024-03-18 22:03:51 UTC
1. Open the Gallery sidebar in Writer
2. Select the Backgrounds gallery in the top part
3. Right click on any of the images in the lower part and open the Insert as Background submenu - but do not choose one of its items
4. Double click on any other background image, or choose the List view button at the bottom
-> crash

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 09c6204b6309321aa25c542f918fde9f5f3f7fe2
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

Seems to have started with:

https://git.libreoffice.org/core/+/09c6204b6309321aa25c542f918fde9f5f3f7fe2

author	Oliver Specht <oliver.specht@cib.de>	Thu Feb 29 17:15:23 2024 +0100
committer	Gabor Kelemen <gabor.kelemen.extern@allotropia.de>	Mon Mar 11 14:39:18 2024 +0100

tdf#81880 Search the Gallery
Comment 1 Stéphane Guillou (stragu) 2024-03-19 06:58:22 UTC
Reproduced with:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 479b5bbe8ca2177ba7574e7aa2308b5d0de1895c
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 2 Commit Notification 2024-03-25 15:59:54 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/203b6a00cf5b716cb580d2bd4e9a6071cec23574

tdf#160264 Fixed crash in gallery

It will be available in 24.8.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.
Comment 3 Stéphane Guillou (stragu) 2024-04-15 12:24:16 UTC
Verified in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8b599d60fef80039cdfe636a771c3fc8eb1028c3
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Thanks Oliver!