Bug 493623

Summary: After digitally signing, Okular window shows "doesn't react"
Product: [Applications] okular Reporter: Oliver Sander <oliver.sander>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nicolas.fella, timon
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Oliver Sander 2024-09-25 08:36:58 UTC
With the new signing UX, after I have clicked on the "finish signing" button, Okular becomes unresponsive for a few seconds.  During that time, the entire Okular window fades to grey and the window title says "Okular reagiert nicht (Okular doesn't react)".

I guess that this is simply the time it takes Okular to do the actual signing. A better progress indicator would be appreciated, but the real problem is that Okular doesn't come back properly.  After a few seconds, the new signature appears together with the "this document is digitally signed" message.  However, the window remains grey, and the "doesn't react" message does not go away. Only after I switch the focus to another window and then back Okular does everything go back to normal.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.10.9-amd64 (64-bit)
Graphics Platform: offscreen
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 1 Oliver Sander 2024-10-03 15:08:56 UTC
It seems like https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1611 fixes this.
Comment 2 Nicolas Fella 2024-10-08 17:44:26 UTC
(In reply to Oliver Sander from comment #1)
> It seems like
> https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1611 fixes
> this.

That makes a good amount of sense. I can see how that would improve the saving performance.

> However, the window remains grey, and the "doesn't react" message does not go away. Only after I switch the focus to another window and then back Okular does everything go back to normal.

That's likely a KWin problem, I have observed that with other apps too. I can't reproduce it by sending SIGSTOP/SIGCONT to Okular though, then it un-grays fine
Comment 3 Timon Zielonka 2025-09-28 10:04:56 UTC
Same here:

Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.43+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 6 × Intel® Core™ i5-9600K CPU @ 3.70GHz
Memory: 64 GiB of RAM (62.7 GiB usable)
Graphics Processor: NV137