[Seek Help] 文件管理器复制或编辑路径是file:///开头
Tofloor
poster avatar
shu
deepin
2022-04-06 17:25
Author

RT。

原本路径为:/usr/lib

进入编辑或复制的结果:file:///usr/lib

每次用的时候手动把前面去除。

是哪里没设置对吗?

Reply Favorite View the author
All Replies
chenbo
deepin
2022-04-06 17:36
#1

我也觉着这样不太合适

Reply View the author
说书人
deepin
2022-04-06 18:27
#2

附议

Reply View the author
shu
deepin
2022-04-06 18:49
#3

看来不只是我觉得别扭,为何这么设计呢,希望改一下

Reply View the author
delsin
deepin
2022-04-06 19:00
#4

是的,每次复制路径之后都要手动删除file://,好麻烦。

Reply View the author
deepin_xiaoqian
deepin testing team
2022-04-06 19:51
#5

目前文件管理器可以使用快捷键Ctrl+L,编辑文档地址来规避这个问题tail

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2022-04-06 20:25
#6

我之前提过,可惜一直没有改

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2022-04-06 20:25
#7
It has been deleted!
神末shenmo
deepin
Spark-App
Q&A Team
2022-04-06 21:11
#8

所以为什么这样设计呢。。。

Reply View the author
doctor
deepin
2022-04-06 22:17
#9

CTRL+L 是没有 file:/// 的,但是右键编辑却有,我一直觉得这是个bug

Reply View the author
shu
deepin
2022-04-07 00:53
#10
deepin_xiaoqian

目前文件管理器可以使用快捷键Ctrl+L,编辑文档地址来规避这个问题tail

学习了,多谢,好歹有个方法能处理了。

Reply View the author
shu
deepin
2022-04-07 00:54
#11
神末shenmo

所以为什么这样设计呢。。。

是啊,没必要啊😂

Reply View the author
zccrs
deepin
2022-04-07 19:17
#12

这的确是个问题,行为不统一。之所以会有"file://"开头,是因为文件管理器中并非只支持本地文件,所以对它来说文件的地址并不仅仅是“路径”,而是一个uri,比如搜索一个文件时按Ctrl+L,uri是 search:?url=file:///home/user&keyword=搜索的关键字。不过其它地方都针对本地文件做了特殊处理,隐藏了"file://"信息,这里应该统一起来。有兴趣的同学可以提个PR,这个问题很容易修改😂 。

CC @tsic

Reply View the author
zccrs
deepin
2022-04-07 19:18
#13

提不了pr也不要紧,可以先到 https://github.com/linuxdeepin/developer-center/issues 创建个问题

Reply View the author