Bug 445848 - After exiting Edit Mode, textual list only has 1px height
Summary: After exiting Edit Mode, textual list only has 1px height
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-21 04:29 UTC by Fushan Wen
Modified: 2021-11-26 08:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.24


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2021-11-21 04:29:04 UTC
SUMMARY
If I enter Edit Mode and then exit, the textual list will only have 1px height. The tasks in the list cannot be clicked.

STEPS TO REPRODUCE
1. Enter Edit Mode
2. Exit Edit Mode
3. Open textual list

OBSERVED RESULT
1px height

EXPECTED RESULT
Normal height.

SOFTWARE/OS VERSIONS
Information for package plasma5-desktop:
----------------------------------------
Repository     : unstable-kde-frameworks
Name           : plasma5-desktop
Version        : 5.23.80git.20211120T012527~b23f7f80b-ku.63.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 8.8 MiB
Installed      : Yes
Status         : up-to-date
Source package : plasma5-desktop-5.23.80git.20211120T012527~b23f7f80b-ku.63.1.src
Summary        : The KDE Plasma Workspace Components
Description    : 
    This package contains the basic packages for a Plasma workspace.
Comment 1 Fushan Wen 2021-11-21 07:43:53 UTC
file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/GroupDialog.qml:66:13: QML ListView: Binding loop detected for property "maxHeight"
Comment 2 Bug Janitor Service 2021-11-21 08:21:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/710
Comment 3 Nate Graham 2021-11-22 18:14:16 UTC
Git commit 7e1ba0a087143115e72e04b5961779c224e16de0 by Nate Graham, on behalf of Fushan Wen.
Committed on 22/11/2021 at 18:10.
Pushed by ngraham into branch 'master'.

taskmanager: Do not unload model after closing textual list

This fixes a visual glitch in textual list after exiting Edit Mode.
The height of mainItem will not be updated normally and will remain 1px
if the model is unloaded after closing textual list.

M  +2    -2    applets/taskmanager/package/contents/ui/GroupDialog.qml

https://invent.kde.org/plasma/plasma-desktop/commit/7e1ba0a087143115e72e04b5961779c224e16de0