Created attachment 129064 [details] screenshot was casually browsing through icon themes when one of the themes managed to mess up the layout... see screenshot This seems fairly reproducible with the data of the oranchelo icon theme OBSERVED RESULT delegate breaks out of frame EXPECTED RESULT all delegates are unfirom SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.71.0 Qt Version: 5.14.2 Kernel Version: 5.4.0-33-generic OS Type: 64-bit Processors: 12 × AMD Ryzen 5 3600X 6-Core Processor Memory: 31,3 GiB of RAM Graphics Processor: AMD Radeon RX 5700 XT ADDITIONAL INFORMATION This happens on wayland with 2 screens and different scaling factors.
Thanks for that - it's suboptimal, but it'll basically need an overall fix like the one in https://invent.kde.org/frameworks/knewstuff/-/merge_requests/2 and then a per-entry handling, where we inform the content creator to maybe consider the way their content looks in KNS (which in many cases will be how their content will be consumed, and so i imagine they'll have some reasonable interest in not looking too broken there)
Git commit a1cc382053837e0884603d05c98ac912a9e42415 by Dan Leinir Turthra Jensen. Committed on 08/06/2020 at 08:35. Pushed by leinir into branch 'master'. Don't allow content to overflow in the grid delegates Due to the content shown in the delegates being user created, we cannot trust that it will flow correctly when shown inside a Text (or Label) Component. Consequently, we have to deal with the unfortunate cases where that content would end up overflowing. While it is suboptimal to do this by just clipping it, it will make the delegates look less broken, and we can then suggest to the content creator to maybe consider the presentation of their content in KNS as well as on the website. M +1 -0 src/qtquick/qml/private/entrygriddelegates/BigPreviewDelegate.qml M +1 -0 src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml https://invent.kde.org/frameworks/knewstuff/commit/a1cc382053837e0884603d05c98ac912a9e42415