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

--- Comment #59 from [email protected] ---
(In reply to Nate Graham from comment #58)
> Your issue with "Ding" is something else.
> 
> Basically the problem here is that a stuck process can delay logout for 120
> seconds by default with systemd. That time is configurable by the user and
> the distro though.
> 
> So there are two ways that this kind of problem can be fixed:
> 1. The targeted solution: fix the app in question so it doesn't hang on
> quit. That's what happened with SDDM, which is what the bug report was
> originally about. Drawback: potentially need to fix many things. It's a gave
> of whack-a-mole.
> 2. The nuclear solution: at the user or distro level, set the timeout to
> something short like 5 seconds. Drawback: still delays logout by some amount
> of time, even if it's not as long. Not really a true solution to the problem.
> 
> Neither can be done by KDE. The first option needs to be changed by
> individual apps, and the second option needs to be changed by distros or
> users. Both can also be done, but neither can be done by KDE.
> 
> Hopefully that clarifies things a bit.

Thanks for your reply. I'm afraid that systemd and timeouts have nothing to do
with the problem since the system is "System V".

The trouble began with Plasma-5.19. Any version before that (incl. Plasma-4)
had no problem with terminating Ding. Nor does xfce (same PC). So, while I
cannot rule out a bug in Ding somewhere, it seems more likely that changes in
Plasma-5.19 are the root cause here, not the app itself or the init procedure.

"Ding" is just a shell skript plus tcl/Tk frontend. It never causes any other
problem and can always be terminated manually. Why Plasma should no longer be
able to do that, eludes me. Moreover, if an app blocks Plasma's logout
procedure, Plasma should be able to detect that and air a warning instead of
hanging beyond resuscitation.

What makes matters worse is that there seems to be no way of binding a
Ding-closing script to Plasma's session-terminating procedure. 

So it's either "Don't forget to close Ding!!!" or "Dammit! Not again!". 
Both options seem somewhat anachronistic in 2022.

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

Reply via email to