Bug 452900

Summary: "Printer Options" page is not adaptive
Product: [Frameworks and Libraries] print-manager Reporter: ratijas <me>
Component: generalAssignee: Daniel Nicoletti <dantti12>
Status: RESOLVED FIXED    
Severity: normal CC: noeerover
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.0
Sentry Crash Report:
Attachments: Printer Manager - Printer Options narrow layout

Description ratijas 2022-04-23 09:40:18 UTC
Created attachment 148317 [details]
Printer Manager - Printer Options narrow layout

SUMMARY

In the printer configuration popup there are three sections in the sidebar. Second of them, «Printer Options» (or «Set the Default Printer Options» as it describes itself in the page title) is not adapted to the narrow view, i.e. to the minimal allowed window width of its configuration containment.

STEPS TO REPRODUCE
1. Connect/Add a printer
2. Open Printers KCM (system settings page)
3. Press Configure button to open printer configuration window
4. Select Printer Options on the left
5. Leave window at default width, or shrink it even further to its minimal width.

OBSERVED RESULT
Partially hidden view, scrolling horizontally.

EXPECTED RESULT
I expected it to be a Kirigami/FormLayout which adapts itself to the narrow form-factor. But turns out the whole thing is implemented in C++ (Qt's *.ui layouts).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.3
Kernel Version: 5.17.4-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 970M/PCIe/SSE2

ADDITIONAL INFORMATION
Also, what's that ON/OFF radio buttons group? Why not a single checkbox?