SUMMARY QR code option is shown for screenshots, but fails. STEPS TO REPRODUCE 1. Take a screenshot using Spectacle and copy it to the clipboard. 2. Open the clipboard applet. 3. Click the QR code icon on the screenshot's item. OBSERVED RESULT (- The item shows a placeholder image, not the screenshot itself.) - The item shows a clickable QR code option - Once clicked, the new page says “Creating QR code failed”. EXPECTED RESULT The QR code option should be disabled for images. While not necessarily in scope for this bug report, I think QR code generation for files should be disabled in general, since the resulting “file://” URL has little use on another device. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION Links to some code of interest: - https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/clipboard/contents/ui/ClipboardPage.qml#L129-137 - https://invent.kde.org/frameworks/prison/
Works for me for the "QR code" type. What type do you have selected? You can click on the little configure icon to see.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
What do you consider “working” in this case? Do you get a QR code with a file URL, or is the option disabled (/…)? Anyway, I verified that the “QR code” type is/was selected.
I guess I should clarify that in Spectacle, I copy the image, not its path, to the clipboard. Plus, the “Ignore images” option in the applet's configuration is enabled, as per default. When I disable it, I get a preview image, but still the QR code button is shown and results in an error.
Strange. I still cannot reproduce the issue. Could you attach a screen recording, maybe? And if you run plasmashell in a terminal window (with `plasmashell --replace`, can you paste the output in the terminal window that appears when you try to create the QR code and it fails? Thanks!
Created attachment 148433 [details] demonstration video Sure, here is a screen recording plus the (hopefully) relevant log. Note that these were recorded on two different machines of mine that share this bug. ``` file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/ImageItemDelegate.qml:13:1: QML ImageItemDelegate: Binding loop detected for property "width" QQmlComponent: Created graphical object was not placed in the graphics scene. QQmlComponent: Created graphical object was not placed in the graphics scene. QQmlComponent: Created graphical object was not placed in the graphics scene. QQmlComponent: Created graphical object was not placed in the graphics scene. QQmlComponent: Created graphical object was not placed in the graphics scene. QQmlComponent: Created graphical object was not placed in the graphics scene. file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/ImageItemDelegate.qml:13:1: QML ImageItemDelegate: Binding loop detected for property "width" ```
Depending on where the image is copied from I get either the corresponding file URL or a placeholder text like "▨123x50 32bpp" when showing a QR code for an image.
QR codes for images seem to be working as expected for me in current git master, which will become Plasma 6.2 in a few months. Are you still able to reproduce the issue in Plasma 6.1.4 or later?
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.