-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
解决在导出字典文件后,出现多个explorer进程的问题,并且升级文件对话框为 Win7 样式 #1193
Conversation
a0bee66
to
021dd74
Compare
用资源文件处理字符串表的项,另外那些原来未删除的确认无用的注释删除 了吧 |
…file, updating the file dialog box to win7 style.
021dd74
to
046163c
Compare
已经是cpp17标准,直接用std::filesystem::path来处理路径更简单安全 |
9caa7f4
to
070bb1f
Compare
@fxliang 搞定了 |
070bb1f
to
75437ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
威武
3144b54
to
939abca
Compare
传入 |
939abca
to
872d217
Compare
1c775f2
to
98fe809
Compare
@fxliang 可能 filepath 也要处理一下(替换成反斜杠 |
是指这样吗 distribution_code_name: Weasel
distribution_name: "小狼毫"
distribution_version: 0.15.0.0
install_time: "Sat May 28 13:58:04 2022"
installation_id: office_pc
rime_version: 1.11.0
update_time: "Tue Apr 16 20:05:13 2024"
syn_dir: "C:/Users/DELL/Desktop/weasel/data中文/sync" filesystem::path自动处理路径分隔符的 |
是的,但是上面应该只有directory被处理了吧,filepath作为被选中的文件没有处理也会出问题 |
怎么复现?我目前没有复现你描述的问题 |
2024-04-21-05-58-04.mp4 |
@fxliang 这个视频前半部分就是有问题的正斜杠 |
似乎是,但是为什么这里path没成功,没理解。或者我再试试或看时间revert 掉那个commit |
如果上面这行代码不会把 filepath 自身里面的斜杠替换 , 那下面用 filepath 的时候就会出问题 std::vector v; |
我没有理解的是下面的filepath同样用filesystem::path处理,不行,上面folder的可以。先不理了,我revert了那个修改的commit了 |
不要自己手動替換分隔符。試試在給出字符串路徑之前調用 path::make_preferred |
旧对话框的字体粗细很怪
新样式