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

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/ksc
                   |                            |reen/e47dc21a7b7824889171f0
                   |                            |1bdc4b0209c8b1fed6
         Resolution|---                         |FIXED

--- Comment #10 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit e47dc21a7b7824889171f01bdc4b0209c8b1fed6 by Nicolas Fella.
Committed on 17/10/2019 at 17:30.
Pushed by nicolasfella into branch 'Plasma/5.17'.

Fix laptop screen being off when opening the lid

Summary:
filePath() returns the full path to the config file. readFile() then prepends
configsDirPath() to the path, leading to a garbled file path and making it
impossible to load the right file. We should instead just pass id() + _lidOpen
to readFile.

Test Plan:
Connected a monitor to my laptop. Closed and reopened the lid.
Before:
Laptop screen was off. Needed turning on in the KCM.
After:
Laptop screen is on.

Both X11 and Wayland

Reviewers: #plasma, romangg

Reviewed By: #plasma, romangg

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D24719

M  +3    -3    kded/config.cpp

https://commits.kde.org/kscreen/e47dc21a7b7824889171f01bdc4b0209c8b1fed6

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

Reply via email to