<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>440055</bug_id>
          
          <creation_ts>2021-07-20 03:08:12 +0000</creation_ts>
          <short_desc>Can&apos;t unlock the screen if the user has an empty password</short_desc>
          <delta_ts>2022-07-13 17:13:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kscreenlocker</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>FreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>VHI</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Graham Perrin">grahamperrin</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>andrej</cc>
    
    <cc>bshah</cc>
    
    <cc>kde</cc>
    
    <cc>nate</cc>
    
    <cc>palmadaniel196</cc>
    
    <cc>thuryn1</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-workspace/commit/dc6341bb3073ebe0beb945018cc7bb67ee2dd828</cf_commitlink>
          <cf_versionfixedin>5.25</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2047870</commentid>
    <comment_count>0</comment_count>
    <who name="Graham Perrin">grahamperrin</who>
    <bug_when>2021-07-20 03:08:12 +0000</bug_when>
    <thetext>SUMMARY

I guess, the logic here should be to not allow locking where there&apos;s no password. 

STEPS TO REPRODUCE

1. Log in as a user with an empty password
2. after a while, find the screen locked
3. attempt to unlock without entering a password

OBSERVED RESULT

4. the screen remains locked

EXPECTED RESULT

4. unlock

SOFTWARE/OS VERSIONS

% pkg info -x kscreenlock
plasma5-kscreenlocker-5.22.3_1
% 

Operating System: FreeBSD 14.0
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 14.0-CURRENT (64-bit)
Graphics Platform: X11
Memory: 15.9 GiB of RAM
Graphics Processor: AMD TURKS

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049242</commentid>
    <comment_count>1</comment_count>
    <who name="David Redondo">kde</who>
    <bug_when>2021-07-28 06:49:42 +0000</bug_when>
    <thetext>*** Bug 440344 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051290</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-08-05 01:03:52 +0000</bug_when>
    <thetext>Eek. Can confirm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2057296</commentid>
    <comment_count>3</comment_count>
    <who name="Graham Perrin">grahamperrin</who>
    <bug_when>2021-08-30 05:26:10 +0000</bug_when>
    <thetext>Does SDDM have an impact?

For example: 

Passwordless Login · Issue #751 · sddm/sddm
&lt;https://github.com/sddm/sddm/issues/751&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123407</commentid>
    <comment_count>4</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2022-05-14 18:59:57 +0000</bug_when>
    <thetext>The behaviour is now changed - but not perfect (hence leaving this open) it now unlocks immediately on resume from the &quot;screensaver&quot; mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2124351</commentid>
    <comment_count>5</comment_count>
    <who name="David Edmundson">kde</who>
    <bug_when>2022-05-18 11:17:02 +0000</bug_when>
    <thetext>Git commit dc6341bb3073ebe0beb945018cc7bb67ee2dd828 by David Edmundson.
Committed on 18/05/2022 at 11:09.
Pushed by davidedmundson into branch &apos;master&apos;.

Add an explicit unlock button for passwordless users

In the refactor we correctly made it so passwordless users were not
prompted for passwords.

This is in the right direction but the UX was still slightly off as it
meant wiggling the mouse unlocked the screen, not an explicit action.

This patch adds an explicit button that must be pressed if no other
prompts were given during the authentication process.

M  +10   -1    lookandfeel/contents/lockscreen/LockScreenUi.qml
A  +23   -0    lookandfeel/contents/lockscreen/NoPasswordUnlock.qml     [License: GPL(v2.0+)]

https://invent.kde.org/plasma/plasma-workspace/commit/dc6341bb3073ebe0beb945018cc7bb67ee2dd828</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138796</commentid>
    <comment_count>6</comment_count>
    <who name="Tomas">thuryn1</who>
    <bug_when>2022-07-13 14:17:28 +0000</bug_when>
    <thetext>Solution of this bug is not good. I use Howdy for face unlocking and it worked fine before. I get annoying screen with Unlock button now. Moreover, if I connect second screen I get second screen with Unclock button. So it would be great to revert this change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2138830</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-07-13 17:13:01 +0000</bug_when>
    <thetext>The first issue is Bug 454706, and the second issue should be fixed with Plasma 5.25.3.1. If it&apos;s not, please file a new bug report.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>