Bug 160264 - Crash after Gallery context menu is activated
Summary: Crash after Gallery context menu is activated
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Oliver Specht (CIB)
URL:
Whiteboard: target:24.8.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Gallery Crash
  Show dependency treegraph
 
Reported: 2024-03-18 22:03 UTC by Gabor Kelemen (allotropia)
Modified: 2024-06-24 13:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!