Bug 454523 - Password input loses focus when mouse is moved over another item in the networks list
Summary: Password input loses focus when mouse is moved over another item in the netwo...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (show other bugs)
Version: master
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords: usability
: 500223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-28 09:07 UTC by John
Modified: 2025-02-17 14:13 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 John 2022-05-28 09:07:30 UTC
SUMMARY
The password input for wireless networks loses focus too easy if mouse is moved


STEPS TO REPRODUCE
1. Click on the wireless icon in systray (near the clock / date)
2. Click on the "Connect" button for a network
3. Move the mouse in pretty much any direction you want before typing the password or after you typed a few characters
4. Try to type the password now or the remaining part of it
5. In case it doesn't work, try to hover back the the network and its password input field

OBSERVED RESULT
After clicking on the "Connect" button for a network as soon as the mouse leaves the rectangle with the selection of network and its password input the password input field loses focus and you cannot enter the password or continue to enter it anymore if you already typed some of it.
Moving back over that big rectangle or even over the password input doesn't make it regain focus.
The only thing that does is clicking directly into that password input field.
One case where you can move the mouse after clicking the "Connect" button and not have the password input field lose focus is if the network you want to connect is the first one in the list and you move the mouse upwards.
Another case is if you don't move the mouse after clicking that button, but you scroll down so the network and its password input moves up, but the focus is not lost

EXPECTED RESULT
The password input field keeps its focus for as long as possible no matter in which direction I move the mouse after I click the "Connect" button, as long as I don't click the "connect" button for other network for which its password input field should have focus

In the worst case moving back the the rectangle containing the network name and its password input field should focus automatically the password input field to be able to type the password.

I'm using many times my laptop in bed with a mouse so after I click the Connect button I leave my mouse to put both hands on the keyboard to type the password.
Being in bed, means that the mouse sometimes moves alone by itself as soon as I let it go which I think it's one of the reasons that I'm seeing this
I guess the mouse was also moving in other cases, but as Windows 7 and other  Linux DEs use a pop-up window that is always focused no matter where and how much the mouse moves, I never saw this problems somewhere else.
I'm not saying I want a pop-up window to type the password as I like the current design more, but the focus should try harder to stay on password input field the last network where I clicked the "Connect" button.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.95
Qt Version: 5.15.4

ADDITIONAL INFORMATION
From: neon-testing-20220524-1822.iso + updates from Discover
Tested on Wayland

BTW, for this bug I really didn't know which is the right product where to report it as for others I use the system monitor to see the name of the process that I opened. Please move it to the right place if you can or let me know to recreate it in another place so this can be deleted.
Comment 1 Ben Cooksley 2024-12-23 18:23:40 UTC
Bulk transfer as requested in T17796
Comment 2 cwo 2025-02-17 10:45:30 UTC
*** Bug 500223 has been marked as a duplicate of this bug. ***
Comment 3 Fernando M. Muniz 2025-02-17 12:27:06 UTC
That's still a thing in Plasma 6.3.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 8.1 GB of RAM
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 4 Bug Janitor Service 2025-02-17 14:13:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1265