https://bugs.kde.org/show_bug.cgi?id=464193
Bug ID: 464193 Summary: KWin_x11 shows redundant minimize and maximize button for Qt::Dialog type window Classification: Plasma Product: kwin Version: 5.26.4 Platform: Archlinux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: decorations Assignee: kwin-bugs-n...@kde.org Reporter: wzc782970...@gmail.com Target Milestone: --- SUMMARY KWin_x11 shows redundant minimize and maximize button for Qt::Dialog type window, close button was not shown. According to Qt documentation, Qt::Dialog... > Indicates that the widget is a window that should be decorated as a dialog > (i.e., typically no maximize or minimize buttons in the title bar). > This is the default type for QDialog. In KWin it's completely the opposite behavior, which shows a maximize and a minimize button, but not show the close button. According to https://bugs.kde.org/show_bug.cgi?id=463063, the missing close button bug is an upstream issue, so this bug report only related to the redundant minimize and maximize button. STEPS TO REPRODUCE 1. Go to https://invent.kde.org/network/neochat/-/merge_requests/707#note_580407 and save the sample code to test.qml 2. use qml executable to show the saved qml file 3. see the result OBSERVED RESULT Under Plasma desktop, the dialog will have redundant maximize and minimize button. EXPECTED RESULT Maximize and minimize button shouldn't be there and the close button should be shown. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (rolling), KDE Plasma desktop environment KDE Plasma Version: 5.6.24 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 ADDITIONAL INFORMATION This issue is originally reported as a part of https://bugs.kde.org/show_bug.cgi?id=463063. That one was marked as resolved but it only addressed the missing close button issue, the redundant maximize and minimize button issue is still there. Please also see https://invent.kde.org/network/neochat/-/merge_requests/707#note_580407 for detailed information. Let me know if you need any additional information. -- You are receiving this mail because: You are watching all bug changes.