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

            Bug ID: 499029
           Summary: Suspend on lid close stop working after libkscreen
                    commit 7afede8
    Classification: Plasma
           Product: KScreen
           Version: git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: kscreen-bugs-n...@kde.org
          Reporter: fanzhuyi...@gmail.com
  Target Milestone: ---

Created attachment 177602
  --> https://bugs.kde.org/attachment.cgi?id=177602&action=edit
expected kscreen-doctor output

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Run org_kde_powerdevil with environment variable "POWERDEVIL_NO_DDCUTIL=1"
2. Set lid close action to suspend, even when external display is connected
3. close lid, when external display is connected

OBSERVED RESULT
System does not suspend. Can still interact with system on external display.

EXPECTED RESULT
System suspends.


ALTERNATE STEPS TO REPRODUCE:
1. Run kscreen-doctor -o

ALTERNATE OBSERVED RESULT
kscreen.kwayland: Connection to Wayland server timed out.
kscreen.doctor: Invalid config.
<command hangs and never finishes>

ALTERNATE EXPECTED RESULT
Correct display output is printed and system exits (just like before 7afede8)

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.11.0
Qt Version: 6.9.0
Kernel Version: 6.12.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 15.2 GiB of RAM
Graphics Processor 1: Mesa Intel® Graphics
Graphics Processor 2: llvmpipe
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G16 GU603VV_GU603VV
System Version: 1.0

ADDITIONAL INFORMATION


Bisect log for libkscreen:

git bisect start
# status: waiting for both good and bad commits
# bad: [7d346aea0e1e9d0dfc77c7deb2fc5e47784178e7] backends/kwayland: Don't leak
output configuration if it contains no real changes
git bisect bad 7d346aea0e1e9d0dfc77c7deb2fc5e47784178e7
# status: waiting for good commit(s), bad commit known
# good: [c7e322d034734583f6a8e488de4f9cba45311ad0] Dep on latest Plasma Wayland
Protocols
git bisect good c7e322d034734583f6a8e488de4f9cba45311ad0
# good: [d3efb5c3a4684da3c2eebbb08c36ad66ebeb7024] doctor: add dpms to help
text
git bisect good d3efb5c3a4684da3c2eebbb08c36ad66ebeb7024
# bad: [7afede862ca2809c007214a8d5cba9649ca21a45] backends/kwayland: Remove
unbalanced unblockSignals()
git bisect bad 7afede862ca2809c007214a8d5cba9649ca21a45
# good: [47bbd2e2e54c842e1b736d7124ca51ccc175944c] backends/kwayland: Reject
configs with unknown outputs
git bisect good 47bbd2e2e54c842e1b736d7124ca51ccc175944c
# first bad commit: [7afede862ca2809c007214a8d5cba9649ca21a45]
backends/kwayland: Remove unbalanced unblockSignals()

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

Reply via email to