Bug 493623 - After digitally signing, Okular window shows "doesn't react"
Summary: After digitally signing, Okular window shows "doesn't react"
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-25 08:36 UTC by Oliver Sander
Modified: 2024-10-08 17:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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