Bug 472558

Summary: Click into found entry doesn't run/open found entry
Product: [Plasma] krunner Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, bugseforuns, djmenig, kde, natalie_clarius, nate, piotr.mierzwinski
Priority: NOR Keywords: qt6, wayland-only
Version First Reported In: master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=470668
https://bugs.kde.org/show_bug.cgi?id=472997
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Piotr Mierzwinski 2023-07-24 00:09:41 UTC
SUMMARY
I have list of matching entries (entered "konsole"), I click into "konsole terminal" and happens nothing. Only when I press Enter then konsole starts.


STEPS TO REPRODUCE
1. Press Alt+F2
2. enter konsole
3. click into "konsole terminal"

OBSERVED RESULT
happens nothing 

EXPECTED RESULT
application should statrt

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0beta2

ADDITIONAL INFORMATION
Comment 1 Alexander Lohnau 2023-07-25 15:56:41 UTC
Kai has already fixed that during Akademy, but AFAICS there is no MR yet.
Comment 2 Piotr Mierzwinski 2023-08-07 23:54:24 UTC
(In reply to Alexander Lohnau from comment #1)
> Kai has already fixed that during Akademy, but AFAICS there is no MR yet.

BTW. The same issue happens in case of Clipboard. Not sure if this is reported.
Comment 3 Nate Graham 2023-08-08 00:15:46 UTC
Yes, at Bug 470668.
Comment 4 Nicolas Fella 2023-08-20 20:41:51 UTC
*** Bug 473574 has been marked as a duplicate of this bug. ***
Comment 5 Ismael Asensio 2023-08-21 15:35:34 UTC
Git commit 41a05b6aade13a151953f5aabd9249bb8635f3c4 by Ismael Asensio.
Committed on 21/08/2023 at 17:35.
Pushed by iasensio into branch 'master'.

ResultDelegate: Make click on an entry work again

For some reason, `ListItem` is taking all the mouse events which do not reach the parent MouseArea.

Drag and drop is also not working because `onPressed()` and `onReleased()` are never triggered.

I guess that `PlasmaExtras.ListItem` is a different beast than its PC2 counterpart, and a larger refactor could help, even to simplify stuff.

(The inheritance chain goes `PlasmaExtras.ListItem` \> `Kirigami.AbstracListItem` \> `QQC2.DelegateItem` \> `QQC2.AbstractButton` \> `QQC2.Control`)

M  +2    -0    lib/qml/ResultDelegate.qml

https://invent.kde.org/plasma/milou/-/commit/41a05b6aade13a151953f5aabd9249bb8635f3c4