Skip to content

On Linux files from smb-pathes cannot be dropped #470

@topse

Description

@topse

The file I try to drop starts with smb://.... and the drop fails with the following exception:

failed to parse linux path: Unsupported operation: Cannot extract a file path from a smb URI #0      _SimpleUri.toFilePath (dart:core/uri.dart:5065:7)
uri.dart:5065
#1      DesktopDrop._handleMethodChannel.<anonymous closure> (package:desktop_drop/src/channel.dart:143:37)
channel.dart:143
#2      MappedListIterable.elementAt (dart:_internal/iterable.dart:442:31)
iterable.dart:442
#3      ListIterator.moveNext (dart:_internal/iterable.dart:371:26)
iterable.dart:371
#4      WhereIterator.moveNext (dart:_internal/iterable.dart:467:22)

Best Regards,
Tobias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions