https://bugs.kde.org/show_bug.cgi?id=485204

            Bug ID: 485204
           Summary: PowerDevil KCM setting "Even when an external monitor
                    is connected" is not consistently applied
    Classification: Plasma
           Product: Powerdevil
           Version: 6.0.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: theisthelonggoneemailaddr...@gmail.com
                CC: m...@ratijas.tk, natalie_clar...@yahoo.de
  Target Milestone: ---

The PowerDevil KCM setting "Even when an external monitor is connected" is not
consistently applied.

My laptop is connected to AC power and an external display (via DisplayPort
over USB-C → HDMI) and has its lid closed. The user is not logged out. The
display layout is such that only the external display is used.

When waking it up from suspend, it correctly displays the screen locker on my
external display. The screen locker asks for my fingerprint(*) which I provide
it by opening the laptop lid (which turns on the internal display and shows the
same screen locker) and placing my finger on the reader sensor. After that, the
computer is unlocked and I correctly see my desktop (KWin, plasmashell, etc.)
on the external display with the internal one being off.

When I then close the laptop lid, the computer goes back to sleep (when it
should not due to my configuration). I then press on a USB keyboard key to wake
it back up and I am greeted with kscreenlocker where I can type my password to
unlock it. I can finally use it connected to an external display with the lid
closed.

STEPS TO REPRODUCE
1. Lock your screen (such as with Meta + L).
2. Open the laptop lid and unlock (to desktop).
3. Close the laptop lid.

OBSERVED RESULT
The external display loses signal as the computer goes to sleep.

EXPECTED RESULT
The computer should not go to sleep and the system should stay as-is.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.7.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i7-1260P
Memory: 15.3 Gio of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Framework
Product Name: Laptop (12th Gen Intel Core)
System Version: A6

ADDITIONAL INFORMATION

I think that this bug might have started after replacing the currently running
kwin_wayland when testing unrelated things? It shouldn't have affected anything
as I passed it the same command line (in addition to --replace).

I noticed that the battery applet does not display any warning about
sleeping/lid being inhibited due to an external monitor being connected. I
believe it showed that in the past?

(*) The first screen locker requires me to use my fingerprint and does not
accept a password due to my SDDM PAM configuration. Though it shouldn't affect
the screen locker, as the system was already unlocked initially. I will have to
take a look at my configuration.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to