When capturing a screenshot via command line with the following parameters "$ spectacle -rbc" everything works as expected (screen captured by region/area, background mode without GUI, notification pop-up). However, when i extend the command line options like "-rbcn" the clipboard options seems to be disabled. STEPS TO REPRODUCE 1. capture screenshot from command line with "spectacle -rbc" and watch your clipboard 2. capture screenshot from command line with "spectacle -rbcn" and watch your clipboard OBSERVED RESULT Screenshot ist not saved to clipboard with the -n option EXPECTED RESULT Screenshot should be saved to clipboard with the -n option SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 31 (Kernel 5.5.8-200.fc31.x86_64) KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.67.0 Qt Version: 5.13.2
Check comment #13: https://bugs.kde.org/show_bug.cgi?id=411263#c13
Hi Antonio, thank you – i missed that one #411263. So, this bug is already known. Intentionally omitting the -n option and dealing with a pop-up window literally is a cosmetical issue. It is not logical, though. Probably, if there is no fix so far, you should consider to document this mismatch in the command line --help. I also can confirm the exact same error message, which is mentioned here https://bugs.kde.org/show_bug.cgi?id=411263#c1 when running spectacle with -rbcn cli options: kf5.kconfig.core: "\"cropRegion\" - conversion of \"0,0,0,0\" to QRect failed" best regards Johannes
(In reply to johannes.kunde from comment #2) Hi Johannes, should be fixed in the meanwhile. i don't know which commit was tho Probably this one, but it was set for target v20.* and above https://phabricator.kde.org/R166:02f51eb2652fff0cc3471cf5cf3df73d214641c2
Fixed re-confirmed with Spectacle built from master (so the fix is in Spectacle 21.08 or even earlier) *** This bug has been marked as a duplicate of bug 411263 ***