Bug 445806 - Rows are highlighted in blue as the list scrolls while window rules are deleted in sequence
Summary: Rows are highlighted in blue as the list scrolls while window rules are delet...
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kwinrules (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-20 12:25 UTC by Patrick Silva
Modified: 2023-12-07 17:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
window rules (21.32 KB, text/plain)
2021-11-20 12:26 UTC, Patrick Silva
Details
screen recording (2.46 MB, video/webm)
2021-11-20 12:26 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-11-20 12:25:32 UTC
STEPS TO REPRODUCE
1. open Window Rules KCM
2. import the attached window rules
3. delete many rules in sequence

OBSERVED RESULT
Rows are highlighted in blue as the list scrolls while window rules are deleted in sequence.
The highlight in blue disappears on mouseover. Please watch the attached screen recording.

EXPECTED RESULT
the observed result should not occur

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: X11
Comment 1 Patrick Silva 2021-11-20 12:26:15 UTC
Created attachment 143761 [details]
window rules
Comment 2 Patrick Silva 2021-11-20 12:26:59 UTC
Created attachment 143762 [details]
screen recording
Comment 3 Bug Janitor Service 2021-11-21 13:14:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1694
Comment 4 Ismael Asensio 2021-11-22 12:49:06 UTC
Git commit 5e17de0ffd62b6b04ad7d7e26aa4a705970e3127 by Ismael Asensio.
Committed on 22/11/2021 at 12:48.
Pushed by iasensio into branch 'master'.

kcm/kwinrules: Port away from DelegateRecycler

We want to port from this compontent in general, as the ListView can reuse items
directly and it's a bit less bug-prone.
FIXED-IN: 5.24

M  +15   -8    src/kcmkwin/kwinrules/package/contents/ui/RulesList.qml

https://invent.kde.org/plasma/kwin/commit/5e17de0ffd62b6b04ad7d7e26aa4a705970e3127
Comment 5 Ismael Asensio 2022-01-28 21:11:31 UTC
This effect has been reduced, but not fully solved. 
It happens because reused items in the list do not reset their `hovered` property when they're deleted.

Since the property is read-only, it will require an upstream fix in Qt.
Comment 6 Patrick Silva 2023-11-17 20:44:09 UTC
(In reply to Ismael Asensio from comment #5)
> This effect has been reduced, but not fully solved. 
> It happens because reused items in the list do not reset their `hovered`
> property when they're deleted.
> 
> Since the property is read-only, it will require an upstream fix in Qt.

Can we close this report Ismael?
Comment 7 Bug Janitor Service 2023-12-02 03:45:46 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Ismael Asensio 2023-12-07 17:57:20 UTC
This is definitely an upstream issue we cannot solve from our side.

I was dubious to close this, as a reminder because there are still no bug report filled in the Qt bug tracker. 

But keeping an unactionable item in our bug tracker doesn't help either.