D9209: Don't set a window icon in Plasma::Dialog
Eike Hein
noreply at phabricator.kde.org
Tue Dec 5 17:04:18 UTC 2017
hein created this revision.
hein added reviewers: Plasma, Frameworks, davidedmundson, graesslin.
Restricted Application added projects: Plasma, Frameworks.
REVISION SUMMARY
Setting a window icon is costly enough to be worth avoiding when it's
not actually needed.
This is a resurrection of David's old patch:
https://git.reviewboard.kde.org/r/128484/
The concerns in the old discussion that led to its rejection are no
longer valid today: In the meantime we implemented a way for apps to
announce their .desktop file in a window hint, which KWin (and libtm)
will fall back to to look up an icon if not set. As plasmashell does
this, we can drop the setIcon call here and won't regress.
TEST PLAN
The pinned systray popup dialog still gets the Plasma icon in the
Present Windows effect.
REPOSITORY
R242 Plasma Framework (Library)
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D9209
AFFECTED FILES
src/plasmaquick/dialog.cpp
To: hein, #plasma, #frameworks, davidedmundson, graesslin
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171205/a8e6d13f/attachment-0001.html>
More information about the Plasma-devel
mailing list