Bug 482123 - Application Dashboard add new lines in search field
Summary: Application Dashboard add new lines in search field
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Application Dashboard (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 482616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-01 08:08 UTC by BOF
Modified: 2024-03-13 20:49 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.3


Attachments
Application Dashboard searching (3.05 MB, video/webm)
2024-03-01 08:08 UTC, BOF
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BOF 2024-03-01 08:08:53 UTC
Created attachment 166238 [details]
Application Dashboard searching

SUMMARY
After opening the Application Dashboard and typing text the <ENTER> key add a new line (/n) in the search box.

STEPS TO REPRODUCE
1. Switch do the alternative start menu 'Application Dashboard' and open it
2. Search for text

OBSERVED RESULT
Pressing <ENTER> adds a new line in the search box

EXPECTED RESULT
I'm not sure whether the Application Dashboard currently 'does not' or 'does' search, but I wouldn't expect to add new lines with (what it seems to be) no end.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Bravo 17 A4DDR
System Version: REV:1.0
Comment 1 Patrick Silva 2024-03-01 13:45:20 UTC
Can reproduce on Arch Linux.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland
Comment 2 Nate Graham 2024-03-01 21:13:04 UTC
What the
Comment 3 Patrick Silva 2024-03-07 00:50:54 UTC
*** Bug 482616 has been marked as a duplicate of this bug. ***
Comment 4 andy 2024-03-07 05:18:39 UTC
+1 to this. The bug was mentioned here too https://www.reddit.com/r/kde/comments/1b7jnj2/comment/ktj22u5 and was mentioend that it isn't recommended to use the Application Dashboard. But I want to add my vote that it's my favorite out of the 3 options/alternatives.
Comment 5 Anon 2024-03-07 06:41:13 UTC
(In reply to andy from comment #4)
> +1 to this. The bug was mentioned here too
> https://www.reddit.com/r/kde/comments/1b7jnj2/comment/ktj22u5 and was
> mentioend that it isn't recommended to use the Application Dashboard. But I
> want to add my vote that it's my favorite out of the 3 options/alternatives.

Yeah, if the official line is "don't use it" then it should be removed. If it ships by default, then regressions should be dealt with.
Comment 6 Samuel M. 2024-03-07 16:10:10 UTC
Also happens to me on Arch Linux.

Isn't this a duplicate of https://bugs.kde.org/show_bug.cgi?id=477348 ?
Comment 7 andy 2024-03-07 17:30:17 UTC
(In reply to Samuel M. from comment #6)
> Also happens to me on Arch Linux.
> 
> Isn't this a duplicate of https://bugs.kde.org/show_bug.cgi?id=477348 ?

They could probably be combined.

I can confirm the patch shared in the last comment of that thread is a working work-around
Comment 8 polardelphine 2024-03-10 18:14:03 UTC
I have the same Issue. I cannot select any items via the keyboard and also when wanting to search for application in application dashboard I have to first manually click into the search field then type. Also when hitting enter after typing a keywoard (which previously opened the respective application) now just does not work anymore at all.
Comment 9 Patrick Silva 2024-03-10 18:49:48 UTC
*** Bug 483142 has been marked as a duplicate of this bug. ***
Comment 10 Bug Janitor Service 2024-03-12 15:07:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2117
Comment 11 Marco Martin 2024-03-12 15:52:11 UTC
Git commit 419a59e4a6beb7659a367152429fa7f608ddc790 by Marco Martin.
Committed on 12/03/2024 at 15:52.
Pushed by mart into branch 'master'.

Filter out enter

We don't want that TextEdit to support multiple lines, just simple
queries

return still doesn't launch anything as there never was any keyboard
navigation support for the results, it will need a slightly bigger
refactor for that

M  +1    -1    applets/kicker/package/contents/ui/DashboardRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/419a59e4a6beb7659a367152429fa7f608ddc790
Comment 12 andy 2024-03-12 15:59:22 UTC
> return still doesn't launch anything as there never was any keyboard

Can this bug stay open until Application Dashboard regressions are fixed?
- Enter should open the first result
- Arrow keys should allow navigating results
Comment 13 Marco Martin 2024-03-12 16:03:32 UTC
Git commit 16123dc4df00409c9d542ca8539c233ddc1e3505 by Marco Martin.
Committed on 12/03/2024 at 15:53.
Pushed by mart into branch 'Plasma/6.0'.

Filter out enter

We don't want that TextEdit to support multiple lines, just simple
queries

return still doesn't launch anything as there never was any keyboard
navigation support for the results, it will need a slightly bigger
refactor for that


(cherry picked from commit 419a59e4a6beb7659a367152429fa7f608ddc790)

b07c2a30 Filter out enter
c2a38263 use TextInput

M  +1    -1    applets/kicker/package/contents/ui/DashboardRepresentation.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/16123dc4df00409c9d542ca8539c233ddc1e3505
Comment 14 Nate Graham 2024-03-13 00:23:20 UTC
(In reply to andy from comment #12)
> > return still doesn't launch anything as there never was any keyboard
> 
> Can this bug stay open until Application Dashboard regressions are fixed?
> - Enter should open the first result
> - Arrow keys should allow navigating results
No, each bug report needs to be about one specific thing. it can't be a mega bug reporting a bunch of different issues.
Comment 15 andy 2024-03-13 01:56:24 UTC
(In reply to Nate Graham from comment #14)
> (In reply to andy from comment #12)
> > > return still doesn't launch anything as there never was any keyboard
> > 
> > Can this bug stay open until Application Dashboard regressions are fixed?
> > - Enter should open the first result
> > - Arrow keys should allow navigating results
> No, each bug report needs to be about one specific thing. it can't be a mega
> bug reporting a bunch of different issues.

The specific follow-ups could  be

- For Enter key should open the app: https://bugs.kde.org/show_bug.cgi?id=483142 "[wayland] Pressing Enter on Application Dashboard Takes Newline Instead of Opening First Application in List"
- For arrow keys should change selection: https://bugs.kde.org/show_bug.cgi?id=477348 "Application Dashboard: Can't select items via keyboard after searching"

The former was closed as a duplicate of this, but it has the specific expected result that Enter should launch the first search result. Ok to re-open that one?
Comment 16 Patrick Silva 2024-03-13 20:40:59 UTC
I have just updated to Plasma 6.0.2 on Arch Linux and this bug persists.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland
Comment 17 Nate Graham 2024-03-13 20:49:24 UTC
The change missed 6.0.2 by a day; it'll be in 6.0.3.