Bug 476024 - Long text in the Permissions Section is not reformatted to fit the window
Summary: Long text in the Permissions Section is not reformatted to fit the window
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: ratijas
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-10-23 22:38 UTC by guimarcalsilva
Modified: 2023-11-21 01:39 UTC (History)
2 users (show)

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


Attachments
Long text in the permissions section doesn't get reformatted to fit (34.84 KB, image/png)
2023-10-23 22:38 UTC, guimarcalsilva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guimarcalsilva 2023-10-23 22:38:35 UTC
Created attachment 162520 [details]
Long text in the permissions section doesn't get reformatted to fit

SUMMARY
The text in the Permission session goes beyond the window limits and gets under the scrollbar. On Plasma 5 the text reformats itself to fit. This is not the case on Plasma 6. Please see the screenshot.

STEPS TO REPRODUCE
1. Open a page for a Flatpak application
2. Scroll down
3. Make the window smaller

OBSERVED RESULT
Long text does not get reformatted to fit the limited space. It continues and is visible behind scrollbar.

EXPECTED RESULT
Text should get reformatted automatically the way it happens on Plasma 5.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0

ADDITIONAL INFORMATION
1x scale
Comment 1 Nate Graham 2023-10-24 17:51:13 UTC
Will be fixed with https://invent.kde.org/plasma/discover/-/merge_requests/661.
Comment 2 ratijas 2023-11-21 01:39:04 UTC
Git commit 2b9afc82f0d52e6992c5b3c01e4e8dc642830d7a by ivan tkachenko.
Committed on 21/11/2023 at 02:38.
Pushed by ratijas into branch 'master'.

Flatpak: Fix regression of text not wrapping in permission view

Requires Kirigami patch that adds wrapMode property to delegates.

M  +12   -2    libdiscover/backends/FlatpakBackend/qml/PermissionsList.qml

https://invent.kde.org/plasma/discover/-/commit/2b9afc82f0d52e6992c5b3c01e4e8dc642830d7a