https://bugs.kde.org/show_bug.cgi?id=447365
Bug ID: 447365 Summary: Side menu buttons disappear and stay invisible after switching globalToolBar.style from None to any other value and back to None Product: frameworks-kirigami Version: 5.86.0 Platform: Compiled Sources OS: All Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: notm...@gmail.com Reporter: javiercorderope...@gmail.com Target Milestone: Not decided SUMMARY Side menu buttons, used to access global and context menus, disappear and stay invisible after switching globalToolBar.style from None to any other valid value and back to None. STEPS TO REPRODUCE 1. Assign `pageStack.globalToolBar.style` to a condition where `Kirigami.ApplicationHeaderStyle.None` is the initial value. > property bool toggleMeValue: false > pageStack.globalToolBar.style: toggleMeValue ? > Kirigami.ApplicationHeaderStyle.Titles : Kirigami.ApplicationHeaderStyle.None 2. Provide a way to change the previous condition, so that any other style is used. > MouseArea { > anchors.fill: parent > onClicked: toggleMeValue = !toggleMeValue > } 3. Run the program. Toggle from None to alternate style, see menu buttons disappear as intended. 4. Toggle from alternate style back to None, buttons will be re-instantiated but they will not be visible. OBSERVED RESULT Kirigami menu buttons disappear and return as intended, but will remain invisible upon returning. EXPECTED RESULT Kirigami menu buttons should be visible upon being re-instantiated. SOFTWARE/OS VERSIONS Windows: Windows 10 Craft with MSVC compiler macOS: macOS Monterey Craft with Clang x86 compiler Linux/KDE Plasma: KDE Neon Craft with both GCC and Clang compilers Android: Android 12, with GCC compiler KDE Plasma Version: 5.23.4 (testing branches, host Linux system) KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 and 5.15.3 ADDITIONAL INFORMATION When using Qt's Material theme, a shadow is visible where the buttons are placed, but the buttons themselves remain invisible. Under Plasma Mobile there are no shadows surrounding the buttons, therefore when the buttons return, there is no way to tell they've been re-instantiated. https://github.com/Cuperino/QPrompt/releases/tag/v1.0.0-beta-006 You can see this bug in action in the latest beta of my project, QPrompt v1.0.0-beta-006. If I've done something wrong in my use of pageStack.globalToolBar.style, please let me know. -- You are receiving this mail because: You are watching all bug changes.