Bug 471856 - With Windows plugin enables, after creating a new instance of Firefox using KRunner, trying to create another one focuses the new instance instead
Summary: With Windows plugin enables, after creating a new instance of Firefox using K...
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: windows (show other bugs)
Version: 5.27.6
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-02 00:05 UTC by publiclyvisibleemail
Modified: 2023-07-20 21:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description publiclyvisibleemail 2023-07-02 00:05:56 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Press Meta key
2.  Start typing application name to be able to launch application with already open windows with the Enter key
3.  Use down-arrow to select the application itself, (i.e. not one of the new open window info bits) to launch a new window of the application.
4.  Press Meta key again
5.  Start typing application name again, (trying to launch yet another new window by selecting only the application name, not the new open window bits).

OBSERVED RESULT
- krunner continues to list the items corresponding to the currently-open windows above the previously-selected choice, (i.e. the application name, used to launch a new window) so that I have to keep using multiple down arrows to get to the choice I'm looking for.

EXPECTED RESULT
- For every other search I do with Meta and typing, if the item I wanted was originally 3rd in the list, for example, after I use the down arrow to select that item and press Enter, the next time I press Meta and start typing, the option I had last selected, (i.e. the former #3 in the list) is now #1, which is excellent, and just what I want, so that if I always want to open a new window, (as I usually do) after the first time of having to down arrow to #3, I can just type the first few letters and then hit Enter.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-07-16 08:24:46 UTC
Can reproduce with Firefox, but not Dolphin.

Is this a regression from Plasma 5?
Comment 2 publiclyvisibleemail 2023-07-20 20:56:17 UTC
(In reply to Nate Graham from comment #1)
> Can reproduce with Firefox, but not Dolphin.
> 
> Is this a regression from Plasma 5?

At least for me this happens in Plasma 5 as well.  The way I get around it in both 5 & 6 is to disable the Plasma Search Windows plugin.  I lose the ability to select open windows by name via krunner, but I have alt-tab for dealing with open windows and if I can only have one of keyboard title selection for open windows, (which is cute, but would be a new addition to my standard workflow that I've never really had, so I certainly don't really rely on it at all at this point) vs easily launching new instances, (a bread and butter workflow item for me for decades) the launching new instances is way more important, so disabling the Windows plugin works fine.
Comment 3 Nate Graham 2023-07-20 21:17:37 UTC
Thanks!