Bug 478546 - Sticky note widget's minimum size is too large
Summary: Sticky note widget's minimum size is too large
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: notes (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-15 10:54 UTC by Kotori Itsuka
Modified: 2023-12-15 23:04 UTC (History)
1 user (show)

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


Attachments
Screenshot of the desktop with adjacent indicator widgets (951.53 KB, image/png)
2023-12-15 10:54 UTC, Kotori Itsuka
Details

Note You need to log in before you can comment on or make changes to this bug.
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