Bug 472558 - Click into found entry doesn't run/open found entry
Summary: Click into found entry doesn't run/open found entry
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
: 473574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-24 00:09 UTC by Piotr Mierzwinski
Modified: 2023-08-21 15:35 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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