← Back to team overview

desktop-packages team mailing list archive

[Bug 1454833] Re: xdg-mime query filetype does not work on KDE 5 (Fixed in Portland)

 

This bug was fixed in the package xdg-utils -
1.1.0~rc3+git20150907-1ubuntu1

---------------
xdg-utils (1.1.0~rc3+git20150907-1ubuntu1) wily; urgency=low

  * Merge from Debian unstable.  Remaining changes: (LP: #1495273)
    - debian/patches:
      * gnome-3.0.diff: Correctly open preferred browser with
        gnome-open (LP: #670128)
      * lp779156-lubuntu.diff: Add open_lxde and run_sylpheed function
        for improved LXDE and sylpheed support (LP: #779156)
      * xdg-screensaver-restore-timeout.diff: restore previous X11
        screensaver timeout when xdg-screensaver resume is used (LP: #1363540)
  * New upstream release fixes the following bugs:
    - xdg-mime query filetype does not work on KDE 5 (LP: #1454833)
    - xdg-open doesn't properly detect Xfce/Xubuntu (LP: #1388922)
    - xserver-blanking patch in Ubuntu duplicates code (LP: #1330386)
    - Typo in manpage of 'xdg-icon-resource' (LP: #996304)
    - xdg-open (to gnome-open) fails to launch file:// URL with query string
      (LP: #396162)

 -- Sean Davis <smd.seandavis@xxxxxxxxx>  Sun, 13 Sep 2015 12:39:10
-0400

** Changed in: xdg-utils (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1454833

Title:
  xdg-mime query filetype does not work on KDE 5 (Fixed in Portland)

Status in xdg-utils package in Ubuntu:
  Fix Released

Bug description:
  System information:

  cat /etc/lsb-release:
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=15.04
  DISTRIB_CODENAME=vivid
  DISTRIB_DESCRIPTION="Ubuntu 15.04"

  apt-cache policy xdg-utils:
  xdg-utils:
    Installed: 1.1.0~rc1-2ubuntu10
    Candidate: 1.1.0~rc1-2ubuntu10
    Version table:
   *** 1.1.0~rc1-2ubuntu10 0
          500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  Expected behavior:

  The command "xdg-mime query filetype $FILENAME" returns the MIME type
  of the specified file.

  Actual behavior under KDE 5:

  No output to stdout. If the specified file is executable, it is
  executed, e.g. "xdg-mime query filetype /usr/bin/xclipboard" executes
  the program xclipboard.

  Source of error:

  The xdg-mime script checks in the function "info_kde()" only for KDE
  version being 3 or 4. The new Kubuntu release bundles KDE 5 which is
  not checked against.

  This bug is fixed in the Portland repository:
  http://cgit.freedesktop.org/xdg/xdg-
  utils/commit/?id=18645a50fe25064b42ba421e231869c6063705f7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1454833/+subscriptions


References