Bug 459210 - Displayed QR code for app sharing too small
Summary: Displayed QR code for app sharing too small
Status: CONFIRMED
Alias: None
Product: frameworks-purpose
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.98.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-09-16 12:32 UTC by postix
Modified: 2022-09-19 03:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot (78.11 KB, image/png)
2022-09-16 12:32 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2022-09-16 12:32:20 UTC
Created attachment 152098 [details]
Screenshot

STEPS TO REPRODUCE
1.  Open Discover
2.  Select any application
3.  Click on "Share"
4. Click on "Generate QR Code"

OBSERVED RESULT
The QR code is rather tiny.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220914
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Kernel Version: 5.19.8-1-default (64-bit)
Graphics Platform: Wayland
Scaling: 200%
Comment 1 Nate Graham 2022-09-16 21:14:38 UTC
Confirmed. We need to make the popup bigger to accommodate it. Or in the library component, make the QR code have a larger implicit size so that implementations get the right size automatically. Will investigate it.
Comment 2 Nate Graham 2022-09-19 03:30:52 UTC
Investigated a bit and it seems like this issue is in the Purpose Framework.

In barcodeplugin_config.qml, the barcode item fills the size of its parent item (which takes its preferred size of the barcode, thereby being a binding loop too), rather than bubbling its implicit size up to its parent.