Bug 492180 - Allow folder view popup to be resized to a smaller height
Summary: Allow folder view popup to be resized to a smaller height
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 6.1.4
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-08-25 20:44 UTC by Liz Lee
Modified: 2024-08-28 16:37 UTC (History)
2 users (show)

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


Attachments
minimize height any further impossible (13.03 KB, image/jpeg)
2024-08-25 20:44 UTC, Liz Lee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liz Lee 2024-08-25 20:44:13 UTC
Created attachment 172948 [details]
minimize height any further impossible

STEPS TO REPRODUCE
1. attach folder view widget to panel and choose "view mode: list" in the configuration menu
2. try to minimize it by tragging the top border with the mouse

OBSERVED RESULT
list panel cannot be minimized to a size that fits the number of the entries.
e.g. when you have only 3 entries, the list will be as big enough to show ~15 to 20 entries.
this is a waste of place and leads to unnecessary mouse travelling.

EXPECTED RESULT

list should be able to be minimized to a "sane" height.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.6-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-08-27 18:45:36 UTC
Seems reasonable to reduce the minimum size, now that the widget popup is resizable
Comment 2 Nate Graham 2024-08-27 19:20:26 UTC
Actually looks like this is a bug after all, not a missing feature. Will fix it.
Comment 3 Bug Janitor Service 2024-08-27 19:22:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2478
Comment 4 Nate Graham 2024-08-28 16:37:27 UTC
Git commit dcd77bf7581ac45ff5659e4a8d78cc66523b850a by Nate Graham.
Committed on 28/08/2024 at 16:27.
Pushed by ngraham into branch 'master'.

Folder View: fix FullRepresentation's minimum size

It was being set to too high a value, because the preferredWidth() and
preferredHeight() functions used to calculate these values were being
sent false instead of true.

No regressions seen in containment mode or standalone desktop widget
mode.
FIXED-IN: 6.2.0

M  +2    -2    containments/desktop/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/dcd77bf7581ac45ff5659e4a8d78cc66523b850a