Volumes with photo MIME type do not have a camera icon

Bug #481528 reported by piratemurray
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: gvfs

Following the advice in bug #480131 I am creating a new report to describe my present situation.

My Casio Exilim digital camera used to automount and place a special icon on the desktop that looked like a camera when I was running Jaunty. Since Hardy this no longer happens. Upon automount now, no icon is placed on the desktop, an icon in the shape of a USB stick appears on the Places menu with the label "8 GB Filesystem". The same icon appears on the desktop only once it has been clicked upon in the places menu. The mount point is also not what it used to be in Jaunty (it used to be called the camera's name something like 'Casio Exilim')

In reply to a question asked in bug #480131, yes the mounted folder does have a DCIM folder indicating to Ubuntu that this should be treated as a camera.

Steps to reproduce:
1) Plug camera into USB port
2) Wait for automount

Expected result:
Camera icon appears on desktop once automounted that opens the mounted folder.

Actual result:
Upon automount now, no icon is placed on the desktop, an icon in the shape of a USB stick appears on the Places menu with the label "8 GB Filesystem". The same icon appears on the desktop only once it has been clicked upon in the places menu. The mount point is also not what it used to be in Jaunty (it used to be called the camera's name something like 'Casio Exilim')

Revision history for this message
piratemurray (mez-pahlan) wrote :

The output from ls -l /media/0000-0DF1 is

total 32
drwx------ 3 myusername myusername 32768 2008-06-14 16:49 DCIM

Also attached is gvfs-mount -li

Revision history for this message
piratemurray (mez-pahlan) wrote :

Also a screenshot of he incorrect mount name

Changed in gvfs (Ubuntu):
importance: Undecided → Low
assignee: nobody → Martin Pitt (pitti)
assignee: Martin Pitt (pitti) → nobody
Revision history for this message
Martin Pitt (pitti) wrote :

I reproduced this with a "fake" mass storage camera by adding a DCIM/ folder with some images to my USB stick. I confirm that gvfs detects the MIME type just fine, but doesn't set a camera icon:

  Volume(0): PittiTest
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '49C5-8913'
     unix-device: '/dev/sdb1'
     label: 'PittiTest'
    themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
    can_mount=1
    can_eject=1
    should_automount=1
    Mount(0): PittiTest -> file:///media/PittiTest
      Type: GProxyMount (GProxyVolumeMonitorGdu)
      themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
      x_content_types: x-content/image-dcf
      can_unmount=1
      can_eject=1
      is_shadowed=0

Now, there are devices (like my mobile phone) which have more than one MIME type, so for those a camera icon isn't appropriate. But if the only MIME type that we detect is x-content/image-dcf, then gvfs should indeed set a camera icon.

As for the "no icon on desktop", this is because your camera wasn't automounted after all; your gvfs-mount output has "should_automount=0". Did you already have it plugged in when starting the GNOME session? If so, that's bug 472937.

Changed in gvfs (Ubuntu):
status: New → Triaged
summary: - Automounted digital camera mounts with incorrect name and does not
- create camera icon on desktop in Karmic as it did in Jaunty
+ Volumes with photo MIME type do not have a camera icon
Revision history for this message
Martin Pitt (pitti) wrote :

(Note to myself: No upstream bug yet, I'll create one once I have a patch)

Changed in gvfs (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
piratemurray (mez-pahlan) wrote :

Hi Martin I checked out bug #472937 and I think this scenario is when the user has a drive that is powered on and connected before starting the session.

Whilst my camera is connected to the computer before my GNOME session it is only in the physical sense (it sits in a docking station with a connection to the USB port). It isn't powered on before I start my session so in that respect it is not connected. Other than that the rest of the scenario is the same - I have to click on the media in the Places menu before I see a desktop icon.

Revision history for this message
Martin Pitt (pitti) wrote :

Still happens in lucid.

Changed in gvfs (Ubuntu):
status: Triaged → In Progress
Martin Pitt (pitti)
Changed in gvfs (Ubuntu):
status: In Progress → Triaged
Martin Pitt (pitti)
Changed in gvfs (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti)
Changed in gvfs (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
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.