Bug 448833 - Overlapping entries when filtering and deleting and filtering again several times
Summary: Overlapping entries when filtering and deleting and filtering again several t...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard (show other bugs)
Version: master
Platform: Other Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 451123 465703 466766 466921 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-20 16:54 UTC by Nate Graham
Modified: 2024-03-19 23:21 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Overlapping entries (251.30 KB, image/png)
2022-01-20 16:54 UTC, Nate Graham
Details
Before: the intact clipboard history (192.00 KB, image/png)
2022-12-29 18:20 UTC, Tom Warnke
Details
After filtering and scrolling simultaneously (197.92 KB, image/png)
2022-12-29 18:21 UTC, Tom Warnke
Details
After repeated filtering and scrolling: items overlap (191.74 KB, image/png)
2022-12-29 18:22 UTC, Tom Warnke
Details
overlapping entries using the search feature (54.44 KB, image/png)
2023-11-21 22:40 UTC, goo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2022-01-20 16:54:49 UTC
Created attachment 145670 [details]
Overlapping entries

Everything KDE from git master.

Sometimes, when I filter in the clipboard applet, entries overlap in the view. It does not always happen and I have not been able to find a 100% reproducible trigger.

This issue seems to have been introduced within the last few days. I tried bisecting three times and got different nonsensical results every time.

See attached screenshot.
Comment 1 Bharadwaj Raju 2022-01-20 19:05:13 UTC
Can't reproduce unfortunately. Tried filtering with different text a bunch of times.

> This issue seems to have been introduced within the last few days. I tried bisecting three times and got different nonsensical results every time.

Is there a version at which it definitely does not appear?

Does the overlapping text disappear on hovering? On scrolling?
Comment 2 Fushan Wen 2022-01-20 19:06:08 UTC
I saw the same glitch.
Comment 3 Nate Graham 2022-03-25 18:31:37 UTC
*** Bug 451123 has been marked as a duplicate of this bug. ***
Comment 4 medin 2022-10-05 15:11:27 UTC
It's still happening with 5.25.5 and renders the whole applet not usable at all, what is interesting is that the floating klipper dialog is not affected by this annoying bug and this was not present at all is old versions.
Comment 5 Tom Warnke 2022-12-29 18:19:15 UTC
I was able to reproduce something similar on 5.26.4 (and on the current master) by filtering and scrolling simultaneously. Some entries appear wrongly in the filter result - they seem to be moved into view by scrolling. When clearing the filter term, they are still there and occasionally overlap themselves or other history items. I'm adding screenshots, maybe this makes it easier to reproduce this.
Comment 6 Tom Warnke 2022-12-29 18:20:39 UTC
Created attachment 154882 [details]
Before: the intact clipboard history
Comment 7 Tom Warnke 2022-12-29 18:21:43 UTC
Created attachment 154883 [details]
After filtering and scrolling simultaneously
Comment 8 Tom Warnke 2022-12-29 18:22:36 UTC
Created attachment 154884 [details]
After repeated filtering and scrolling: items overlap
Comment 9 Bharadwaj Raju 2022-12-29 18:31:07 UTC
Thanks for those comments, Tom — filtering and scrolling simultaneously appears to be key, and finally I can reproduce this too.

Observations:
- The glitched entries can't be interacted with, they're just there
- Opening and closing the applet does not clear them
- Scrolling does not clear them, they move with the scroll view (answering my previous question here)
- Clearing the entire clipboard history does not clear them

Hopefully these clues help.
Comment 10 Patrick Silva 2023-02-14 14:49:35 UTC
*** Bug 465703 has been marked as a duplicate of this bug. ***
Comment 11 Patrick Silva 2023-03-03 23:01:27 UTC
*** Bug 466766 has been marked as a duplicate of this bug. ***
Comment 12 Sebastian Turzański 2023-03-04 07:32:10 UTC
It might be related to clipboard containing copy-paste from Calc Spreadsheet where text contains tabs and line breaks? Just a guess
Comment 13 Patrick Silva 2023-03-06 15:58:02 UTC
*** Bug 466921 has been marked as a duplicate of this bug. ***
Comment 14 Sebastian Turzański 2023-03-15 20:16:17 UTC
I think I have a video showing how the on-hover-sellection in klipper is not following the mouse
Initially I thought it was completely separate bug but then I realized this is probably the same error with wrong space being reserved per row maybe?
Maybe it will help to get the bug identified
https://photos.app.goo.gl/mJDJY7ymQkHW6QgJ8
Comment 15 goo 2023-11-21 22:40:44 UTC
Created attachment 163349 [details]
overlapping entries using the search feature

why is there no clipboard plug-in for the krunner search utility?
Comment 16 Marco Martin 2023-11-22 09:01:23 UTC
i can sometimes reproduce it. from the look of it seems an issue of either ListView itself or an issue of the underlying model
Comment 17 Marco Martin 2023-11-22 09:15:20 UTC
as a datapoint: i wanted to blame reuseITems but also with that disabled is still broken
Comment 18 Sebastian Turzański 2023-11-22 11:19:50 UTC
(In reply to Sebastian Turzański from comment #14)
> I think I have a video showing how the on-hover-sellection in klipper is not
> following the mouse
> Initially I thought it was completely separate bug but then I realized this
> is probably the same error with wrong space being reserved per row maybe?
> Maybe it will help to get the bug identified
> https://photos.app.goo.gl/mJDJY7ymQkHW6QgJ8

just wanted to add that in current 5.27.9 i can see that line breaks and tabs are presented/visible as dedicated arrow icons witch may verify my theory
Comment 19 Marco Martin 2023-11-22 15:57:24 UTC
another datapoint: when this happen and the clipboard history is deleted, then those phantom entries don't get deleted but they're still there
Comment 20 Nate Graham 2024-02-06 16:11:54 UTC
Bug 480594 is very similar and seems to be an upstream issue, so maybe this one might be as well? Would need to re-test after https://bugreports.qt.io/browse/QTBUG-115717 is fixed.
Comment 21 Nate Graham 2024-02-06 16:13:12 UTC
Oh my goodness, I just re-tested and it seems to have the exact behavior as Bug 480594 now. :( So it seems like we are also hitting https://bugreports.qt.io/browse/QTBUG-115717 here, in addition to any other issues.