| Summary: | "Puzzle solved" text clipping if window is too small | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Jan Bidler <janbidler00> |
| Component: | Fifteen Puzzle widget | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | cwo.kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.3.5 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kdeplasma-addons/-/commit/eba3ea1794114b7248f461b26cf36d28d9f5530b | Version Fixed/Implemented In: | 6.4.0 |
| Sentry Crash Report: | |||
|
Description
Jan Bidler
2025-05-28 16:13:07 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/831 Git commit d0ad03e9f7f678270fcb856d13ae77785a1bee14 by Christoph Wolk. Committed on 29/05/2025 at 19:41. Pushed by cwo into branch 'master'. applets/fifteenpuzzle: make tiny sizes work better We allow users to make the applet really small, which can leave it unplayable in some configurations. Part of that is a clear "Don't do that then" case (if you want to play on a 18×18 grid, don't make it barely larger than a stamp) but we can do a much better job at making it fit on the smallest sizes. This change enables word wrap for the victory screen labels, replaces the shuffle button with an icon-only one if its row would not fit, and fixes a spurious binding (my bad) that can cause the field to escape the plasmoid size if you resize it in some ways. Along the way, fix an implicit parameter warning. M +12 -0 applets/fifteenPuzzle/package/contents/ui/FifteenPuzzle.qml M +1 -7 applets/fifteenPuzzle/package/contents/ui/Piece.qml M +1 -1 applets/fifteenPuzzle/package/contents/ui/main.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/d0ad03e9f7f678270fcb856d13ae77785a1bee14 Git commit eba3ea1794114b7248f461b26cf36d28d9f5530b by Christoph Wolk. Committed on 29/05/2025 at 20:06. Pushed by cwo into branch 'Plasma/6.4'. applets/fifteenpuzzle: make tiny sizes work better We allow users to make the applet really small, which can leave it unplayable in some configurations. Part of that is a clear "Don't do that then" case (if you want to play on a 18×18 grid, don't make it barely larger than a stamp) but we can do a much better job at making it fit on the smallest sizes. This change enables word wrap for the victory screen labels, replaces the shuffle button with an icon-only one if its row would not fit, and fixes a spurious binding (my bad) that can cause the field to escape the plasmoid size if you resize it in some ways. Along the way, fix an implicit parameter warning. (cherry picked from commit d0ad03e9f7f678270fcb856d13ae77785a1bee14) Co-authored-by: Christoph Wolk <cwo.kde@posteo.net> M +12 -0 applets/fifteenPuzzle/package/contents/ui/FifteenPuzzle.qml M +1 -7 applets/fifteenPuzzle/package/contents/ui/Piece.qml M +1 -1 applets/fifteenPuzzle/package/contents/ui/main.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/eba3ea1794114b7248f461b26cf36d28d9f5530b |