Skip to content

Turning on or off second monitor with the screensaver on exposes open windows #775

@Akos364

Description

@Akos364

Distribution

Arch Linux x86_64, kernel 6.17.9-arch1-1

Package version

6.6.2

Graphics hardware in use

AMD RX6800, not using the integrated graphics of Ryzen 5 5600G

Frequency

Always

Bug description

I have two monitors. The main one is 27" 1440p(main display) and the other one is 23" 1080p, running in "Join Displays" mode. Since the secondary display is quite old, it doesn't wake up automatically when it receives a signal from my pc, and this is where my issue stems from. After waking up from suspend, the screensaver(with login box of course) shows up on the main monitor, which turned on automatically. However, when I turn on the secondary display, the screensaver goes away , exposing the open windows and their contents. After 1-2 seconds, the screensaver returns and I can log in as normal. This also happens when I lock the screen manually and turn the secondary monitor off.

Steps to reproduce

  • Have 2 monitors connected in "Join Displays" mode
  • Suspend
  • Wake up the computer, with only one monitor being turned on.
  • Turn on the second monitor.
  • The desktop and all the open windows show up for 1-2 seconds.
  • Lock the screen.
  • Turn off second monitor.
  • The desktop and all the open windows show up for 1-2 seconds.

Expected behavior

When turning on or off the second display, it should just show the screensaver, instead of exposing the open windows.

Additional information

This could be a security concern for some people, as passwords and other sensitive information might get displayed unintentionally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions