https://bugs.kde.org/show_bug.cgi?id=373880

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/pla |https://commits.kde.org/pla
                   |sma-workspace/20b439a4f4a1a |sma-workspace/f7b170de9fd9c
                   |a652f7960f0e6dfa8201f89aa11 |4075fee324d33212b0d69909ba4

--- Comment #8 from Marco Martin <notm...@gmail.com> ---
Git commit f7b170de9fd9c4075fee324d33212b0d69909ba4 by Marco Martin.
Committed on 25/12/2016 at 19:25.
Pushed by mart into branch 'Plasma/5.8'.

notice when the only screen changes

Summary:
in a corner case that is used a lot, the internal laptop screen
gets automatically disabled when an external screen is connected.
the only QScreen* available from the QGuiApp gets recycled for the
new screen and there is no signal this switch occurred.

To work around this, as all the view get an expose event when this happen,
monitor the rename of the desktopview's qscreen and manage this separatedly
in the shell.

Test Plan:
connection and disconnecting an external screen to the laptop
both in the case of internal screen enabled or disabled

Reviewers: davidedmundson, #plasma

Reviewed By: davidedmundson, #plasma

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D3777

M  +12   -7    shell/desktopview.cpp
M  +2    -0    shell/desktopview.h
M  +14   -0    shell/shellcorona.cpp

https://commits.kde.org/plasma-workspace/f7b170de9fd9c4075fee324d33212b0d69909ba4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to