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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@privat.broulik.de

--- Comment #1 from Kai Uwe Broulik <k...@privat.broulik.de> ---
It seems the DesktopEntryName and Name are only checked when there is a mapping
rule, which there is not:

> // Try matching mapped name against DesktopEntryName.
> if (!mapped.isEmpty() && services.isEmpty()) {

Most of the time TM finds a task because of the PID, covering this (bug?
oversight?), but since sxiv doesn't have a PID property on its windows, we fail
to find any service for it.

The other code related to DesktopEntryName further down explicitly disregards
sxiv.desktop:

> if (!service->desktopEntryName().endsWith("." + appId)) {
>     it.remove();

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

Reply via email to