User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060413 Ubuntu/dapper Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060413 Ubuntu/dapper Firefox/1.5.0.1 the patch at 1763 tried to handle the context menu when the icon is unmounted so it does not show separators as the first item or 'open terminal here' when there is an info leftover but the volume is unmounted and the path may be invalid these changes are not present in svn http://bugzilla.xfce.org/show_bug.cgi?id=1763 Reproducible: Always
Sorry, I'm not really understanding what the problem is. Could you clarify? Maybe with a screenshot?
this too appears only when the mountpoint directory is created on mount. When the icon appears on the screen, there is not VfsInfo attached to it, and the volume is not mounted either. So the first addition in the menu is the separator at line 2162 in src/xfdesktop-file-icon-manager.c since all tests before fail and do not add any entry The other issue is after the volume is unmounted, the VfsInfo is still there, so the entire context menu is shown even though since the mountpoint directory is removed some of the entries don't work- those added by UCA plugins which act on an existing directory, and properties while it works it does not have much info as it says free space:unknown, iow it is the properties of a nonexisting dir versus that of the volume.
Created attachment 545 context menu screenshot here's what it looks like at start, on an unmounted but plugged in usb stick
Created attachment 559 fix this makes the custom actions entry not appear for unmounted volumes, and the separator only appear if entries were added before 'Mount'.
Well, that patch leaves out a separator under other conditions, so I just redid how the separators are done entirely, so I think it should work ok now.