Bug 478546

Summary: Sticky note widget's minimum size is too large
Product: [Unmaintained] kdeplasma-addons Reporter: Kotori Itsuka <cmdrkotori2>
Component: notesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR Keywords: qt6
Version First Reported In: 5.90.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the desktop with adjacent indicator widgets

Description Kotori Itsuka 2023-12-15 10:54:51 UTC
Created attachment 164185 [details]
Screenshot of the desktop with adjacent indicator widgets

SUMMARY
Sticky note's minimum size is now too large.

STEPS TO REPRODUCE
1. Have a sticky note on the desktop in a column with other widgets, resized to the same width
2. Update plasma 5 to the latest beta

OBSERVED RESULT
See attachment. This is the minimum size of the widget. I've had to shrink (vertically) some indicator widgets to make room for the sticky note. The sticky notes is now comically large in comparison to the adjacent widgets; I can't make it smaller.

EXPECTED RESULT
Sticky note inherits the size from plasma 5, like the indicator widgets do.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch Linux running the beta from kde-unstable repo
KDE Plasma Version: 5.90
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
I couldn't find the right component to file this under, (the page doesn't say anything about the stock widgets,) so I picked the closest. Hope this helps.
Comment 1 Nate Graham 2023-12-15 23:04:25 UTC
Git commit c512d971610504d357e47687ea460b44e46d7512 by Nate Graham.
Committed on 16/12/2023 at 00:03.
Pushed by ngraham into branch 'master'.

applets/notes: reduce minimum size

The minimum size was larger than the values of switchWidth and
switchHeight, which prevented the form factor switching functionality
from working. Reduce the minimum size accordingly so that it can work as
expected.

M  +2    -2    applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/c512d971610504d357e47687ea460b44e46d7512