[Bug 430855] New: Nautilus - Open with
https://bugzilla.novell.com/show_bug.cgi?id=430855 Summary: Nautilus - Open with Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: taril_laszlo@yahoo.co.uk QAContact: qa@suse.de Found By: --- When I use Open with - Use a custom command: wine msiexe -i, after OK selected, only wine is appeared in the list. I tried different commands with parameter, the same result, the firs word is in the list. It could be good to able to use commands with parameters. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430855 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=430855#c1 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |hpj@novell.com --- Comment #1 from JP Rosevear <jpr@novell.com> 2008-10-07 09:31:14 MDT --- Is it nautilus or gvfs that is supposed to remember this hpj? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430855 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=430855#c2 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hpj@novell.com Status|NEEDINFO |NEW Info Provider|hpj@novell.com | --- Comment #2 from Hans Petter Jansson <hpj@novell.com> 2008-10-07 18:31:43 MDT --- Elaboration: If you store a command in the list, the parameters will be remembered - if you open the file a second time and select the new entry from the list, the previously specified parameters will be passed in. However, they are not displayed in the list nor in the command entry box. The API for doing this is GAppInfo in GLib (libgio). The implementation lives in GDesktopAppInfo in the same dir. I found the problem: g_app_info_create_from_commandline () (defined in gdesktopappinfo.c) parses the command line into internal fields. One of the fields is app_info->binary, which contains only the first word on the line. The actual command line is stored in app_info->exec. When you call g_app_info_get_executable (app_info), it will return app_info->binary. There is no way to get at the app_info->exec field, although it is used when launching the application. Nautilus' dialog (nautilus-open-with-dialog.c) is using g_app_info_get_name (app_info) for the app name column and g_app_info_get_executable () to fill in the command entry box. For custom commands, both return the "binary" name only. It looks like we'd have to add API to make this work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430855 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=430855#c3 --- Comment #3 from Hans Petter Jansson <hpj@novell.com> 2008-10-07 19:13:37 MDT --- Created an upstream bug for this: http://bugzilla.gnome.org/show_bug.cgi?id=555487 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430855 User hpj@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=430855#c4 Hans Petter Jansson <hpj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM --- Comment #4 from Hans Petter Jansson <hpj@novell.com> 2008-10-07 19:14:18 MDT --- To be fixed upstream - closing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430855 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://bugzilla.gnome.org/show_bug.cgi?id=555487 Keywords| |should_go_upstream -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com