DPMS output workspace size change
Closed, InvalidPublic

Description

If an output is powered on/off while connected the available workspace must be resized to have no "dead" areas.

Currently this is only done when an output is (dis-)connected or en/disabled.

Question: Should we just move it out of m_enabledOutputs then or leave it there but add a flag or set its logical size to invalid?

Plan1:

  1. KScreen listens via DPMS protocol for DPMS changes.
  2. KScreen sends logical geometry information to KWin.
  3. KWin updates size.
  4. KWin could remove outputs with logical invalid size from enabled outputs for optimization and robustness.

Plan2:

  1. KWin automatically moves on/off outputs into/from m_enabledOutputs.
  2. KWin resizes overall screen (by which parameters?).
  3. Potentially KScreen sends new layout to KWin
romangg created this task.Sep 12 2019, 11:08 AM
romangg triaged this task as High priority.
romangg added a project: Plasma on Wayland.
romangg moved this task from Backlog to Work In Progress on the KWin board.Oct 21 2019, 8:23 AM
romangg closed this task as Invalid.Jan 8 2020, 12:37 AM
romangg moved this task from Work In Progress to Done on the KWin board.

I tested this some more and it seems to actually work fine and the issue I saw was only with one specific monitor that does not disconnect correctly when switching off, which is then not a software issue.

romangg moved this task from Essential to Done on the Plasma on Wayland board.Jan 8 2020, 12:37 AM