SUMMARY The "Content Rating" layout for some applications fails to display the full lines, as the floating window is apparently not adaptive to the content (or the content does not line-wrap based on window width). See screenshot. STEPS TO REPRODUCE 1. Open Discover. 2. Look for Telegram Desktop from FlatHub. 3. Click on "See details..." under "Content Rating." OBSERVED RESULT Text in the "Content Rating" pop-up window is cut short by the window. EXPECTED RESULT Text in the "Content Rating" pop-up should line-wrap with the width of the window. SOFTWARE/OS VERSIONS Operating System: AOSC OS 10.1.0 KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.5 Kernel Version: 6.2.1-aosc-main (64-bit) Graphics Platform: X11 Processors: 8 × 11th Gen Intel® Core™ i7-1195G7 @ 2.90GHz Memory: 15.3 GiB of RAM Graphics Processor: Mesa Intel® Xe Graphics Manufacturer: Panasonic Corporation Product Name: CFSV2-1 System Version: 001
Created attachment 156988 [details] Incorrect text layout in "Content Rating" pop-up.
Ah right, this. It was a Kirigami bug, right Ivan? Do you recall?
Yes, it's one of the cases where Kirigami Dialogs incorrectly follow implicit size of their content. See also: unnecessary horizontal scrolling: https://invent.kde.org/frameworks/kirigami/-/merge_requests/966
*** Bug 465071 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/532
Git commit f0620e01f04b9307f8a9fda8e5fff27ce498ecfc by Ismael Asensio. Committed on 11/04/2023 at 15:36. Pushed by iasensio into branch 'master'. ApplicationPage: Fix layout for content rating dialog Add a larger preferred width (similar to the software risks one) and wrap text. FIXED-IN: 5.27.5 M +2 -0 discover/qml/ApplicationPage.qml https://invent.kde.org/plasma/discover/commit/f0620e01f04b9307f8a9fda8e5fff27ce498ecfc
Git commit f780c6ceaf3da7e3610d384088504364118b2f82 by Ismael Asensio. Committed on 11/04/2023 at 15:44. Pushed by iasensio into branch 'Plasma/5.27'. ApplicationPage: Fix layout for content rating dialog Add a larger preferred width (similar to the software risks one) and wrap text. FIXED-IN: 5.27.5 (cherry picked from commit f0620e01f04b9307f8a9fda8e5fff27ce498ecfc) M +2 -0 discover/qml/ApplicationPage.qml https://invent.kde.org/plasma/discover/commit/f780c6ceaf3da7e3610d384088504364118b2f82