D20433: Use mount point returned from DBus instead of using property value

Nicolas Fella noreply at phabricator.kde.org
Wed Apr 10 15:02:29 BST 2019


nicolasfella created this revision.
nicolasfella added a reviewer: broulik.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
nicolasfella requested review of this revision.

REVISION SUMMARY
  There is a slight time frame (~2ms) where mount has returned but the MountPoints property is not updated. When the mounpoint is queried during that time it will be empty and opening a plugged in USB device in Dolphin will fail.
  To avoid this use the mountpoint information returned by the mount() call

REPOSITORY
  R245 Solid

BRANCH
  limux_master

REVISION DETAIL
  https://phabricator.kde.org/D20433

AFFECTED FILES
  src/solid/devices/backends/udisks2/udisksstorageaccess.cpp
  src/solid/devices/backends/udisks2/udisksstorageaccess.h

To: nicolasfella, broulik
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190410/f1a13db7/attachment.html>


More information about the Kde-frameworks-devel mailing list