Bug 483142 - [wayland] Pressing Enter on Application Dashboard does not open the selected application
Summary: [wayland] Pressing Enter on Application Dashboard does not open the selected ...
Status: RESOLVED DUPLICATE of bug 485588
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Application Dashboard (show other bugs)
Version: git-master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-10 17:52 UTC by Eamonn Rea
Modified: 2024-04-16 20:02 UTC (History)
10 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 Eamonn Rea 2024-03-10 17:52:24 UTC
SUMMARY
When using the Application Dashboard, pressing "Enter" on Plasma 5 would've opened the first application displayed. In Plasma 6, it takes a newline, so long as some text has already been entered. Pressing "Enter" with no search term will do nothing. Sometimes, search is functional across multiple lines, but it's inconsistent, and I don't think there's any benefit to searching for applications with a newline. If this is intended behaviour, an option to disable this would be appreciated!

There are some other strange things you can do, such as clicking around on the "Type to search..." text and pressing "Enter" to space it out. For example, clicking to put the cursor between "Type" and "to" and pressing Enter will allow you to take a newline. The same is also true for the "Searching for 'blah'" text. You can interfere with it in unexpected ways. I don't think this part, at least, is intended behaviour :-)

I'm not sure if the previous Plasma 5 behaviour is quite as applicable here, since searching now always groups applications by categories. But in that case, pressing "Enter" probably shouldn't do anything.

An option to return to the previous "unorganized" Dashboard search would be nice, but I can file a separate issue for that. This would make the Application Dashboard more consistent with the Application Launcher, which during a search, does not show categories and selects the top result by default. I could use the Application Launcher, but I vastly prefer the Application Dashboard :-)


STEPS TO REPRODUCE
1. Open Application Dashboard and enter some text
2. Press "Enter"
3. A newline will be taken, and you can take as many as you like, and it will eventually draw over the Applications list.
4. Click around on either the "Type to search..." text or the "Searching for" text
5. A cursor will be placed where you click, which is likely unexpected in itself
6. Press "Enter"
7. You can interfere with the text in funny, yet impractical ways :-)


OBSERVED RESULT
You can take a newline when searching using the Application Dashboard, and likewise take newlines when clicking to move the cursor around on the search text.

Previously, pressing "Enter" would open the first search result, i.e. searching for "Fire" and pressing Enter would open Firefox on my system.


EXPECTED RESULT
Pressing Enter will either do nothing as a result of the changes to the Application Dashboard, or open the first search result. The latter may not be intuitive behaviour anymore, as Application Dashboard now shows applications grouped by categories even during a search, instead of showing an "unorganized" search.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.8 Linux Zen
KDE Plasma Version: 6.0.1
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2 

ADDITIONAL INFORMATION
I filed this under "I don't know" because I couldn't find the correct place to report bugs with the Application Launchers, sorry...
Comment 1 Eamonn Rea 2024-03-10 17:53:21 UTC
Oops, may be a duplicate of Bug 482914
Comment 2 Patrick Silva 2024-03-10 18:49:48 UTC

*** This bug has been marked as a duplicate of bug 482123 ***
Comment 3 Samuel M. 2024-03-13 17:29:21 UTC
I'll be so free and reopen this.

The 'Duplikate' mentioned the possibility to enter newline specifically, and was closed when that issue was resolved. But enter still does not open any application.

We're supposed to have separate issues for each aspect. 

The title of this issue is a bit confused, but the issue description mostly concerns opening applications with enter, and also mentions potential issues I did not notice.
Comment 4 Samuel M. 2024-03-13 17:44:07 UTC
It seems I can edit the title, so I focused on the issue, and made it a bit vague.

Since there's a separate issue for selecting an item (https://bugs.kde.org/show_bug.cgi?id=477348) , and in my interpretation enter should open the selected item, I would suggest waiting for a fix for that to test this.

Frankly perhaps these issues should be unified.
Comment 5 alphaLimaTango 2024-03-31 02:03:35 UTC
I'm on plasmashell 6.0.3 and can confirm this bug too
Comment 6 ambioid 2024-04-01 19:52:10 UTC
On latest plasma version, am getting this bug too. :((
Comment 7 duha.bugs 2024-04-15 19:36:23 UTC
*** Bug 485588 has been marked as a duplicate of this bug. ***
Comment 8 duha.bugs 2024-04-15 19:39:55 UTC
Can reproduce on git master (wayland).
Comment 9 duha.bugs 2024-04-16 20:02:20 UTC

*** This bug has been marked as a duplicate of bug 485588 ***