FS#23318 - [pcmanfm] no drives icon on the left side

Attached to Project: Arch Linux
Opened by Nesser (Decepteiskon) - Thursday, 17 March 2011, 23:10 GMT
Last edited by Angel Velasquez (angvp) - Monday, 13 June 2011, 15:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Angel Velasquez (angvp)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: after the latest update of ConsoleKit, Pcmanfm doesn't show the drives icon anymore, on the left side of the window.

Running Pcmanfm from console, it shows the rows written in the next section, but no icon shows.

If i mount a drive with "udisks --mount /dev/sdxX", the drive's icon appear on the left panel.

Additional info:
* package version(s)
-pcmanfm: 0.9.8-5
-libfm: 0.1.14-4
-consolekit: 0.4.3-2

* config and/or log files etc.


$ pcmanfm
** (pcmanfm:5792): DEBUG: device_added: /org/freedesktop/UDisks/devices/sdb
** (pcmanfm:5792): DEBUG: device_added: /org/freedesktop/UDisks/devices/fd0
** (pcmanfm:5792): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda
** (pcmanfm:5792): DEBUG: device_added: /org/freedesktop/UDisks/devices/sr0
** (pcmanfm:5792): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda1
** (pcmanfm:5792): DEBUG: device_added: /org/freedesktop/UDisks/devices/sdb1

Steps to reproduce: install pcmanfm & consolekit and just open a window of Pcmanfm.
This task depends upon

Closed by  Angel Velasquez (angvp)
Monday, 13 June 2011, 15:03 GMT
Reason for closing:  Upstream
Additional comments about closing:  if this still happens on 0.9.9 please open the bug on the community section on the bugtracker
Comment by Ping Li (lapa) - Wednesday, 11 May 2011, 15:37 GMT
Same issue here...
Comment by Angel Velasquez (angvp) - Wednesday, 11 May 2011, 20:21 GMT
What do you have on your ~/.gtkrc-2.0 did you set-up correctly the iconset ? I am seeing the icons of a flash drive right now ... seems to be a bad configuration, could you try to config your .gtkrc-2.0 properly then try again and confirm if persist? (you could use lxappearance to config your icons)
Comment by Ping Li (lapa) - Thursday, 12 May 2011, 00:26 GMT
I suppose this is not a problem of iconset. I'm able to make drive icons show in the left panel if mounting the drive manually while pcmanfm is running (the creator of this issue reported the same thing). However icons will not show when drives are mounted when pcmanfm is not running.

It seems to me pcmanfm fails to add drives when starting and works fine on notifications of drive changes.


1. run pcmanfm from a terminal -> no icons
xxxx@xxxx ~$ pcmanfm
** (pcmanfm:1833): DEBUG: device_added: /org/freedesktop/UDisks/devices/sr0
** (pcmanfm:1833): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda
** (pcmanfm:1833): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda1
** (pcmanfm:1833): DEBUG: device_added: /org/freedesktop/UDisks/devices/sda2
** (pcmanfm:1833): DEBUG: FmJob error: No such file or directory
** (pcmanfm:1833): DEBUG: FmJob error: No such file or directory
** (pcmanfm:1833): DEBUG: FmJob error: No such file or directory

2. mount a drive manually and the icon of this drive shows even if the mount command fails. drive icons show in both cases below.

xxxx@xxxx ~$ udisks --mount /dev/sda1
Mounted /org/freedesktop/UDisks/devices/sda1 at /media/win

** (pcmanfm:1833): DEBUG: device_changed: /org/freedesktop/UDisks/devices/sda1
** (pcmanfm:1833): DEBUG: on_idle: 1
** (pcmanfm:1833): DEBUG: g_udisks_device_changed
** (pcmanfm:1833): DEBUG: add vol: 0x948a000, uuid: 3808BE0908BDC662, udi: (null)

xxxx@xxxx ~$ sudo mount /dev/sda2 /media/data
Password:
fuse: failed to access mountpoint /media/data: No such file or directory
xxxx@xxxx ~$ cd /media
xxxx@xxxx /media$ ls
win/

** (pcmanfm:1833): DEBUG: device_changed: /org/freedesktop/UDisks/devices/sda
** (pcmanfm:1833): DEBUG: on_idle: 1
** (pcmanfm:1833): DEBUG: g_udisks_device_changed

3. Quit and re-run pcmanfm. No icons again.
Comment by Nesser (Decepteiskon) - Thursday, 12 May 2011, 01:52 GMT
I remember that icons were on the left side before the update, and i confirm that sometimes, when i mount a removable device, i can see the icon.

But before, i could see icons of all the partition/disks i had on my pc. Now only the mounted one (and not always).

And that's strange, i have no .gtkrc-2.0 file on my home.

Same behavior on my x86_64 Arch.
Comment by Angel Velasquez (angvp) - Tuesday, 17 May 2011, 19:20 GMT
Ok I will paste to you some of my configurations and my packages .. I am not able to reproduce your bugs, for me is going well (maybe is a missconfiguration or something). In fact everything automount I don't have to type the command (but I've tested typing the command too)

groups:

[«angvp@angvpbox ~»]$ groups angvp
games network video audio optical storage users

.gtkrc-2.0 (I used lxappearance part of LXDE):

http://pastebin.ca/2062778

packages:

* pcmanfm 0.9.8-5
* udisks 1.0.3-2
* libfm 0.1.14-5
* tangerine-icon-theme 0.26-5
* consolekit 0.4.4-1

* screenshot (yes is working)

http://i.imgur.com/8H3iq.png

So in resume, wfm ... :/
Comment by Ping Li (lapa) - Wednesday, 18 May 2011, 12:51 GMT
  • Field changed: Percent Complete (100% → 0%)
Sorry for the re-opening. I looked at the screenshot you made and think it doesn't work for you either.

For logs of pcmanfm, there are several drives (sda1/2/5/6/7 and sdb1) on your system, but only the icon for sdb1 is showing. When everything works, icons for all drives should show.

And in your case, does sdb1 show after it is mounted when pcmanfm is running? If pcmanfm is closed and rerun, does the icon still show?

Please check the steps I post.
Thanks.
Comment by Ping Li (lapa) - Wednesday, 18 May 2011, 14:20 GMT
Forgot to mention: for packages listed, we have the same versions installed.
Comment by Angel Velasquez (angvp) - Wednesday, 18 May 2011, 18:03 GMT
Ok I now understand what happening to you, and seems a bug (or functionality non coded in fact) from pcmanfm people.

I mean, the real problem is ... pcmanfm doesn't check mountpoints when starts, he just checks usb drives and cds.. but not partitions which are mounted.

The tests worked for me 'cause I'm using an external usb drive to test (those sda{1,2,5,6,7} where mounted on my installation (/boot,/,/var,/home), *but*, on my laptop where I have a partition which isn't on my fstab (and not mounted) the bug reproduces it, so you re right, I have to mount it manually to see it, and then if I restart pcmanfm I can't see it anymore even if it's mounted..

So since this it's upstream, I will close the bug, waiting for a patch or something from PcmanFM developers. and report the bug upstream.

Thanks for the patience here
Comment by Angel Velasquez (angvp) - Wednesday, 18 May 2011, 18:26 GMT
Digging around I found this:

Upstream Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=3172701&group_id=156956&atid=801864

http://wavesofthefuture.net/computers/quelitu-lubuntu-guide-increase-speed-windows-computer.shtml (Search "PCManFM 0.9.8 Bug: Fails to Mount Volumes/Windows Partitions--Three Solutions") Suggested by someone on the ticket ... Not that I like it at all ... but since this it's upstream we just can wait...
Comment by Ping Li (lapa) - Wednesday, 18 May 2011, 22:36 GMT
Let'm wait since it is confirmed to be a bug in pacmanfm.

Thank you for taking time to look at this.
Comment by Angel Velasquez (angvp) - Monday, 13 June 2011, 15:02 GMT
I will close this bug for two reasons:

1.- New pcmanfm 0.9.9 is coming soon and have a lot of fixed bugs
2.- pcmanfm as lxde is now part of community so this is not the right section on the bugtracker ..

In any case on pcmanfm 0.9.9 this still happens, then open this bug on community, assign it to myself, and I will put this bug as a bug related.

Let's hope this it will be fixed on 0.9.9

Loading...