Bug 371681 - Configuration with laptop lid opened is overwritten/lost when lid is closed
Summary: Configuration with laptop lid opened is overwritten/lost when lid is closed
Status: RESOLVED WORKSFORME
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.8.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 21:17 UTC by Simone Gaiarin
Modified: 2022-11-23 07:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kscreen log Connect HDMI > Close the lid > Open the lid (34.67 KB, text/x-log)
2016-10-25 21:17 UTC, Simone Gaiarin
Details
Lid closed config file before opening the lid (1.08 KB, text/plain)
2016-10-25 21:18 UTC, Simone Gaiarin
Details
Lid opened config file before opening the lid (1.24 KB, text/plain)
2016-10-25 21:18 UTC, Simone Gaiarin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Gaiarin 2016-10-25 21:17:42 UTC
Created attachment 101784 [details]
Kscreen log Connect HDMI > Close the lid > Open the lid

When I have an external HDMI monitor connected and I close the laptop the current kscreen configuration is renamed appending the suffix lidOpened and a new one with the same identifier is created.

In this way I can configure the monitors in different way depending if the lid is open or not. 

The problem is that when I open the lid again the *_lidOpened config file is removed (probably renamed causing the overwrite of the other configuration) and only one config files remains,  losing the configuration of the case when the lid is closed. Closing the lid indeed results in a wrong configuration of the screens.

The attached kscreen.log incudes the following operations:

Connect HDMI > Close the lid > Open the lid
Comment 1 Simone Gaiarin 2016-10-25 21:18:28 UTC
Created attachment 101785 [details]
Lid closed config file before opening the lid
Comment 2 Simone Gaiarin 2016-10-25 21:18:51 UTC
Created attachment 101786 [details]
Lid opened config file before opening the lid
Comment 3 Max Schettler 2016-11-25 16:35:56 UTC
I can confirm this behavior with KScreen 5.8.4.
Comment 4 Simone Gaiarin 2019-10-13 06:07:21 UTC
The original bug seems solved to me, but now the exact opposite happens:
The configuration with laptop lid OPEN is overwritten when lid is CLOSED
Comment 5 Nate Graham 2022-11-08 20:50:38 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Plasma 5.25 or 5.26?

If it is, please change the status to CONFIRMED when replying. If not, or if you can't because you no longer use this setup, you can change the status to RESOLVED WORKSFORME. Thanks a lot!
Comment 6 Bug Janitor Service 2022-11-23 05:14:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!