Project

General

Profile

Actions

Bug #13585

open

Segfault on internal path navigation with submenus

Added by Matthias Van Ceulebroeck about 1 month ago. Updated 5 days ago.

Status:
Implemented @Test
Priority:
Normal
Target version:
Start date:
02/26/2025
Due date:
% Done:

100%

Estimated time:

Description

In case we have a main WMenu with setInternalPathEnabled(), and submenus added to that main menu via WMenu::addMenu(), each also with setInternalPathEnabled(), we encounter a segfault.
This occurs when navigating to the item immediately upon loading the menu, i.e. when the current internal path matches the one being defined by the stack of WMenus.

Here, we then assume that the path would lead to a WMenu that has some content, and load the content. However, in case of a submenu, no content is defined, yet expected.
A case ought to catch that no content is set on the item.

Actions #1

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from InProgress to Review
  • Assignee deleted (Matthias Van Ceulebroeck)
Actions #2

Updated by Matthias Van Ceulebroeck 18 days ago

  • Assignee set to Marnik Roosen
Actions #3

Updated by Matthias Van Ceulebroeck 18 days ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Marnik Roosen to Matthias Van Ceulebroeck
  • % Done changed from 0 to 100
Actions #4

Updated by Matthias Van Ceulebroeck 5 days ago

  • Status changed from Implemented @Emweb to Implemented @Test
Actions

Also available in: Atom PDF