[Differential] [Request, 27 lines] D3777: notice when the only screen changes
mart (Marco Martin)
noreply at phabricator.kde.org
Wed Dec 21 15:49:58 UTC 2016
mart created this revision.
mart added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION 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.
BUG:373880
TEST PLAN
connection and disconnecting an external screen to the laptop
both in the case of internal screen enabled or disabled
REPOSITORY
R120 Plasma Workspace
BRANCH
phab/screenheuristic
REVISION DETAIL
https://phabricator.kde.org/D3777
AFFECTED FILES
shell/desktopview.cpp
shell/desktopview.h
shell/shellcorona.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: mart, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161221/3362541f/attachment.html>
More information about the Plasma-devel
mailing list