[rkward] rkward/dialogs: Workaround for package installation dialog hiding on Mac

Thomas Friedrichsmeier null at kde.org
Thu Apr 5 07:32:12 UTC 2018


Git commit 95be80d91b3fa4bcbacbbf71bdf99c35605e74b9 by Thomas Friedrichsmeier.
Committed on 05/04/2018 at 07:11.
Pushed by tfry into branch 'master'.

Workaround for package installation dialog hiding on Mac

M  +1    -0    rkward/dialogs/rkloadlibsdialog.cpp

https://commits.kde.org/rkward/95be80d91b3fa4bcbacbbf71bdf99c35605e74b9

diff --git a/rkward/dialogs/rkloadlibsdialog.cpp b/rkward/dialogs/rkloadlibsdialog.cpp
index d58ce541..62d7c627 100644
--- a/rkward/dialogs/rkloadlibsdialog.cpp
+++ b/rkward/dialogs/rkloadlibsdialog.cpp
@@ -764,6 +764,7 @@ void InstallPackagesWidget::initialize () {
 	for (int i = 0; i < model->rowCount (); ++i) {
 		packages_view->setFirstColumnSpanned (i, QModelIndex (), true);
 	}
+	window()->raise(); // needed on Mac, otherwise the dialog may go hiding behind the main app window, after the progress control window closes, for some reason
 }
 
 void InstallPackagesWidget::rowClicked (const QModelIndex& row) {



More information about the rkward-tracker mailing list