Hi, a while ago I automatically got the (decoded) text in spectacle when screenshotting QR code(s). This is no longer working under my user profile. Not sure what's causing this. With a clean user/profile it's working. Tried starting spectacle from CLI, but don't see anything of interest. Trashed all the cache / config files / folders with spectacle in the name under ~/.config and ~/.cache, but this doesn't help. Any ideas where it might be going wrong? Not sure how to debug this. Seems it should just work by default, can't find anything in the settings to turn this on/off.
This works as expected for me
It does for me with a clean user profile too. Would prefer not to trash my entire profile though. Was hoping someone would have some pointers as to what might be causing this. Starting spectacle in CLI isn't helpful with regards to the output. No clue why it stopped working. There doesn't seem to be a setting to turn it off, executable is linked to libZXing.so.3 => /usr/lib64/libZXing.so.3 (0x00007f514c826000) which I presume adds this functionality (if that were broken it wouldn't work with clean profile either). No ideas? :)
(In reply to freaky from comment #2) > There doesn't seem to be a setting to turn it off, executable is > linked to > libZXing.so.3 => /usr/lib64/libZXing.so.3 (0x00007f514c826000) > which I presume adds this functionality (if that were broken it wouldn't > work with clean profile either). It is Prison (https://invent.kde.org/frameworks/prison) that provides the functionality to Spectacle, which itself uses zxing-cpp to do the QR code scanning.
Hi, I found the culprit, I have it set to automatically copy the resulting capture to clipboard. That results in a default message that the image was copied to clipboard. It seems to use the same bar / notification. If I disable the automatic copy to clipboard I nicely get the QR-/barcode contents listed. I'm fine with not getting a message it was copied to clipboard.
Same experience as freaky@bananateam.nl here. A bunch of us were confused on reddit "What? Spectacle has QR code support?" After some poking at it, figured out it only shows the QR text code with Options > General > After taking a screenshot > Do not copy anything (cannot be "Copy image to clipboard"!) and then I found this bug exists ref https://www.reddit.com/r/kde/comments/1jezwte/a_hidden_piece_of_useful_software_the_kde_qr_code/
Wow! I guess I need to come up with a way to combine inline messages since they replace/override each other.
Having "[x] Save file to default folder" activated also shows an inline message, overlaying the QR-Code one. I have seen KDE programs (dont remember which ones, sorry) show multiple messages at the same time (one on the top and the others below it), so this should also be possible somehow.
I have the same bug on Spectacle 6.3.5.
Git commit efde1b97e49f7a86d684d5409348113a4b2e2c22 by Noah Davis. Committed on 13/05/2025 at 18:49. Pushed by ndavis into branch 'master'. Support showing multiple inline messages Will be better for supporting multiple state combinations M +2 -11 src/CMakeLists.txt D +0 -26 src/Gui/CopiedMessage.qml M +2 -17 src/Gui/DialogPage.qml D +0 -22 src/Gui/InlineMessage.qml A +157 -0 src/Gui/InlineMessageList.qml [License: LGPL(v2.0+)] A +134 -0 src/Gui/InlineMessageModel.cpp [License: LGPL(v2.0+)] A +78 -0 src/Gui/InlineMessageModel.h [License: LGPL(v2.0+)] D +0 -28 src/Gui/LocationCopiedMessage.qml D +0 -47 src/Gui/QRCodeScannedMessage.qml D +0 -22 src/Gui/RecordingFailedMessage.qml D +0 -10 src/Gui/SavedAndCopiedMessage.qml D +0 -15 src/Gui/SavedAndLocationCopied.qml D +0 -32 src/Gui/SavedMessage.qml D +0 -21 src/Gui/ScreenshotFailedMessage.qml D +0 -23 src/Gui/ShareErrorMessage.qml D +0 -35 src/Gui/SharedMessage.qml M +0 -22 src/Gui/SpectacleWindow.cpp M +1 -2 src/Gui/SpectacleWindow.h M +4 -20 src/Gui/ViewerPage.qml M +19 -94 src/Gui/ViewerWindow.cpp M +0 -12 src/Gui/ViewerWindow.h M +47 -18 src/SpectacleCore.cpp https://invent.kde.org/graphics/spectacle/-/commit/efde1b97e49f7a86d684d5409348113a4b2e2c22