Summary: | `kleopatra --help` returns a modal stating "Unknown option" when it's already running | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | Roke Julian Lockhart Beedell <4wy78uwh> |
Component: | general | Assignee: | Ingo Klöcker <kloecker> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | aheinecke, kdepim-bugs, mutz |
Priority: | NOR | ||
Version First Reported In: | 4.0.0.250402 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
URL: | https://forum.gnupg.org/t/kleopatra-command-line-to-sign-file/3857/5?u=rokejulianlockhart | ||
Latest Commit: | 84fd608fa3cbbb8e4023b3bc451cb1701ac787fd | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
A Screenshot Of The Modal
A Screencast Of The Flag Failing To Invoke When Kleopatra Is Running, Versus It Succeeding When It's Not |
Description
Roke Julian Lockhart Beedell
2025-06-12 10:12:22 UTC
Created attachment 182224 [details] A Screencast Of The Flag Failing To Invoke When Kleopatra Is Running, Versus It Succeeding When It's Not (In reply to Roke Julian Lockhart Beedell from comment #0) After checking https://forum.gnupg.org/t/kleopatra-command-line-to-sign-file/3857/6?u=rokejulianlockhart, I can confirm that this bug solely reproduces if `kleopatra` is already running. If I "Quit" it, then run `kleopatra -help`, it returns the help. Thanks for the report! This has been fixed a few minutes ago. https://invent.kde.org/pim/kleopatra/-/commit/84fd608fa3cbbb8e4023b3bc451cb1701ac787fd Note that I chose to keep it simple which means that if Kleopatra is already running then running `kleopatra --help` opens a window showing the help text instead of printing the help text to the terminal. Printing the help text to the terminal would have been much more difficult for technical reasons. (The command line arguments are handled by the already running Kleopatra which in general cannot print anything to the terminal in which `kleopatra --help` was run.) (In reply to Ingo Klöcker from comment #2) Insofar as that text can be copied, I think that's fine: it's a graphical app, after all. Thanks! |