Actions
Improvements #13052
openDo not generate an internal path for menu items if not enabled
Start date:
09/17/2024
Due date:
% Done:
100%
Estimated time:
Description
When constructing a WMenuItem, this calls setText(). In case that there isn't a custom path component (which is always the case during construction), the internal path component is automatically generated from the text content.
This always does a narrow() call, to ensure that the component is URL-safe. While not necessarily a bad approach, this will produce a warning log in case character are not supported.
The generation of the path component ought to be delayed until it is enabled.
Updated by Romain Mardulyn 12 months ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
Updated by Romain Mardulyn 12 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck 5 months ago
- Target version changed from 4.12.0 to 4.12.2
Updated by Matthias Van Ceulebroeck 2 months ago
- Assignee set to Matthias Van Ceulebroeck
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
- % Done changed from 0 to 100
Actions