[Differential] [Request, 137 lines] D3292: Revamp Wayland application identification; align Wayland and X11 models
hein (Eike Hein)
noreply at phabricator.kde.org
Mon Nov 7 13:50:03 UTC 2016
hein created this revision.
hein added reviewers: Plasma, graesslin, broulik.
hein added a subscriber: plasma-devel.
Restricted Application added a project: Plasma.
REVISION SUMMARY
This adds support for app ids which are absolute paths to .desktop
files to WaylandTasksModel, matching the heuristic in XWindowsTasksModel.
Behavior between the two models is made more similar in various ways,
such as matching codepaths for generating the ids inserted into the
KActivities database in requestNewInstance/requestOpenUrls (also the
X11 model was missing the notifyAccessed calls) and producing launcher
URLs.
Icons are still left to KWin however, instead of reading them from
KService (which is what KWin does in any case on Wayland) or from the
.desktop file. The latter might make sense, but to avoid duplicated
code would then best be done in KWin.
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D3292
AFFECTED FILES
libtaskmanager/tasktools.cpp
libtaskmanager/tasktools.h
libtaskmanager/waylandtasksmodel.cpp
libtaskmanager/xwindowtasksmodel.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: hein, #plasma, graesslin, broulik
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/20161107/64ac812d/attachment.html>
More information about the Plasma-devel
mailing list