Filepicker without removable devices


(Frank) #1

That is interesting.
In search of why the filepicker in libreoffice (kde5 integration) does not show removable devices, I notice that even Caligra does not display them.

  • fstab bound devices are displayed.
  • Link network devices not but bookmarked ftp-links

Okular, Dolphin, Kate, Gwenview show the removable media in the filepicker.

Does one have an idea how to convince Libreoffice to also display removable devices?

maybe the console output from libreoffice is a help (sdf1 was an usb memorystick:

[user@pc ~]$ libreoffice
"/org/freedesktop/UDisks2/block_devices/sdf1" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/block_devices/sdf" lost interfaces: ("org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdf" lost interfaces: ("org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" lost interfaces: ("org.freedesktop.UDisks2.Drive")
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" has new interfaces: ("org.freedesktop.UDisks2.Drive")
"/org/freedesktop/UDisks2/block_devices/sdf" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdf1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
get value on unknown control 107

thanks.


(Luca Giambonini) #2

very strange, I preparing an update of udisks2, maybe that can solve this issue.
To me seems that the disk is recognized but somehow the interface lost.


(Frank) #3

thank you Luca

maybe updating udisk2 helps but playing around with libreoffice (no removeable devices), calligra(no removeable devices) and okular (shows removeable decices) offers the same console messages.

The message part

“/org/freedesktop/UDisks2/block_devices/sdf” lost interfaces: (“org.freedesktop.UDisks2.Block”)
“/org/freedesktop/UDisks2/drives/090c_1000_12051686000112” lost interfaces:

appears while removing the memorystick.

[user@pc ~]$ okular
"/org/freedesktop/UDisks2/block_devices/sdf" lost interfaces: ("org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" lost interfaces: ("org.freedesktop.UDisks2.Drive")
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" has new interfaces: ("org.freedesktop.UDisks2.Drive")
"/org/freedesktop/UDisks2/block_devices/sdf" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdf1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
[user@pc ~]$ 
[user@pc ~]$ 
[user@pc ~]$ 
[user@pc ~]$ libreoffice
"/org/freedesktop/UDisks2/block_devices/sdf1" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/block_devices/sdf" lost interfaces: ("org.freedesktop.UDisks2.PartitionTable", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" lost interfaces: ("org.freedesktop.UDisks2.Drive")
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" has new interfaces: ("org.freedesktop.UDisks2.Drive")
"/org/freedesktop/UDisks2/block_devices/sdf" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdf1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
[user@pc ~]$ 
[user@pc ~]$ 
[user@pc ~]$ 
[user@pc ~]$ calligrawords
calligra.lib.pigment: Legacy integer arithmetics implementation
"/org/freedesktop/UDisks2/block_devices/sdf1" lost interfaces: ("org.freedesktop.UDisks2.Partition", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/block_devices/sdf" lost interfaces: ("org.freedesktop.UDisks2.PartitionTable", "org.freedesktop.UDisks2.Block")
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" lost interfaces: ("org.freedesktop.UDisks2.Drive")
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "unbind"
UdevQt: unhandled device action "bind"
UdevQt: unhandled device action "bind"
"/org/freedesktop/UDisks2/drives/090c_1000_12051686000112" has new interfaces: ("org.freedesktop.UDisks2.Drive")
"/org/freedesktop/UDisks2/block_devices/sdf" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdf1" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")
kf5.kio.widgets: No node found for item that was just removed: QUrl("file:///home/frank/Dokumente/uniE20D_schooltype-regular.svg")
[user@pc ~]$ 

The goal was to create a bugreport at LO about the missing removeable devices on plasma.
But Calligra shows the same behavior, so I can’t be sure if it LO.

Edit: (Only an idea - know too little.)
Is libreoffice-kde5 using kdelibs4? - http://anzwix.com/a/LibreOffice/Add%20KDE5%20Desktop%20Backend
Calligra is depending on kdelibs4support.
Perhaps the use of kdelibs4 causes this behavior.