Bug 458658 - Keep 'OK' button greyed out until the user types something
Summary: Keep 'OK' button greyed out until the user types something
Status: RESOLVED INTENTIONAL
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-03 11:54 UTC by Patrick Silva
Modified: 2022-09-09 00:01 UTC (History)
4 users (show)

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


Attachments
screenshot of password dialog with active 'OK" button despite empty password field (155.55 KB, image/png)
2022-09-03 11:57 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-03 11:54:14 UTC
SUMMARY
Currently the 'OK' button of the password dialog is active even if the password field is empty.


STEPS TO REPRODUCE
1. open Discover
2. click on 'Install' button of any app
3. 

OBSERVED RESULT
password dialog shows up with active 'OK' button

EXPECTED RESULT
'OK' button should only be activated after typing something in the password field

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Graphics Platform: Wayland
Comment 1 Patrick Silva 2022-09-03 11:57:31 UTC
Created attachment 151797 [details]
screenshot of password dialog with active 'OK" button despite empty password field
Comment 2 Nate Graham 2022-09-09 00:01:09 UTC
Believe it or not, we can't do this because it's possible for the user to have an empty password. If we made the suggested change, those users would be unable to provide approval for actions that require authentication.