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

            Bug ID: 436407
           Summary: Filetype (mimetype) association not correctly set for
                    apps which use glib/gio to open files
           Product: systemsettings
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_filetypes
          Assignee: fa...@kde.org
          Reporter: pos...@posteo.eu
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY

At least on Manjaro, there are two tools for setting the association of file
types: xdg-open, which wraps kde5-open and gio. The latter is used by the glib,
which GTK apps like Dino use. 

In the SystemSettings images like image/jpeg or image/png are linked to
Gwenview, which can be verified by
`xdg-mime query default image/jpeg`.
Unfortunately, this does not mean that GTKs follow this setting. 

`gio mime image/png` yields for example
    chromium.desktop
    gimp.desktop
    okularApplication_kimgio.desktop
    org.kde.gwenview.desktop
which means that images are opened in Chromium or Gimp or Okular and if neither
of those three are available in Gwenview.

One could change this behaviour by setting `gio mime image/jpeg
org.kde.gwenview.desktop`
but would need to do so manually for each mimetype using the terminal. 

IMHO the configuration for mimetype handling should be synchronized between
xdg-open (kde5-open) and gio to make it most convenient for the user. The
current situation may lead to unexpected results contradicting the settings in
SystemSettings.



SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Kernel Version: 5.12.0-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11

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

Reply via email to