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

Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kglobalaccel/commit/
                   |                            |b72930eb075a79ff89e8db22174
                   |                            |9de978706e5bf
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Ahmad Samir <a.samir...@gmail.com> ---
Git commit b72930eb075a79ff89e8db221749de978706e5bf by Ahmad Samir, on behalf
of Jin Liu.
Committed on 02/07/2022 at 12:26.
Pushed by ahmadsamir into branch 'master'.

Launch app in terminal when Terminal=true

When the desktop file has Terminal=true (e.g. htop), it should be
launched in a terminal.

Instead of calling "kstart5 -- <exec path>", this calls
"kstart5 --application <desktop file name>" when and only when:
1. kstart5 is available
2. the desktop file is in XDG_DATA_HOME/applications/,
not XDG_DATA_HOME/kglobalaccel/
3. we are launching the desktop file's main group, not other actions

M  +35   -16   src/runtime/kserviceactioncomponent.cpp
M  +3    -0    src/runtime/kserviceactioncomponent.h

https://invent.kde.org/frameworks/kglobalaccel/commit/b72930eb075a79ff89e8db221749de978706e5bf

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

Reply via email to