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

--- Comment #8 from Michail Vourlakos <mvourla...@gmail.com> ---
These two functions from TasksModel are also broken, what is happening is the
following.

Plasma possibly added new functionality in 5.11 for which a task's launcher url
is changed in something more generic. For systemsettings that would be,
applications:systemsettings.desktop . I found that this is happening for
launchers and windows in 5.11, I dont know for startups. Because of this
launcherPosition and launcherActivities return -1 and null accordingly. For
cases that instead of the above the desktop url is used e.g.
file:///usr/share/applications/systemsettings.desktop

then the functions I think they worked correctly. I used the following code on
the click event of a task in Latte in order to check the behavior.


console.log("POS :::: "+ tasksModel.launcherPosition(LauncherUrlWithoutIcon) +
" - " + tasksModel.launcherPosition(LauncherUrl) + " - "                       
  + tasksModel.launcherActivities(LauncherUrl));

at all cases of launchers and windows the results where "POS :::: -1 - -1 -"

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

Reply via email to