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

David Redondo <k...@david-redondo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|plasma-b...@kde.org         |kio-bugs-n...@kde.org
          Component|general                     |general
             Status|ASSIGNED                    |CONFIRMED
   Target Milestone|1.0                         |---
           See Also|                            |https://bugzilla.mozilla.or
                   |                            |g/show_bug.cgi?id=1857475
            Summary|Plasma crash after          |When trying to activate
                   |launching Firefox from Task |broken desktop files an
                   |Manager, Asahi Linux        |assert in libdbus is hit
            Version|5.27.8                      |5.110.0
                 CC|                            |kdelibs-b...@kde.org
            Product|plasmashell                 |frameworks-kio

--- Comment #9 from David Redondo <k...@david-redondo.de> ---
According to the desktop file spec

The application must name its desktop file in accordance with the naming
recommendations in the introduction section (e.g. the filename must be like
org.example.FooViewer.desktop). The application must have a D-Bus service
activatable at the well-known name that is equal to the desktop file name with
the .desktop portion removed (for our example, org.example.FooViewer). The
above interface must be implemented at an object path determined as follows:
starting with the well-known D-Bus name of the application, change all dots to
slashes and prefix a slash. If a dash ('-') is found, convert it to an
underscore ('_'). For our example, this is /org/example/FooViewer. 


Firefox names it desktop file only "firefox.desktop" so we make a call to
"firefox" but according to the dbus spec 

- Bus names are composed of 1 or more elements separated by a period ('.')
character. All elements must contain at least one character. 
- Bus names must contain at least one '.' (period) character (and thus at least
two elements). 

So the desktop file of firefox is broken but we still should guard for broken
desktop files. I reported this to firefox

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

Reply via email to