By default all dialogs are ApplicationModal, thus they block clicking
on any other app while the dialog is open.
Set them to WindowModal so they only block the parent window.
BUG: 504608
Gbp-Pq: Name upstream_9143fc2a_Fix-dialog-modality-settings.patch
{
bool isDir = (d->pmode == PermissionsOnlyDirs) || (d->pmode == PermissionsMixed);
QDialog dlg(properties);
+ dlg.setWindowModality(Qt::WindowModal);
dlg.setModal(true);
dlg.setWindowTitle(i18n("Advanced Permissions"));
{
auto *dlg = new QDialog(d->m_frame);
dlg->setObjectName(QStringLiteral("KPropertiesDesktopAdv"));
+ dlg->setWindowModality(Qt::WindowModal);
dlg->setModal(true);
dlg->setAttribute(Qt::WA_DeleteOnClose);
dlg->setWindowTitle(i18n("Advanced Options for %1", properties->url().fileName()));