[Contribute Advice] 建议优化文件管理器重命名时自动选中功能
Tofloor
poster avatar
cocini
deepin
2022-06-18 20:40
Author

文件名称为: a.tar.gz,

选中文件重命名,会自动选中 a.tar

建议改为: 选中 a 不要包括.tar

Reply Favorite View the author
All Replies
寰宇ζ
deepin
2022-06-18 21:00
#1

这个有点不好搞不?

Reply View the author
deepin-superuser
deepin
2022-06-18 21:13
#2

按你的逻辑 a.b.c.d.e 重命名的时候选中哪个?

a 还是 a.b.c.d

Reply View the author
云的眼泪
deepin
2022-06-18 22:41
#3

是可以再智能一点,像.tar.gz这样的是包扩展名,应该作为整体看。

Reply View the author
cocini
deepin
2022-06-19 01:44
#4
deepin-superuser

按你的逻辑 a.b.c.d.e 重命名的时候选中哪个?

a 还是 a.b.c.d

维护一个已知扩展名表去匹配.例如表里面包括c zip tar.gz tar.xz。然后遇到a.b.c.d应该全选,a.b.c 选a.b a.b.c.tar.gz 选择a.b.c

Reply View the author
cocini
deepin
2022-06-19 01:46
#5
寰宇ζ

这个有点不好搞不?

试了kde的dolphin,就可以做到

Reply View the author
cocini
deepin
2022-06-19 01:55
#6
deepin-superuser

按你的逻辑 a.b.c.d.e 重命名的时候选中哪个?

a 还是 a.b.c.d

参考kde dolphin的做法

Reply View the author
lanxing0821
deepin
2022-06-19 02:28
#7
deepin-superuser

按你的逻辑 a.b.c.d.e 重命名的时候选中哪个?

a 还是 a.b.c.d

只需要匹配 /usr/share/mime/globs 和 ~/.local/share/mime/globs 这两个文件中所记录的扩展名就行了。其它外来的扩展名可以不必理会。

Reply View the author
(null)
deepin
2022-06-19 03:42
#8
The user is banned, and the content is hidden.
Merlin
deepin
2022-06-19 18:23
#9

w我们还是希望,常用功能更面向广大用户群

Reply View the author
cocini
deepin
2022-06-21 00:43
#10
Merlin

w我们还是希望,常用功能更面向广大用户群

文件重命名不就是广大用户常用功能吗

Reply View the author