Bug 465096

Summary: When GlobalDrawer isMenu: true, calling open() still opens the drawer instead of the menu
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Thiago Sueto <herzenschein>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: REPORTED ---    
Severity: normal CC: nate, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: Not decided   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thiago Sueto 2023-01-31 23:56:41 UTC
This might not be a valid bug since the user is expected to open the drawer by clicking its button, but I noticed that if a global drawer shows up as a menu, calling its open() function causes it to still show up as a global drawer, but in a inactive/disabled state.

The expected behavior would be that the menu is opened instead.
Comment 1 Marco Martin 2023-02-01 10:23:59 UTC
The problem is that open() is implemented in the source QQC2 Drawer, and we can't in qml do a reimplementation that calls the stock implementation if is not a menu, as there is not a such thing as "superclass" :/