Bug 428102 - Overlapping text/icons when view is scrollable and any entries are expanded
Summary: Overlapping text/icons when view is scrollable and any entries are expanded
Status: RESOLVED FIXED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: components (show other bugs)
Version: 5.85.0
Platform: Neon Linux
: HI normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
: 431991 441814 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-22 13:54 UTC by Patrick Silva
Modified: 2021-09-01 18:32 UTC (History)
6 users (show)

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


Attachments
screen recording (1.52 MB, video/webm)
2020-10-22 13:54 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-10-22 13:54:17 UTC
Created attachment 132638 [details]
screen recording

SUMMARY
Watch the attached screen recording please.

EXPECTED RESULT
no overlapping text/icons

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.0
Comment 1 David Edmundson 2020-10-22 15:34:32 UTC
Can't reproduce - but I also can't argue with a screen recording.

Are there any relevant warnings to the console?
Comment 2 Patrick Silva 2020-10-22 15:40:00 UTC
here are the warnings after I reproduce the bug


file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/components/Highlight.qml:34:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Comment 3 Nate Graham 2020-10-26 17:15:09 UTC
Whoa, that is weeeeeeird. Are you able to reproduce this issue with any of the other applets using the common ExpandableListItem component, such as Bluetooth, Network, Printers, or Vaults?
Comment 4 Patrick Silva 2020-10-26 18:26:55 UTC
At least Network is not affected. I can't test the other widgets.
Comment 5 Riccardo Robecchi 2020-11-23 12:01:17 UTC
I confirm the bug as I see it as well. I can't reproduce it on other widgets, though.
Comment 6 Nate Graham 2021-01-23 22:42:31 UTC
*** Bug 431991 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2021-05-07 17:43:22 UTC
Can reproduce when expanding enough items that the view would have to become scrollable. It does not become scrollable, and instead the expanded views overlap.
Comment 8 Riccardo Robecchi 2021-06-22 18:14:09 UTC
(In reply to Nate Graham from comment #7)
> Can reproduce when expanding enough items that the view would have to become
> scrollable. It does not become scrollable, and instead the expanded views
> overlap.

I have just run into another variant of the bug. If the element being clicked is the last, the view does not become scrollable so there's no way to select the buttons that appear below.
Comment 9 Nate Graham 2021-08-31 17:15:07 UTC
Seems like a general problem with the base component.
Comment 10 Nate Graham 2021-08-31 17:15:14 UTC
*** Bug 441814 has been marked as a duplicate of this bug. ***
Comment 11 Nate Graham 2021-09-01 18:32:02 UTC
Git commit f393bace87e5fc8c0e68eff9faf0656df64715ed by Nate Graham.
Committed on 01/09/2021 at 18:31.
Pushed by ngraham into branch 'master'.

ExpandableListItem: Fix overlapping entries with many expanded items

A previous hack was done wrong, and was not taking into account disabled
items.
FIXED-IN: 5.86

M  +3    -2    src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml

https://invent.kde.org/frameworks/plasma-framework/commit/f393bace87e5fc8c0e68eff9faf0656df64715ed