Bug 412317 - Disconnecting HDMI Cable does not remove secondary display
Summary: Disconnecting HDMI Cable does not remove secondary display
Status: RESOLVED DUPLICATE of bug 372837
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 11:57 UTC by Chris Raven
Modified: 2019-10-16 21:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
XRandr -Q Output (3.91 KB, text/plain)
2019-09-25 12:17 UTC, Chris Raven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Raven 2019-09-25 11:57:20 UTC
SUMMARY:

When running an external monitor via HDMI, the monitor is automatically detected and shows the dialog to choose Unified Outputs, Extended etc. Upon removing the HDMI Connection, the external monitor is still enabled under Display Settings, and has to be manually disabled. There is no dialog of confirmation that the HDMI cable has been removed either


STEPS TO REPRODUCE
1. Connect an external monitor to your laptop (which has display of eDP-1)
2. Secondary monitor is shown under 'Display Settings'. Remove the HDMI Cable without disabling the display

OBSERVED RESULT:
- Nothing shows on screen, and the display stays connected. Windows continue to open off screen, and move off screen when moved to the top of the screen.


EXPECTED RESULT
- External display is disabled, and only the eDP-1 display is left enable


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 5.3.1-arch1-1-ARCH
KDE Plasma Version: plasmashell 5.16
KDE Frameworks Version: 5.26.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION:
- This has been ongoing since KDE Plasma 5.11,  and happens when both the Modsetting Driver for Intel HD Graphics (UHD620) is used, and the xf86-video-intel driver.
Comment 1 David Edmundson 2019-09-25 12:07:04 UTC
Please include output of xrandr -q before and after unplugging
Comment 2 Chris Raven 2019-09-25 12:17:39 UTC
Created attachment 122861 [details]
XRandr -Q Output
Comment 3 Chris Raven 2019-09-25 12:18:28 UTC
Thanks David. I've attached it to the case. Interestingly, upon running [xrandr -Q] the screen flicked, and went back to single display mode which is the expected result!

I'm wondering if it's simply not refreshing / running xrandr upon disconnecting the HDMI Connection.
Comment 4 Nicolas Fella 2019-10-16 20:33:55 UTC

*** This bug has been marked as a duplicate of bug 403962 ***
Comment 5 Nate Graham 2019-10-16 20:57:36 UTC

*** This bug has been marked as a duplicate of bug 390283 ***
Comment 6 Nate Graham 2019-10-16 21:57:24 UTC

*** This bug has been marked as a duplicate of bug 372837 ***