Bug 132935 - Submenu crashes for gtk3 only
Summary: Submenu crashes for gtk3 only
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Jim Raykowski
Whiteboard: target:7.0.0
Depends on:
Reported: 2020-05-10 22:01 UTC by Jim Raykowski
Modified: 2020-05-12 00:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

video demo of crash (996.12 KB, video/x-matroska)
2020-05-10 22:01 UTC, Jim Raykowski

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2020-05-10 22:01:18 UTC
Created attachment 160632 [details]
video demo of crash

Stumbled across this when adding a submenu to the Navigator content view to provide UI for outline content folding. Outline content folding is WIP. To repro this bug apply the patch found here: 

Steps to repro:
1) apply the formentioned patch
2) open a Writer file with an outline structure or create one by adding one or more Headings to the document
3) open the Navigator (Menu > View > Sidebar then select Navigator tab in the tab bar or F5 for floating version)
4) left mouse click on the Headings entry in the navigation content view to select it
5) right mouse click on the Headings entry to show the context menu
6) select the Outline Content submenu
7) either select an entry in the submenu or click away from it

Result: crash

Build ID: 02a186a59aecbad73ecc3cbc004505ab0fbff5bb
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Jim Raykowski 2020-05-10 22:22:48 UTC
proposed patch:
Comment 2 Commit Notification 2020-05-11 15:15:42 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":


tdf#132935 fix gtk3 submenu crash

It will be available in 7.0.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:

Affected users are encouraged to test the fix and report feedback.