Please file an issue for this.  It will be fixed asap.

Edward

On Thu, Feb 7, 2019 at 12:35 PM Josef <[email protected]> wrote:
>
> I work on Xubuntu 18.04 LTS and use Krusader as file manager.
>
> When I try to drag a file from the file manager into a node body, I only get 
> a file:///... link if the pane was empty, while I have no problems with cut 
> and paste. I tried this with the Thunar file manager as well, just to make 
> sure the problem is not Krusader-specific. The file name seems to be always 
> absolute - would be nice to have a "paste relative" option.
>
> When dragging a file into the tree pane, Leo tries to generate a relative 
> file name. This works only correctly when the file dragged into Leo sits in 
> the file tree underneath the place where the @path points to. If the file 
> sits on a different branch, one gets only the path from the place where the 
> branches split, but not the leading ../../ or so to ascend the branch from 
> the @path place.
>
> I guess Leo just removes os.commonpath() from the abspath to return the file 
> path, but should use os.relpath() instead.
>
> - Josef
>
> --
> You received this message because you are subscribed to the Google Groups 
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.



-- 
------------------------------------------------------------------------------------------
Edward K. Ream: [email protected] Leo: http://leoeditor.com/
------------------------------------------------------------------------------------------

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to