Summary: | Thumbnails visualisation for task switcher crops the icon of a task when taks's name is too long | ||
---|---|---|---|
Product: | [Plasma] kdeplasma-addons | Reporter: | kde |
Component: | Task Switchers | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | isma.af, kde, nate |
Priority: | NOR | ||
Version: | 5.24.3 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kdeplasma-addons/commit/e58ad3af86850b21706f139b0025c6c42317cc6d | Version Fixed In: | 5.25.3 |
Sentry Crash Report: | |||
Attachments: | Icon being cropped |
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/182 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/183 Git commit 8eef3583573ae2e4bf31c5788c8c7542036c8ae0 by Ismael Asensio. Committed on 28/06/2022 at 22:51. Pushed by iasensio into branch 'master'. switchers/thumbnails: Fix icon cropped when text is large enough Use a RowLayout instead of a single Item with complex anchors and width calculations. FIXED-IN: 5.25.3 M +17 -39 windowswitchers/thumbnails/contents/ui/main.qml https://invent.kde.org/plasma/kdeplasma-addons/commit/8eef3583573ae2e4bf31c5788c8c7542036c8ae0 Git commit e58ad3af86850b21706f139b0025c6c42317cc6d by Ismael Asensio. Committed on 28/06/2022 at 22:56. Pushed by iasensio into branch 'Plasma/5.25'. switchers/thumbnails: Fix icon cropped when text is large enough Use a RowLayout instead of a single Item with complex anchors and width calculations. FIXED-IN: 5.25.3 (cherry picked from commit 8eef3583573ae2e4bf31c5788c8c7542036c8ae0) M +17 -39 windowswitchers/thumbnails/contents/ui/main.qml https://invent.kde.org/plasma/kdeplasma-addons/commit/e58ad3af86850b21706f139b0025c6c42317cc6d |
Created attachment 147791 [details] Icon being cropped SUMMARY If I go to Window Manager -> Task switcher and choose Visualisation as Thumbnails(maybe, with others happen the same) and then alt-tab to a window with a long name, it crops the icon of the program. STEPS TO REPRODUCE 1. Choose Thumbnails visualisation for task switcher 2. Open a window with a long title(for example, a browser and a long-named site) 3. Alt tab to it OBSERVED RESULT The title of the window pushes the icon beyond the visible part EXPECTED RESULT The icon is fully visible SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Manjaro KDE 5.24.3 (available in About System) KDE Plasma Version: 5.24.3 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION I've attached a screenshot