|
Bugzilla – Full Text Bug Listing |
| Summary: | can't use sftp:// in file-selector ... | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Michael Meeks <mmeeks> |
| Component: | GNOME | Assignee: | Federico Mena Quintero <federico> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P1 - Urgent | CC: | captain.magnus, dimstar, federico, vuntz |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | maint:released:11.1:22519 | ||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 338003 | ||
| Attachments: | gtk2-bnc459744-bgo545980-file-chooser-entry-uris.diff | ||
Is this still happening? Works for me from both Nautilus and the run-dialog (alt+f2) Dominique explained the issue to me on IRC and it's not working... Sorry for the spam... See these upstream bugs: http://bugzilla.gnome.org/show_bug.cgi?id=545980 - GtkFileChooserEntry doesn't handle URIs properly http://bugzilla.gnome.org/show_bug.cgi?id=551337 - Gedit crashes while browsing ssh locations Also, note that gtk_file_system_parse() starts by doing if (str[0] == '~') file = g_file_parse_name (str); else file = g_file_resolve_relative_path (base_file, str); And g_file_resolve_relative_path(), with base_file being a local file, will simply say "oh, 'sftp://blahblah' doesn't start with a slash, so it must be a subdirectory". Created attachment 267093 [details]
gtk2-bnc459744-bgo545980-file-chooser-entry-uris.diff
I'll use this patch; it is already upstream.
Submitted to the internal build service to SUSE:SLE-11:GA with request id 49. I'll submit it to openSUSE:Factory next and 11.1 as well. Submitted to GNOME:Factory with request id 5529. (In reply to comment #6) > Submitted to GNOME:Factory with request id 5529. Sorry, had to reject it: we now have GTK+ 2.15 in G:F and you had two other patches which we used to have but have been integrated upstream. Can you resubmit, but just with this patch? (In reply to comment #7) > (In reply to comment #6) > > Submitted to GNOME:Factory with request id 5529. > > Sorry, had to reject it: we now have GTK+ 2.15 in G:F and you had two other > patches which we used to have but have been integrated upstream. Can you > resubmit, but just with this patch? Actually, no need for GNOME:Factory: it's in GTK+ 2.15.1 and we'll have it soon. But you probably need to do the 11.1 update in some way -- not sure where to branch from :/ Submitted for 11.1. Update released for: gtk2, gtk2-branding-upstream, gtk2-debuginfo, gtk2-debugsource, gtk2-devel, gtk2-doc, gtk2-lang Products: openSUSE 11.1 (debug, i586, ppc, ppc64, x86_64) |
So - this is a pretty embarassing cock-up ... I open the file-selector; press ctrl-l for the location bar, and enteR: sftp://192.168.0.7/ which is a local machine, I get an error dialog: "The folder contents could not be displayed "Error stating file '/home/michael/esc/sftp:/192.168.0.7': No such file or directory" This is not that impressive ;-) Nautilus' location bar copes nicely with this. cf. the comment at: http://news.opensuse.org/2008/12/16/sneak-peeks-at-opensuse-111-the-latest-gnome-desktop/ [snip] I don’t know how you can say the network facilities of Gnome are better. I am experimenting with Gnome at the moment and am frustrated with the lack of transparent network access. In KDE I could open a file from sftp, ftp, smb or many other protocols and work with them like local files - directly from the open file dialog. (save them etc) In gnome… I have have to “connect to server” and then go the file open dialog. After this annoying extra step… files open read only. Gnome network support seems useless to me compared with KDE’s ioslaves. [snip]