gtk_file_chooser URI opening broken

Bug #531419 reported by Radim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+2.0 (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: gedit

Package gedit.
Ubuntu release 9.10.

apt-cache policy gedit
gedit:
  Instalovaná verze: 2.28.0-0ubuntu2
  Kandidát: 2.28.0-0ubuntu2
  Tabulka verzí:
 *** 2.28.0-0ubuntu2 0
        500 http://cz.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

In 'Open File' dialog, I enter an URI such as
sftp://myserver/myfile
I expect the file to get opened.

Instead, the dialog stays numb - nothing happens at all.
No error message is written to console.

This is more of a gtk+ bug.
It happens in every application tried on karmic, such as
gedit, eog.
Tried on lucid, intrepid and on Gentoo where it worked as expected.

ProblemType: Bug
Architecture: i386
Date: Wed Mar 3 16:30:23 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: gedit 2.28.0-0ubuntu2
ProcEnviron:
 PATH=(custom, no user)
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: gedit
Uname: Linux 2.6.31-19-generic i686
XsessionErrors:
 (gnome-settings-daemon:1902): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1948): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1943): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed

Revision history for this message
Radim (radim-tobolka) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

are you getting that issue only with gedit? could you try with any other app that uses the gtk file chooser?

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Radim (radim-tobolka) wrote :

No, Eye Of Gnome 2.28.1, Totem 2.28.2, Gimp 2.6.7 are also affected.

affects: gedit (Ubuntu) → gtk+2.0 (Ubuntu)
Changed in gtk+2.0 (Ubuntu):
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in gtk+2.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Radim (radim-tobolka) wrote :

Hello,
thanks for comment, I was afraid my report just faded away.
I've upgraded to Natty and made a little research on my own. The bug is still there. I've tried three different programs:
gedit 2.30.4
evince 2.32.0
file-roller 2.32.2

All behave the same in regards to sftp access.
Consider I have a ssh account at sftp enabled server.

Case A:
There is no active connection to the server, as per gvfs-mount -l.
I start the program, choose File > Open and type following into address bar:
sftp://server/home/user/file
then hit Open button. The open dialog box stays numb. Neither error dialog pops up,
nor error message is printed to console.

Case B:
There is no active connection to the server, as per gvfs-mount -l.
I start the program with argument sftp://server/home/user/file like this:
gedit sftp://server/home/user/file
Program starts, pops up password dialog. When confirmed, it opens the requested document.
Suddenly, server appears mounted as per gvfs-mount -l.

Case C:
Server is mounted as per gvfs-mount -l.
I start the program without any arguments. Go to File > Open and enter again the full URI
of my document. Open dialog still stays numb. However mount is present in the left-side panel.
If I use mouse to open my document (click mount point and locate and select it), it happens so.

I would expect, that entering URI would either open the document and handle mount process for me, or display some
reasonable error/warning.

I hope this helps.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the feedback Radim, may you please send it upstream at bugzilla.gnome.org since you're able to reproduce the issue ? Thanks in advance.

Revision history for this message
Radim (radim-tobolka) wrote :

Sure, will do. Could you please advice me on how to do this?
Do I have to open a new bug there or is it possible to forward/move this one somehow?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

we have some instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME ; if you have any doubt just ask here, thanks in advance.

Revision history for this message
Radim (radim-tobolka) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.