! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Loop devices don't appear in side pane with GVFS 1.12 / UDisks2
Status:
RESOLVED: FIXED

Comments

Description Evangelos Foutras 2012-05-26 06:24:04 CEST
Created attachment 4463 
Probably wrong way to include loop devices in the side pane

Quote from the downstream bug report [1]:

"Previously if a loop device was created it would appear in the side pane where it could then be mounted by clicking on the device. Now the loop device no longer appears in the side pane.

Steps to reproduce:
run the following command as root to create the loop device:

losetup /dev/loop0 (path/to/iso/image)

The newly created loop device will not appear in the side pane of Thunar. This operation works fine in another file manager (Nautilus)."

List of software used:

Thunar 1.4.0
glib2 2.32.3
GVFS 1.12.3
udisks2 1.94.0

As far as I can tell, the problem is that thunar_g_volume_is_present() returns FALSE for loop devices, because g_volume_get_drive (volume) returns NULL.

I'm going to attach a work around I've come up with, but it's most likely not the right way to fix this issue.

[1] https://bugs.archlinux.org/task/29894
Comment 1 secipolla 2012-12-03 21:24:51 CET
Works fine with exo 0.10/Thunar 1.6
Comment 2 secipolla 2012-12-03 21:25:18 CET
I mean, not the patch. It works OOTB.
Comment 3 Evangelos Foutras 2012-12-04 10:42:31 CET
(In reply to comment #1)
> Works fine with exo 0.10/Thunar 1.6

Indeed!

Bug #8947

Reported by:
Evangelos Foutras
Reported on: 2012-05-26
Last modified on: 2012-12-04

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Attachments

Additional information