The main package manager window does not close. Neither Alt+F4 nor the X button in the window decoration close the application - it seem to simply ignore these events. It does close if I select File->Quit. It also closes if I send SIGINT to the process. No other applications on the machine exhibit this problem. Reproducible: Always Steps to Reproduce: 1. Start Muon package manager. 2. Try to close it by pressing Alt+F4 or the close window button in the window decoration. Actual Results: The application doesn't close. Expected Results: The application should close. The problem started to happen after a recent update. KDE is installed from kubuntu-backports. Kubuntu 15.10, x86_64.
I can confirm this. KDE neon: Muon Package Manager (Version 5.5.0; KDE Frameworks 5.20.0; Qt 5.5.1 (built against 5.5.1); The xcb windowing system) KDE Plasma Version: 5.4.4 Qt Version: 5.5.1 Kernel Version: 4.2.0-30-generic Workplace Theme: Breeze Cursor Theme: Breeze Color Scheme: Breeze and, Kubuntu 16.04: Muon Package Manager (Version 5.4.3; KDE Frameworks 5.15.0; Qt 5.5.1 (built agains 5.4.2); The xcb windowing system) KDE Plasma Version: 5.4.3 Qt Version: 5.5.1 Kernel Version: 4.4.0-7-generic Workplace Theme: Breeze Cursor Theme: Breeze Color Scheme: Breeze It isn't possible to close the application by clicking on the circled X icon in the upper-right corner of the application window. Nothing happens. File > Quit works as expected. This anomalous behavior of Muon Package Manager is not present in Kubuntu 15.10 and earlier.
Close button on window hovered but don't close the window.
Git commit 465ca5fcf203fa190b90823907f358954b922f5f by Carlo Vanini. Committed on 03/03/2016 at 00:28. Pushed by vanini into branch 'master'. Fix muon not closing with window close button. The variable m_canExit was not initialized and did prevent muon from exiting when closed from the window manager. Remove it because it is never changed and remove canExit() because it is in the wrong place anyway to prevent exiting while acting on packages. It should be in backend. Testing Done: * open muon close by clicking the X button in the window decoration or with * Alt+F4 Closing with File -> Exit or Ctrl+Q does not call MainWindow::queryClose() and therefore did always work. REVIEW: 127249 M +1 -1 src/MainWindow.cpp M +0 -4 src/muonapt/QAptActions.h http://commits.kde.org/muon/465ca5fcf203fa190b90823907f358954b922f5f
Now, the window closes if you are logged as "root" but not if you are logged as user with sudo rights.
*** Bug 357205 has been marked as a duplicate of this bug. ***