Summary: | Closing laptop lid doesn't result in suspend | ||
---|---|---|---|
Product: | [Plasma] KScreen | Reporter: | Cameron <cam> |
Component: | common | Assignee: | Daniel Vrátil <dvratil> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | normal | CC: | jarl, kde, marco |
Priority: | NOR | ||
Version: | 5.4.3 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Cameron
2016-01-11 21:22:28 UTC
Git commit fefe2878f5c204fa01306e9e6c60045295ef66a0 by Daniel Vrátil. Committed on 11/01/2016 at 22:51. Pushed by dvratil into branch 'Plasma/5.5'. Don't consider Unknown output to be an external monitor When laptop screen gets reported as 'Unknown', assume it's a laptop screen and not an external screen, so that suspend-on-lid-close does not get disabled. REVIEW: 126721 M +1 -1 daemon/actions/bundled/handlebuttonevents.cpp http://commits.kde.org/powerdevil/fefe2878f5c204fa01306e9e6c60045295ef66a0 Git commit d3162725cfffb79da7bb8f276a31a915e3349dab by Kai Uwe Broulik, on behalf of Daniel Vrátil. Committed on 07/03/2016 at 16:47. Pushed by broulik into branch 'Plasma/5.6'. Don't consider Unknown output to be an external monitor When laptop screen gets reported as 'Unknown', assume it's a laptop screen and not an external screen, so that suspend-on-lid-close does not get disabled. (This commit was never merged from 5.5 to master apparently) REVIEW: 126721 (cherry picked from commit fefe2878f5c204fa01306e9e6c60045295ef66a0) M +1 -1 daemon/actions/bundled/handlebuttonevents.cpp http://commits.kde.org/powerdevil/d3162725cfffb79da7bb8f276a31a915e3349dab I assumed it was merged because this started working for me (I'm currently using 5.5.4-0ubuntu1~ubuntu15.10~ppa1). Only issue is now the screen goes to sleep even with an external monitor attached. There's an option you can set that tells kscreen to suspend even if an external monitor is attached... I triple checked that this option is unset, so the system going to sleep when I close the lid with an external monitor is definitely a bug and should probably be filed separately once I have the time. I have just been affected by this bug when upgrading from Kubuntu 16.04 to 16.10 Kubuntu 16.10 is running KDE Plasma 5.7.5 Do you need any other info? Same bug with plasma and powerdevil 5.8.3 on Gentoo When i close the lid i have this log in .xsession-errors powerdevil: Lid action was suppressed because an external monitor is present no suspend to ram happened and the kscreen-console output is: ========================xrandr --verbose========================== ========================Outputs=================================== Screen: maxSize: QSize(16384, 16384) minSize: QSize(8, 8) currentSize: QSize(1920, 1080) ----------------------------------------------------- Id: 542 Name: "DP-0" Type: "DisplayPort" Connected: false ----------------------------------------------------- Id: 543 Name: "DP-1" Type: "DisplayPort" Connected: false ----------------------------------------------------- Id: 544 Name: "DP-2" Type: "DisplayPort" Connected: false ----------------------------------------------------- Id: 545 Name: "DP-3" Type: "DisplayPort" Connected: false ----------------------------------------------------- Id: 546 Name: "DP-4" Type: "DisplayPort" Connected: true Enabled: true Primary: true Rotation: 1 Pos: QPoint(0,0) MMSize: QSize(344, 194) Size: QSize(1920, 1080) Clones: None Mode: "547" Preferred Mode: "547" Preferred modes: ("547") Modes: "547" "" QSize(1920, 1080) 60.0204 "548" "" QSize(1920, 1080) 47.9971 EDID Info: Device ID: "xrandr-unknown" Name: "" Vendor: "" Serial: "" EISA ID: "LP156WF6-SPK" Hash: "adb55718268e05f7409f306cbdcbba5f" Width: 34 Height: 19 Gamma: 2 Red: QQuaternion(scalar:1, vector:(0.580078, 0.347656, 0)) Green: QQuaternion(scalar:1, vector:(0.339844, 0.55957, 0)) Blue: QQuaternion(scalar:1, vector:(0.155273, 0.125, 0)) White: QQuaternion(scalar:1, vector:(0.313477, 0.329102, 0)) ----------------------------------------------------- Id: 549 Name: "DP-5" Type: "DisplayPort" Connected: false ----------------------------------------------------- Id: 550 Name: "DP-6" Type: "DisplayPort" Connected: false ========================Configurations============================ Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! I believe this is the bug that was fixed many years ago. It was related to "null displays" in Qt. Qt was never supposed to return null displays during this era or something like that, but many more cases were being found. It has long since been resolved. |