Summary: | hidden question dialog prevents application quit via taskbar | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Jacques Kvam <jwkvam> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | adaptee, drew.m.fisher, kwin-bugs-null |
Priority: | NOR | ||
Version: | 2.8 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/konsole/66c0ddf7d1d5c9a7009f33da418d27a186651b92 | Version Fixed In: | 4.8.3 |
Sentry Crash Report: |
Description
Jacques Kvam
2008-06-10 05:59:12 UTC
I can confirm this in Konqueror and Konsole in SVN r823211. question dialog doesn't get focus Sorry for the late reply. The behavior is intended.* If a dialog for a minimized window is opened, it's kept minimize and the window is marked "urgent" (ie the taskbutton flashes) instead. Obvious reason is that otherwise a unrelated dialog would be shown or the window would unconditionally be unminimized. (the urgent hint exists precisely to avoid such) I see that the close dialog is a bit special in this regard, but that is unknown to the WM. As a workaround you can set up a rule matching the dialog and force it to not be minimized. The konsole developers might consider to unminimize the window with the dialog -> reassigning. *kwin/manage.cpp:417 in current git master For the situation of minimized Konsole , I think the following code should do the job. bool MainWindow::queryClose() { ... if ( isMinimized() ) { showNormal(); } int result = KMessageBox::warningYesNoCancel(....); .... } But for the situation of on a another virtual desktop, is it possible? KWindowSystem::setOnDesktop(window()->winId(), KWindowSystem::currentDesktop()); Git commit cf5ccf5f65fa490411a27f6a5ada271bdc188d3b by Jekyll Wu. Committed on 21/04/2012 at 06:32. Pushed by jekyllwu into branch 'master'. Ensure the confirmation dialog for closing window is visible to users FIXED-IN: 4.9.0 M +6 -0 src/MainWindow.cpp http://commits.kde.org/konsole/cf5ccf5f65fa490411a27f6a5ada271bdc188d3b Git commit 66c0ddf7d1d5c9a7009f33da418d27a186651b92 by Jekyll Wu. Committed on 21/04/2012 at 06:32. Pushed by jekyllwu into branch 'KDE/4.8'. Ensure the confirmation dialog for closing window is visible to users FIXED-IN: 4.8.3 (cherry picked from commit cf5ccf5f65fa490411a27f6a5ada271bdc188d3b) M +6 -0 src/MainWindow.cpp http://commits.kde.org/konsole/66c0ddf7d1d5c9a7009f33da418d27a186651b92 |