After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 553133 - GtkFileChooser won't ask to mount a volume
GtkFileChooser won't ask to mount a volume
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.14.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
: 573942 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-09-21 14:38 UTC by Pablo Castellano (IRC: pablog)
Modified: 2009-03-06 17:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Pablo Castellano (IRC: pablog) 2008-09-21 14:38:42 UTC
Please describe the problem:
Original: https://bugs.launchpad.net/ubuntu/+source/eog/+bug/272742



Binary package hint: eog

Intrepid Alpha6 fully updated.
When you have just installed ubuntu, you don't usually have the rights to mount volumes.

Eog does nothing when you want to open a folder, in this case a volume, that is not mounted and which you don't have rights to mount (yet).

The expected behaviour should be running policykit.
It's similar to when you want to access to a volume from computer:///... :
has rights? -> open
hasn't rights? -> ask password

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: wl
Package: eog 2.23.92-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=es_ES.UTF-8
SourcePackage: eog
Uname: Linux 2.6.27-3-generic i686

Steps to reproduce:
1. File->Open
2. Click on a volume that is not mounted and which you don't have rights to mount.

Actual results:
Nothing, that's the problem.

Expected results:
Ask to mount that volume

Does this happen every time?
Yes

Other information:
Comment 1 Pablo Castellano (IRC: pablog) 2008-09-22 20:39:24 UTC
The correct component is GtkFileChooser from gtk+.
Comment 2 Felix Riemann 2008-09-26 10:05:40 UTC
Re-Assigning to respective GTK+ contact.
Comment 3 Matthias Clasen 2008-09-26 19:26:52 UTC
Unfortunately, it will not work perfectly until bug 552168 is fixed.

2008-09-26  Matthias Clasen  <mclasen@redhat.com>

        Bug 553133 – GtkFileChooser won't ask to mount a volume

        * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use
        a GtkMountOperation when mounting, so that we get a password
        dialog when required.
Comment 4 Pablo Castellano (IRC: pablog) 2008-09-26 20:07:42 UTC
As far as I have understood, this bug will be automatically fixed when bug 552168 is fixed. Is it right?

Good job! :)
Comment 5 Philippe Chaintreuil 2009-03-06 17:29:27 UTC
*** Bug 573942 has been marked as a duplicate of this bug. ***