[Portland] [Bug 7815] New: 'xdg-mime query default' fails

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Tue Aug 8 12:21:04 PDT 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=7815          
     
           Summary: 'xdg-mime query default' fails
           Product: Portland
           Version: beta2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xdg-utils
        AssignedTo: portland at lists.freedesktop.org
        ReportedBy: tom.whipple at intel.com


Registering a default application to handle a given mime type seems broken. See
the following command sequence:

[tw at linux:~/portland/xdg-utils/tests]
$ xdg-mime query filetype foo.xdgtest
text/plain

$ xdg-mime install --novendor xdg-utils-usecases/data/mime_launch.xml 
$ xdg-mime query filetype foo.xdgtest
text/x-xdg-testpattern

$ xdg-desktop-menu install --novendor \ xdg-utils-usecases/data/mime_launch.desktop 
$ xdg-mime query default text/x-xdg-testpattern

Returns no output, instead of the expected mime_launch.desktop. Similarly,
'xdg-open foo.xdgtest' opens the editor (default for text/plain).

(I am running SUSE 10.0/Gnome)          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland mailing list