Bug 430112 - "certificate expired" dialog steals focus from other applications
Summary: "certificate expired" dialog steals focus from other applications
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-07 16:12 UTC by Christian Boltz
Modified: 2023-03-26 17:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Boltz 2020-12-07 16:12:31 UTC
SUMMARY

If Akregator tries to fetch a feed over https, and the server certificate expired, the dialog saying so steals the focus.


STEPS TO REPRODUCE
1. add (or have) a feed from a server with expired ssl certificate
2. fetch all feeds
3. make sure Akregator doesn't have the focus

OBSERVED RESULT

A dialog saying (translated back from german)

"Validating the server ($domain) failed. The validity of the certificate is expired."

This dialog grabs the focus, even if I'm just in another program. (Which also means that - if I'm just going to press enter in the other program - will accidently get that key press.

EXPECTED RESULT

Same dialog, but it shouldn't steal the focus.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 15.2
Comment 1 Laurent Montel 2020-12-07 17:34:48 UTC
Can you give me an url where I can reproduce bug please.
Comment 2 Christian Boltz 2020-12-09 22:33:01 UTC
Currently this one should give you the error (until they update the certificate):
https://twitrss.me/twitter_user_to_rss/?user=farbfiguren
Comment 3 Laurent Montel 2020-12-10 07:06:42 UTC
I can't reproduce it.
It's not a akregator bug as it uses a normal QdialogBox
Perhaps a kwin bug. Not idea.
For sure it's not an akregator bug
Comment 4 Christian Boltz 2020-12-12 19:25:33 UTC
Moving bug - Hi kwin developers, is this focus stealing bug something in your area? ;-)
Comment 5 David Edmundson 2023-03-26 05:12:53 UTC
Is this X or wayland?
Comment 6 Christian Boltz 2023-03-26 17:36:52 UTC
I've seen it with X.

(I have to admit that I didn't try wayland yet, therefore I don't know if it also happens there.)