https://bugs.kde.org/show_bug.cgi?id=465510

David Redondo <k...@david-redondo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/systemsettings/commit/58 |ma/systemsettings/commit/98
                   |907166d6600de3ad654922689af |8ee832615a396595108159f24a8
                   |2a6bd0e1c51                 |e342bd22612

--- Comment #6 from David Redondo <k...@david-redondo.de> ---
Git commit 988ee832615a396595108159f24a8e342bd22612 by David Redondo.
Committed on 24/03/2023 at 15:32.
Pushed by davidre into branch 'Plasma/5.27'.

Cancel pending resolveChanges dialog when a new one is started

We run a nested event loop while the message dialog is shown and
is waiting for user input. When during this a new request to
open another module happened (via dbus) we would show a second
dialog and run another event loop. After the first dialog was
answered with discard changes, the module was destroyed, so the
second discard answer chrashes trying to reset module which was
no longer around.
Instead prevent this by rejecting the first dialog (effect being
staying on the current module and doing nothing) before showing
the new one. This also ensures that afterwards the correct module
is opened (the one from the second request).
FIXED-IN:5.27.4

(cherry picked from commit 58907166d6600de3ad654922689af2a6bd0e1c51)

M  +21   -13   core/ModuleView.cpp

https://invent.kde.org/plasma/systemsettings/commit/988ee832615a396595108159f24a8e342bd22612

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to