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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
                   |1c7e3064d88d13fb4a03aba41bd |bbe0f91070ac7235066b28e57f9
                   |6d5ac7ca832e7               |971ac1a4f821e

--- Comment #12 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit bbe0f91070ac7235066b28e57f9971ac1a4f821e by David Edmundson.
Committed on 03/03/2021 at 16:02.
Pushed by davidedmundson into branch 'Plasma/5.21'.

Fix query of StartPlasma::hasSystemdService

ListUnitByNames did not quite work as the author (me) expected. Whilst a
search for "adsfasf" yeilded an empty list a well-formed name like
"asdfasdf.service" would return a result to say that service was not
loaded.

This means our runtime detection of xdg-autostart-generator failed.

By using ListUnitFilesByPatterns we can filter on the status in the
query, meaning this code works again. We also can query the case of it
being available but explicitly disabled.


(cherry picked from commit 1c7e3064d88d13fb4a03aba41bd6d5ac7ca832e7)

M  +3    -3    startkde/startplasma.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/bbe0f91070ac7235066b28e57f9971ac1a4f821e

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

Reply via email to