Bug 494053 - Allow Klipper-generated QR-codes to be copied or otherwise exported
Summary: Allow Klipper-generated QR-codes to be copied or otherwise exported
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (show other bugs)
Version: master
Platform: unspecified Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-03 17:35 UTC by Eduard Korchmar
Modified: 2025-03-14 08:54 UTC (History)
3 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 Eduard Korchmar 2024-10-03 17:35:44 UTC
SUMMARY
Klipper (the KDE clipboard manager) has a very nice feature that enables users to generate QR codes. Unfortunately, they are transient: they can be displayed and immediately scanned by users, but it would be really helpful to also be able to save them or at least copy them to clipboard, for example if I want to print a WiFi password for my guests to scan, or when preparing printing materials and wanting to include a scanable code with arbitrary data.

STEPS TO REPRODUCE
1. Copy a link, a WiFi password, or another arbitrary string
2. Open Clipboard widget
3. Press "Show QR Code"

OBSERVED RESULT
One is able to use the code, but not export it in any way.

EXPECTED RESULT
One is able to also export the code.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-1240P
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics

ADDITIONAL INFORMATION
Was directed to post here from https://invent.kde.org/plasma/plasma-workspace/-/issues/139#note_1045393
Comment 1 TraceyC 2024-10-28 22:22:29 UTC
I can definitely see use cases for being able to copy / export the generated QR Code
Comment 2 Eduard Korchmar 2024-10-28 23:41:30 UTC
Interestingly, there is already code for drag and drop behavior on barcode:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/klipper/declarative/qml/BarcodePage.qml#L117

And you can *try* to drag and drop barcodes, but it does nothing currently.
Comment 3 dexxter 2025-03-14 08:54:57 UTC
+1 for this feature :)

In spectacle you can copy and paste the screenshot. Same should apply to qrgen in klipper. Drag-n-Drop would also be nice.
cheers