Bug 421018 - Window size for barcode (QR code) is too small, so the bar code is hidden
Summary: Window size for barcode (QR code) is too small, so the bar code is hidden
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard (show other bugs)
Version: 5.15.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-04 18:59 UTC by Karl Ove Hufthammer
Modified: 2023-11-17 00:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments
Screenshot showing the Klipper window (8.12 KB, image/png)
2020-05-04 18:59 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2020-05-04 18:59:05 UTC
Created attachment 128146 [details]
Screenshot showing the Klipper window

SUMMARY
When displaying the barcode for something on the clipboard, the window that pops up is so tiny that no barcodes are displayed at all. It looks like barcode feature isn’t working at all. (But it is, which can be seen by manually resizing the window). See attached screenshot.

STEPS TO REPRODUCE
1. Copy some text to the clipboard.
2. Right-click on the Clipper icon in the system tray and select ‘Show barcode’

OBSERVED RESULT
A window of minimal size appears, with just an ‘OK’ button and no barcodes.


EXPECTED RESULT
The window should have a reasonable size (perhaps one-half of the screen height, so that the QR code is easy to scan?).


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200429
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1


ADDITIONAL INFORMATION
If the text copied to the clipboard is *very short*, a tiny barcode *is* shown (but it is not usable). But for any longer text, no barcode is shown.
Comment 1 Nate Graham 2023-09-15 21:32:31 UTC
This has been fixed for Plasma 6.
Comment 2 Roy Orbitson 2023-11-17 00:05:36 UTC
Since this is still an issue in current releases of Plasma, the easiest workaround is to create a window rule.

While the undersized QR dialogue has focus, press Alt +F3 and go to More Actions > Configure Special Window Settings. Give it a more useful description, and edit the rule so it matches "plasmashell" for the window class, "Dialog Window" for the type, substring matches the title "Mobile Barcode" (or whatever it shows in your language). Then add properties to initially apply a position and force a minimum size, e.g. size 1280x640 and pos. 320, 220 will centre it on a 1920x1080 screen and make it large enough to show both the QR and Matrix codes.