Bug 7135

Summary: xdg-file-dialog --title option is order specfic
Product: Portland Reporter: Tom Whipple <bug>
Component: xdg-utilsAssignee: Portland Integration Project <portland>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Tom Whipple 2006-06-06 11:25:32 UTC
When the xdg-file-dialog util is run as documented, we get the following error:

tw@linux:~> xdg-file-dialog --openfilename --title 'my title' 
Unkown command my title

This happens for all four types of dialog.

The command works when --title precedes --openfilename. Options should work in
any order.


Environment: Suse 10.0; Gnome 2.12.0
Comment 1 Bryce Harrington 2006-06-09 20:52:45 UTC
I instead get the following error:

  my title:  Invalid parameter/option

But if I run with ./xdg-file-dialog openfilename --title 'my title' things
appear to work as expected.

gentoo w/ kde 3.5.3
Comment 2 Waldo Bastian 2006-06-09 22:57:33 UTC
Syntax has changed from
    xdg-file-dialog --openfilename --title 'my title'
to
    xdg-file-dialog openfilename --title 'my title'

Error message was wrong though (Fixed in CVS)

Options (like --title) may currently not precede the command (openfilename)
Comment 3 Waldo Bastian 2006-06-16 16:38:21 UTC
Considered fixed 

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.