| Summary: | KRunner does not start when typing in Plasma 5.3 | ||
|---|---|---|---|
| Product: | [Plasma] krunner | Reporter: | Edward Reiss <ebreiss> |
| Component: | general | Assignee: | Vishesh Handa <me> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | demm, ebreiss, hrvoje.senjan, kde, kde, miku84 |
| Priority: | NOR | ||
| Version First Reported In: | 5.3.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/plasma-workspace/d0469af1fb7ed39573d6e3c0eff048b1dbbb6289 | Version Fixed/Implemented In: | 5.4.0 |
| Sentry Crash Report: | |||
| Attachments: | attachment-19484-0.html | ||
|
Description
Edward Reiss
2015-05-18 01:00:22 UTC
Confirmed. This is regression. I remember implementing this for Plasma 5. Do we know where the issue is? Is it planned to be fixed for Plasma 5.3.2? (In reply to miku84 from comment #3) > Is it planned to be fixed for Plasma 5.3.2? We really cannot say until we figure out what the problem is. If it's a trivial thing, then it will be backported, otherwise it'll be there for 5.4 (August). Is there a bug ID for Plasma? is there any workaround/ patch to have this working? Or there is absolutely no info about this? Created attachment 93624 [details] attachment-19484-0.html If you toggle lock widgets, it works. On Fri, Jul 17, 2015, 07:27 miku84 <miku84@gmail.com> wrote: > https://bugs.kde.org/show_bug.cgi?id=347872 > > --- Comment #6 from miku84 <miku84@gmail.com> --- > is there any workaround/ patch to have this working? > Or there is absolutely no info about this? > > -- > You are receiving this mail because: > You reported the bug. > You are on the CC list for the bug. > I have tried with locked widgets and it had worked after I enabled the "Show the desktop toolbox" option in the right click desktop menu. But after restart I does not work at all even if I do these steps again. Tried with the default krunner setup as well, without success. It is very strange. After restart I need to click to the desktop toolbox (top left corner) and click tweaks and OK, then Krunner works afer typing. I think now you should be able to locate the issue in the code. Problem is here:
desktopview.cpp
if (!e->modifiers() && activeFocusItem() == contentItem()) {
we're saying if the focussed item is the window then we take the keys
which I think is the case when there's no focussed items.
At some point the main containment gained:
MouseArea { // unfocus any plasmoid when clicking empty desktop area
anchors.fill: parent
onPressed: {
root.focus = false;
mouse.accepted = false // Bug 351277
}
}
which puts the focus item as the main containment.
I can't find a solution which doesn't just break something else.
Git commit d0469af1fb7ed39573d6e3c0eff048b1dbbb6289 by Kai Uwe Broulik. Committed on 21/08/2015 at 20:17. Pushed by broulik into branch 'Plasma/5.4'. Fix opening KRunner by typing on empty desktop Let the key press event propagate first and if nobody accepted it, we'll open KRunner FIXED-IN: 5.4.1 REVIEW: 124871 M +3 -3 shell/desktopview.cpp http://commits.kde.org/plasma-workspace/d0469af1fb7ed39573d6e3c0eff048b1dbbb6289 |