<?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>483371</bug_id>
          
          <creation_ts>2024-03-12 20:14:59 +0000</creation_ts>
          <short_desc>X11 [AMD]: After locking, the screen goes black</short_desc>
          <delta_ts>2024-07-20 10:12:03 +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>6.0.2</version>
          <rep_platform>Manjaro</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>483163</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>qt6</keywords>
          <priority>NOR</priority>
          <bug_severity>grave</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kde</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>duha.bugs</cc>
    
    <cc>jpetso</cc>
    
    <cc>nate</cc>
    
    <cc>philm</cc>
    
    <cc>steven</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2299806</commentid>
    <comment_count>0</comment_count>
      <attachid>167058</attachid>
    <who name="">kde</who>
    <bug_when>2024-03-12 20:14:59 +0000</bug_when>
    <thetext>Created attachment 167058
Part of the journal (journalctl -m) when locking the screen

SUMMARY
When I lock my system, the screen goes black until I blindly type the password, or unlock it via loginctl.

STEPS TO REPRODUCE
1. Lock the system (Meta + L)
2. Observe
3. Press any button
4. Observe

OBSERVED RESULT
After locking, the screen goes black. After pressing any button, the cursor appears.
I can exit this black screen by either:
1) blindly typing the password and hitting enter, or
2) unlock the session using loginctl

See this video for a demonstration (I cannot upload it here, as it&apos;s too large):  https://www.youtube.com/watch?v=_lVF2S9akZw

EXPECTED RESULT
The lock screen is shown

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.9-zen1-1-zen (64-bit)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
I believe this is not a duplicate of https://bugs.kde.org/show_bug.cgi?id=481308 as the black screen only appears after locking and does not disappear after some time.

Nothing relevant appears in the journal when I lock the screen, but I attached the part anyway</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2300149</commentid>
    <comment_count>1</comment_count>
    <who name="">kde</who>
    <bug_when>2024-03-13 15:15:04 +0000</bug_when>
    <thetext>I did not find a way to edit my last comment, so I just want to add that I can also reproduce this on Plasma 6.0.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2302805</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Müller">philm</who>
    <bug_when>2024-03-19 02:14:30 +0000</bug_when>
    <thetext>I can confirm the issue as I see it on the OrangePi Neo I&apos;m developing on. As soon as we put the device to sleep and wait a little, most of the time we see a black screen with mouse cursor. On a gaming handheld there are no buttons to interact with the lockscreen. When I attach a keyboard to the device and press Enter it shows the plasma desktop. If the user has a password, that needs to be entered first. How can we help to debug, as this is a blocker issue for our product.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2302809</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Müller">philm</who>
    <bug_when>2024-03-19 02:24:00 +0000</bug_when>
    <thetext>Hmm, after changing to our own theme breath that is didn&apos;t happen. Might be related to https://bugs.kde.org/show_bug.cgi?id=483163</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303301</commentid>
    <comment_count>4</comment_count>
    <who name="">kde</who>
    <bug_when>2024-03-20 08:19:34 +0000</bug_when>
    <thetext>(In reply to Philip Müller from comment #3)
&gt; Hmm, after changing to our own theme breath that is didn&apos;t happen. Might be
&gt; related to https://bugs.kde.org/show_bug.cgi?id=483163

I can also confirm that changing to the Oxygen theme (from Breeze) solves the issue. Unfortunately it isn&apos;t really a solution.
Perhaps it is related to Breeze then?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303827</commentid>
    <comment_count>5</comment_count>
    <who name="">duha.bugs</who>
    <bug_when>2024-03-21 16:44:07 +0000</bug_when>
    <thetext>&gt; I can also confirm that changing to the Oxygen theme (from Breeze) solves the issue. Unfortunately it isn&apos;t really a solution.
Perhaps it is related to Breeze then?

This is probably: https://bugs.kde.org/show_bug.cgi?id=483163

Change your Plasma Style (not global theme) to either Breeze Dark or Breeze Light. That should fix the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2303830</commentid>
    <comment_count>6</comment_count>
    <who name="">kde</who>
    <bug_when>2024-03-21 16:47:10 +0000</bug_when>
    <thetext>(In reply to duha.bugs from comment #5)
&gt; &gt; I can also confirm that changing to the Oxygen theme (from Breeze) solves the issue. Unfortunately it isn&apos;t really a solution.
&gt; Perhaps it is related to Breeze then?
&gt; 
&gt; This is probably: https://bugs.kde.org/show_bug.cgi?id=483163
&gt; 
&gt; Change your Plasma Style (not global theme) to either Breeze Dark or Breeze
&gt; Light. That should fix the issue.

Thanks for the suggestion! I can confirm that this indeed did solve my issue.
I wish you a nice rest of the day.

*** This bug has been marked as a duplicate of bug 483163 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>167058</attachid>
            <date>2024-03-12 20:14:59 +0000</date>
            <delta_ts>2024-03-12 20:14:59 +0000</delta_ts>
            <desc>Part of the journal (journalctl -m) when locking the screen</desc>
            <filename>journal.txt</filename>
            <type>text/plain</type>
            <size>867</size>
            <attacher>kde</attacher>
            
              <data encoding="base64">YsWZ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