Dependency里说需要: C++17 compiler
是不是通过下面这个参数,这个参数在哪里设置的?
(对编译不太熟悉,希望不要介意哈)
-std=c++17
Dependency里说需要: C++17 compiler
是不是通过下面这个参数,这个参数在哪里设置的?
(对编译不太熟悉,希望不要介意哈)
-std=c++17
报错了后,生成了一个GoldenDict.app 不过好像运行不起来
linking GoldenDict.app/Contents/MacOS/GoldenDict
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libogg.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libswresample.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libvorbis.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libvorbisfile.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/liblzo2.dylib) was built for newer macOS version (11.0) than being linked (10.14)
我对macos也不熟悉,看其他人吧
把错误发出来,上面的看起来是warning
qmake 没有报错
make的时候有很多warning,最后报错:
linking GoldenDict.app/Contents/MacOS/GoldenDict
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libvorbisfile.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libogg.dylib) was built for newer macOS version (11.0) than being linked (10.14)
dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libvorbis.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/liblzo2.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libavutil.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libhunspell.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libzstd.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libswresample.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libavformat.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libtiff.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/liblzma.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libeb.dylib) was built for newer macOS version (12.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libopencc.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libavcodec.dylib) was built for newer macOS version (11.0) than being linked (10.14)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libvorbisfile.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libogg.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libvorbis.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libavutil.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libhunspell.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libeb.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libopencc.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libavformat.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libswresample.dylib) was built for newer macOS version (12.0) than being linked (11.0)
dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libzstd.dylib) was built for newer macOS version (12.0) than being linked (11.0)
ld: warning: dylib (/Users/xxx/general_purpose_development/goldendict/maclibs/lib/libavcodec.dylib) was built for newer macOS version (12.0) than being linked (11.0)
mkdir -p GoldenDict.app/Contents/Frameworks && cp -nR /Users/xxx/general_purpose_development/goldendict/maclibs/lib/ GoldenDict.app/Contents/Frameworks/ && mkdir -p GoldenDict.app/Contents/MacOS/locale && cp -R locale/*.qm GoldenDict.app/Contents/MacOS/locale/ && mkdir -p GoldenDict.app/Contents/MacOS/help && cp -R /Users/xxx/general_purpose_development/goldendict/help/*.qch GoldenDict.app/Contents/MacOS/help/ && mkdir -p GoldenDict.app/Contents/MacOS/opencc && cp -R /Users/xxx/general_purpose_development/goldendict/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
make: *** [GoldenDict.app/Contents/MacOS/GoldenDict] Error 1
你执行的命令也发一下
可以参考 里面的 build 和 package 的步骤
goldendict/macos.yml at staged · xiaoyifang/goldendict · GitHub
第一次是通过qt online installer安装的qt,配置路径:
export PATH="$PATH:/Users/xxx/Qt/6.4.3/macos/bin"
然后依次执行:
qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
make
报了上面的错。
第二次通过brew安装了qt:
brew install qt
然后(下面编译选项与前面比,去掉了 x86_64 ):
qmake CONFIG+=release CONFIG+=zim_support CONFIG+=chinese_conversion_support QMAKE_APPLE_DEVICE_ARCHS="arm64"
make
第二次的报错信息(这次没有warning警告了,但有error):
linking GoldenDict.app/Contents/MacOS/GoldenDict
mkdir -p GoldenDict.app/Contents/Frameworks && cp -nR /Users/xxx/general_purpose_development/goldendict/maclibs/lib/ GoldenDict.app/Contents/Frameworks/ && mkdir -p GoldenDict.app/Contents/MacOS/locale && cp -R locale/*.qm GoldenDict.app/Contents/MacOS/locale/ && mkdir -p GoldenDict.app/Contents/MacOS/help && cp -R /Users/xxx/general_purpose_development/goldendict/help/*.qch GoldenDict.app/Contents/MacOS/help/ && mkdir -p GoldenDict.app/Contents/MacOS/opencc && cp -R /Users/xxx/general_purpose_development/goldendict/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
make: *** [GoldenDict.app/Contents/MacOS/GoldenDict] Error 1
Git仓库下下来后,执行 git branch:
* staged
是编译这个分支对吗
对的。 QMAKE_APPLE_DEVICE_ARCHS 这个参数去掉看看。
这次没有错误了,不过有很多警告
log.txt (16.0 KB)
另外生成的 GoldenDict.app 还是无法运行(make install 没有执行,应该不需要这步?)
更新:
第二次执行 上面的qmake和make命令,又报错:
linking GoldenDict.app/Contents/MacOS/GoldenDict
mkdir -p GoldenDict.app/Contents/Frameworks && cp -nR /Users/xxx/general_purpose_development/goldendict/maclibs/lib/ GoldenDict.app/Contents/Frameworks/ && mkdir -p GoldenDict.app/Contents/MacOS/locale && cp -R locale/*.qm GoldenDict.app/Contents/MacOS/locale/ && mkdir -p GoldenDict.app/Contents/MacOS/help && cp -R /Users/xxx/general_purpose_development/goldendict/help/*.qch GoldenDict.app/Contents/MacOS/help/ && mkdir -p GoldenDict.app/Contents/MacOS/opencc && cp -R /Users/xxx/general_purpose_development/goldendict/opencc/*.* GoldenDict.app/Contents/MacOS/opencc/
make: *** [GoldenDict.app/Contents/MacOS/GoldenDict] Error 1
等其他人吧,我对macos完全不熟悉
快捷键啊,ctr ↑ ↓
兄弟,这都多久以前的反馈了。。。 现在这些问题早解决了
webengine 字和图片比较模糊,怎么办?
有些人不知道快捷键是什么,后来人看看吧
视频版goldendict好久没更新了
最近的windows版总有以下情况:输入字词查询时,浏览器便会跳出无数个网页(都是自己加的在线网站),导致死机。请问是哪里的原因呢?
详细一点,什么版本
什么网页,怎么弹出的,
不像是软件的功能,你是不是有加载什么脚本/特别的词典 之类的。
最近几个windows版本都这样,今天是试用的 6.4.3-GoldenDict.exe_windows-2019_20230330.GoldenDict.exe_windows-2019_20230330。具体情况是只要查词,浏览器就会跳出很多网页,这些网页都是我加在“编辑—词典—网站”中的,比如必应搜索即为%GDWORD%。但之前没有这种问题,如目前在用的同一系列的GoldenDict-Windows.7a6db312-092537版本,就一切正常。 - 搜索
等下个版本我再试一下,到时再详细报告问题吧
录个视频,更好理解。
用这个版本试下
请问一下, Goldendict 的分组设置是存在那个档里?
想把 windows 下的分组 copy 到 linux 里。
本地编译可以了吗,
如果还是不可以,可以尝试用github编译。fork分支,然后手动运行action任务。
不建议这个方法,操作不当,容易损坏文件
了解。
几百部辞典分成十几个群组,
看来要花很多时间来搞。
趁着这机会整理掉一些少用的。
本地编译还是不行… action这个是怎么用的
编译失败了:
错误提示:
Resource not accessible by integration
github的问题
应该跟这里没关系
没看到过。。。。。。不记得我有做过设置。估计是对fork的版本有限制。
按照这个stackoverflow链接里第一个回答设置了一下,可以了,非常perfect
go to https://github.com/OWNER/REPO/settings/actions and in Workflow Permissions section give actions Read and Write permissions . That provides your token with rights to modify your repo and solves your problem.
反馈2个小问题:
输入框里输入单词get,回车,加载查词结果。然后:
感觉改成下面这样会不会更好一些:
这部分的逻辑,需要仔细梳理下。
印象中有好记得地方会影响(或期望影响) 输入框中的实际文本。
1 切换分组
2 直接当前窗口中双击查词
其他
要怎么显示才更符合操作习惯,需要仔细考虑。
的确需要仔细考虑。
梳理一下几个场景:
用户点击输入框,输入了要查的单词,此时切换分组,应该以输入框里的单词为主
用户刚通过粘贴查了一个词,此时切换分组,应该以粘贴的内容为主
用户双击,目前好像输入框里直接更新了,这种情况以任何内容为主都可以(因为都一样)
不知道还有其他场景不
白闪的问题是吧 这个修改还原了 最终打算先不处理
gcin 没办法在 search pane 输入中文。
请问楼主 linux 下是用那一种中文输入法平台?
OS: MX Linux 21.3 AHS
Goldendict 23.02.07-alpha.230330.5ea4e8dc
debian linux 6.0.0-6mx-amd64 Qt 5.15.2 x86_64-little_endian-lp64
GCC 9.4.0
Flags: MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT
从这个看,不是本帖的版本。
另外,点击显示内容,是词典的功能,不是软件的。
刚仔细测试了一下这个mdx:
同词条内跳转 测试结果:
注: 此时跳转点样式为:<a href="#xxx1">链接</a>
(href的值没有entry://前缀)
在这个版本GoldenDict的测试结果:
3个锚点均顺利跳转
在官方版本GoldenDict的测试结果:
锚点1和锚点2无法跳转,锚点3可以跳转
注:
锚点1锚点样式:<a id="xxx1"></a>
锚点2锚点样式:<a name="xxx2"></a>
锚点3锚点样式:<a id="xxx3" name="xx3"></a>
修改跳转点样式为:<a href="entry://#xxx1">链接</a>
后重新测试:
在这个版本GoldenDict的测试结果:
3个锚点均无法跳转
在官方版本GoldenDict的测试结果:
3个锚点均顺利跳转
跨词条跳转 测试结果:
3个跳转点样式分别改为了下面样式(注意2的href值没有entry://前缀,1和3都有entry://前缀):
<a href="entry://anchor2#xxx1">跳转到锚点1</a>
<a href="anchor2#xxx2">跳转到锚点2</a>
<a href="entry://anchor2#xxx3" >跳转到锚点3</a>
在这个GoldenDict版本和官方版本GoldenDict的测试结果一致,如下:
1和3顺利跨词条跳转,2点击无反应
注:
锚点1锚点样式:<a id="xxx1"></a>
锚点2锚点样式:<a name="xxx2"></a>
锚点3锚点样式:<a id="xxx3" name="xx3"></a>
结论:
跨词条跳转的时候,必须加上entry://前缀
词条内部跳转的时候:
如果不加entry://前缀,只有这个改版GoldenDict完美兼容,原始版本GoldenDict,只有在<a>
锚点同时设置了id和name属性的时候才兼容。
如果加entry://前缀,原版GoldenDict完全兼容,本修改版GoldenDict完全不兼容。
建议:
为了各版本兼容性,建议词条内部跳转的时候,修改为必须加entry://前缀,如:
<a href="entry://#xxx1">链接跳转</a>
这样可以保证最大的兼容性。
如果保持词条内部跳转不加entry://前缀的话,词典作者在制作词库的时候,
需要保证<a>必须同时含有id和name属性:<a id="xx" name="xx"></a>
才能同时兼容这个版本GoldenDict和原版GoldenDict的词条内部的锚点跳转。
后续支持下,
有没有测试的 mdx 提供个,这个random测试的时候说可以。
处理了,见最新版本
测试mdx
anchor.mdx (2.1 KB)
其实这个问题本质上,是 输入框里面的词 是否要与显示的翻译一致。
记得最开始是一致的,后来貌似upstream修改成特意不一致了。
感觉符合直觉是最好的。不知道后面打算怎么改
反馈一个小bug:
查询面板上点击一个候选词,然后按方向↓键,输入框和查询面板突然被清空了。
要按Ctrl + Z 才恢复。
gd中没有这个快捷键。 可能你触发的是其他软件的功能
ctrl+z是撤回之前操作的系统快捷键,输入框和查询面板被清空有没有复现出来?
录个视频看下,有点不是很明白操作的步骤
就是说点击左边的词头的时候,马上失焦,无法通过方向键上下切换词头。
按方向键切换词头的时候,词条列表和输入框都被清空
Screen Recording 2023-04-10 at 09.26.30.mov.zip (12.5 MB)
估计跟mac有关系,windows上无法复现。
是因为按方向键的时候,焦点直接定位到输入框了并清空了输入框。
请教一下,这两个文件有什么区别啊
6.4.3-GoldenDict.exe_windows-2019_20230409.zip
6.4.3-GoldenDict.exe_windows-latest_20230409.zip
为什么没有单独的 6.4.3-GoldenDict.exe
呢
有的,列表的最下面
windows-latest是基于windows2022-server编译的
这种没法改是吗
暂时没条件改。
那我这个问题能解决么?
联系词典制作者或其他词典使用者帮忙修改。
Regularly updated with new versions folder with GoldenDict for Windows x64, based on QT 5.12.3; status: Release Candidate (RC); author unknown:
guy,you can post this in a new thread
更新到qt6.5.0,qt6.3没有tts,新版代码无法编译,所以不更了
已知bug: 查看元素默认是响应式设计模式,应该是qt6.5的bug
你好!不知全文搜索功能有所改善吗?之前的版本搜索出的词条结果不准确,例如搜索短语。
问作者,最近工作忙,我没时间看更新了什么
请问作者是谁呢?指个路吧
响应式设计模式是什么,截个图看下,不大想升qt6.5,我等qt6.6,需要它的一个特性。
试了一下,感觉字体不如xiaoyifang版本清晰。
应该都是一样 的代码吧。 估计是qt6.5的引擎问题。 之前发现 窗口 的颜色貌似变浅了。
是可以,但是麻烦也反直觉
有没有必要在指定类型词典全文搜索之外,再加入仅对指定词典全文搜索?
其实个人在使用时感觉全文搜索大概率是针对少数优秀词典来使用的,甚至多数人很少使用。许多词典只是备用状态,甚至百科之类词典全文搜索没有意义(个人判断,不一定对)。
如果能实现,会大大减少索引时间和空间占用。
如何指定特定的词典进行索引 需要考虑,不过这是一个需求点。
反馈一个词条内锚点跳转的问题:<a href="entry://#xxxx">词条内锚点跳转</a>
复现流程(使用的最新版的GoldenDict):
注:
<a href="entry://test#xxxx"></a>
没有这个问题空白结果:
收到,后续调查下
About ‘Add article to Anki function’, can you please make it fetch all data including full non-stripping HTML to Anki? By this way, we can import .css file to declutter unorganized data. What do you think?
For more details, Anki had an add-on called ‘Fast Word Query’ could do this great job, but unfortunately the author abandoned that project some years ago and the add-on no longer functions well.
I hope you will consider this idea for future development. Hope to hear from you. Have a nice day!
This function is implemented by contributors.
AFAIK , send html+css maybe involve a lot of work, In current situation, there is no plan to implement it.
But the project is open to PR which would like to make contribution to this feature.
It sounds more complicated than I thought. I think stripping html is more complex, but who am I to say. Secondly, we don’t need to inject css to Anki, copy .css file of the dictionary to Anki’s folder will do.
But again, thank you for your consideration.
send html only should be easier,without css will have some display issue. I think it’s the reason to strip html
请问全量词条过滤的功能是不是失效了?我用现在的新版,过滤器会显示不全:
(commit 72fca59已解决2023-04-23)
默认只加载一千多个词条,过滤器只在这一千多条内容中筛选。要把滚动条反复往下拉,等词条全部加载出来才能过滤出完整的内容。要是遇到20万词条的词典,滚动条拉一两分钟都拉不到头,也就没办法查看所有筛选结果了。感觉过滤器基本报废了
GD官方原版虽然加载词条时有一点卡顿,但不需要额外的操作就能显示所有过滤结果:
有了过滤结果之后 直接向下拉滚动条看下 期间不要清空输入栏
过滤结果出来后直接向下拉,结果没有变化(不会继续加载词条)
估计有问题 后续看下
非正则的情况下,应该是可以的,估计正则的时候处理有问题。
text类型没复现。
正则、wildcards的看起来有问题。
原版可以导出筛选的记录吗?
原版可以导出筛选结果。
我试了下原版的导出功能,没法导出筛选啊,怎么导的
嗯,我看错文件了。后续看下。
在 这里 修改了
另外在考虑一个问题, 过滤的时候,要不要限定下返回的数量。
比如词头很多的情况,用户搜索a过滤,可能命中几十万的数据,这些数据原则上没有太大的意义。用户不可能一一查看(可以导出全量的过滤结果到文件), 类比搜索
刚才在测试的时候发现过滤的速度可能还有优化的空间。
(commit a810a56已解决2023-04-23)
拿一本20万词条的词典做测试,分别筛选a,e,a,全部,GD官网原版的表现稍慢但稳定:
fix/headword-filter
这一版在第一次筛选a时很快,但之后的速度都变得很慢,第三次筛选的是和第一次一样的a,但速度比第一次慢很多,最后一次筛选全部则陷入卡顿,无法完成:
我也觉得普通用户不会逐个查看几十万个词条,不过我看到 #1215 有提到一种使用场景:
我也在别的贴子里看到过不少制作词典的人有提过这种用法,他们觉得mdict在这方面比GD更方便调试词典,快速拉动词条列表就能大致看出有什么问题(大概是这个意思吧。我自己都是用中小型词典,不会遇到很严重的卡顿,只要能和官网原版表现一致就能接受)。
最新xipian版(6.4.3-GoldenDict.exe_windows-2019_20230421-xapian)按F3设置词典的时候会闪退。系统是Win10
菜单打开词典会闪退吗,还是只有快捷键闪退
更新了下,麻烦再看看,
如果不关心排序的话,速度应该还可以进一步提升。
感谢更新,现在的速度比之前快了。不过在筛选全部词条之后继续筛选a(下面视频中第18秒左右),速度会比第一次筛选a慢一倍:
其他情况下未见异常。
还有个小细节,在筛选全部的时候发现底部显示的词条数量 “总共有213587个不同的词条,已过滤210361个”,其中210361是去重后的词条总数,而213587是包含重复项的词条总数,这里的提示可能要改一下?
(官网版两处都是显示210361)
先保持这样了 索引想找机会重新实现一下
快捷键直接闪退,菜单Edit->Dictionaries点开也闪退
没重现,有相关日志吗
最后一本词典的后面,特意加的400px 空白, 看起来舒服些。
尤其最后一本词典的高度比较低的时候。
反馈个使用体验的问题:
在一个词典很多的分组查词的时候,往下翻页的时候出现空白(正常现象),然后继续稍微翻页,等词典加载一会儿,发现前面稍微翻的一点页,却往下滚动过了好几个词典,这时候往往需要重新网上翻页回到之前位置附近。
能否翻页的时候,设置加载后跨度不要太大
不是很明白 录个屏看下
就是类似滚动位置好像有漂移现象,从一个位置突然滚动到另一个距离很远的位置,导致刚在一个词典,稍微滚动页面就到了另一个距离很远的词典
参考视频33秒和48秒附近
content-visibility: auto;
contain-intrinsic-height: auto 600px;
可能跟这两句css有关,你去掉后,重新编译看看。
另外渲染这么慢,估计跟某本词典的js有关系,你可以试着排除。
两个css文件中 你搜索冒号前的字符串看下
显示你的搜索还在索引中
滚动漂移问题好像解决了,再用几天看看。
刚也排查了下js,移除了耗时最长的几本词库后,基本正常了。
脚本耗时从25秒降到了耗时476毫秒
渲染耗时从188秒降到了92秒
不过渲染方面好像还是有些问题,渲染的顺序感觉有些问题:刚开始加载的时候,前面几部翻页会很困难,一直显示空白(前面的按理应该优先渲染)然后接着翻页,等一会儿,所有网页就突然全部渲染完了(按前面空白等待的时间看,不应该突然就加载渲染完,而应该先渲染用户翻到的词库周边的词库,然后逐步渲染其他的)。
所以对先渲染的哪些词库会有些迷惑,词库渲染的优先分配方面可能还有优化空间
content-visibility 就是解决这个问题的,没有这个特性,html必须计算高度,只能全部计算渲染完毕了。
你把页面保存成html,用浏览器打开应该也是一样的。
脚本执行最占用时间的是牛津9的OL版,从审查元素那里看是 oald9.js里第388行很占时间:
var __OALD9_appHeight = document.body.clientHeight;
词典应该只要计算自己词典的高度就可以了,像这种js,计算的应该是所有词典加载后的页面高度。
所以会慢。
所以这个 content-visibility 是不是最好还是先保留着,先不要删这两行了?
content-visibility: auto;
contain-intrinsic-height: auto 600px;
下面这个contain-intrinsic-height是干嘛的?只删这一行可以吗?只保留content-visibility这个特性
contain-intrinsic-height: auto 600px;
节省渲染时间的。如果用户不看的话,不渲染。
这个是还没渲染的时候,占位用的,比如一个词典实际高度800px,还没渲染之前,按600px计算整体的高度。 如果后续翻到了这个词典, 这个词典的高度后续就按照800px使用。
好的。我先不删除这两句,再对比试试看哪个效果好
可以,启用这两行css的一个后果就是, 滚动条的高度可能会一直变动。
滚动条高度一直变动的问题,第二行改小点会好一些吗?比如改成0px 或者10px
contain-intrinsic-height: auto 0px;
content-visibility的实现机制就这样,除非已知词典内容的高度,不然怎么改都有问题。
还有些类似双解切换的词典,会在脚本加载完后切换内容,导致整个网页重新计算高度,单本词典看不出来,加载的词典多了,这个过程就异常耗时。
如果是从文本PDF生成的MDX,可能每个字符都有单独的样式控制位置,这种也是渲染引擎的杀手。
重新加上那两行css,又试了下,目前非常流畅了
看来之前的js耗时影响挺大的…
终于找到症结了,原来是在词典中加载“识典古籍”的网页造成的,将其停用就没有这个问题了,加载其他网页和在线词典都是正常的。但在老版本中却不会出现这一情况,大家使用goldendic的在线网页时注意一下这个网站。
问下是不是每次查词的时候,goldendict都会在线下载一些js文件,比如下面的hm.js, piwik.js这些,不知道这些js文件有什么作用。
性能测试的时候,发现这个hm.js执行耗时达4.8秒,很好奇这个是做什么的
ps:下面源码是通过查询结果“保存文章”后得到的
统计跟踪你的使用行为用,通常是网站用来统计流量的。看到hm.baidu.com www.google-analytics.com引用的资源都可以直接删除,都是统计跟踪你的使用行为,删除不会影响词典的。如果觉得删除后有JS错误,找到相关JS代码并删除就可以,没必要把信息发到服务器。
关键这个hm.js 不是任何一个词库引入的,所以用户应该不好控制吧
更新:
piwik.js 好像green slang 词库使用了
green slang的bundle.js 耗时24秒… 太夸张了
更新2:
hm.js 是海词词典引入的…
应该是词典引入的
选项里面禁用广告看下
上面的jquery是gd引入的
原来如此,还没找到hm.js是哪个词库引入的
主要hm.js在源码的最前面,还以为是goldendict引入的
我再找找看看
再反馈一个问题:
在 Ctrl + F 页内搜索页面,无法通过 Ctrl + G 选择 “后一个” 了。只能通过鼠标点击 “后一个” 按钮。之前是可以通过 Ctrl + G 快捷键来切换下一个匹配结果的
试下F3, shift+F3
ctrl+g需要确定下
F3被占用了
一般这种导航,“下一个”都是 Ctrl + G 的,比如各种浏览器里,文本编辑器里
搜索的时候 F3没被占
ctrl+g感觉是浏览器自带的
感觉还是改为符合常用习惯的快捷键比较好(没记错的话,goldendict之前也一直是用的ctril+g的?)。不过我先用键盘映射软件凑合用着
F3 shift+F3也是以前的
后续调查下
@xiaoyifang 遇到一个问题。
每次退出设置界面,屏幕取词弹窗的分组都会丢失记忆,自动变成“全部”:
(commit 933c8ae已解决2023-04-29)
为屏幕取词分配了一个轻便的“pop”分组,只要不进设置界面就都能记住。进入设置界面不做任何操作也会使弹窗的分组记忆丢失。
版本:23.04.03-alpha.3550362c
系统:Linux
对,原版和新版应该都会在设置退出的时候重置一下。过几天修。
github上的GD原版挺正常的。
另外,能否顺便恢复原版的这个功能?“按键取词容许的延迟时间”
(暂未处理2023-04-29)
这个选项由来已久,对已经习惯原版操作或者单手残疾的人还是很有用的。取词方式有很多种,但并不是每一种对任何人任何系统都有效。保留这个功能,就多一种选择
还有,shift键不必翻译成偏移:
(commit a1b10b6已解决2023-04-29)
辛苦你们啦
保留 “pop” 分组下一个版本应该就可以了。
应该可以。
因为去年修 popup 其它一些问题的时候,想不出来使用的场景,也没有从网上找到相关的内容,原来做这个功能的人也没有解释,就没有重新实现
Overhaul ScanPopup by shenlebantongying · Pull Request #207 · xiaoyifang/goldendict-ng · GitHub
现在终于知道一个使用场景了。
另外这个功能和“选取一个词,然后 Ctrl+C+C
”是差不多的效果
效果相同但还是有细微差别的。
Ctrl + C + C要按两下C,显得不那么干脆利落(纯主观感受)。而且剪贴板有时候另有他用,不想每次取词后都覆盖剪贴板。
看了github上的讨论
It is also not so convenient too. After a time chosen by the user, the key no longer works, thus the user has to reselect and press it again.
我发现扫描旗标也有同样不方便的地方。它的显示时间只有一秒左右,这在多数情况下都够用。但由于旗标在某些应用中的显示位置有时候并不跟随鼠标,等鼠标移到旗标位置,刚要按下去,旗标就消失了,想查词就得重新选一遍。这种情况有一定的概率会出现。
鼠标选词直接翻译也有类似的时间不够用问题。选词过程中,鼠标稍微停顿一下就弹窗查词了,手速慢或者需要划一长段文字的时候就不太方便。改成等鼠标左键释放后再查词会不会更好?
之前的那个 Enable Scan popup functionality 的唯一作用就是让那个灯泡出现在工具栏,除此外没有用。
这个是取词功能的总开关(不影响剪贴板查词),关掉之后也会移除托盘图标上的取词菜单项。
屏幕取词和剪贴板查词虽然都使用了同一个弹窗,但他们其实是两个互不相干的功能。原版这方面的思路挺清晰的。
新版把二者混合,好像又引入了新问题?比如必须勾选屏幕取词中的剪贴板查词,不然在打开屏幕取词后就不能用Ctrl + C + C查词了。而勾选后只需要按一下Ctrl + C就会查词(不需要按两下C),快捷键不统一又给人带来困惑
(暂未处理 2023-05-14 )
这个对应的qt的版本是qt5,还是qt6? 菜单里面的 关于
不知道页内搜索方不方便增加简单的正则功能,比如下面截图里,我想搜never,而不是 nevertheless。其他场景如,搜索的两个词之间可能隔了几个单词这种,或者,出现单词A的那句话不要出现单词B。感觉这种只能正则来实现
不过感觉可能这种需求大概不是很普遍
p.s. 或者词典搜索框是否有可能增加一个正则选项
以为要等几天,原来分组记忆昨天已经连夜修复了,十分感谢!
后来发现在不同的应用中,取词过程中的停顿导致的反应还不一样,可以分成三种。这里补充几个录屏
(待定。 后续发现官方原版的这个commit Qt5.11+: Fix scanpopup&flag with multiple monitors · goldendict/goldendict@8302038 · GitHub 解决了旗标在某些应用中不跟随光标的问题,NG版暂未跟进2023-05-11)
1、在Calibre阅读器或VScode中,取词时鼠标停顿会弹窗查词,但是可以继续移动鼠标选词,最后松开鼠标可以查询到完整的选取内容:
2、在GoldenDict内部,鼠标停顿会弹窗查词,而且弹窗会夺取焦点,中断取词过程,移动鼠标无法继续选词:
3、在Firefox中,鼠标停顿不会弹窗,要等到最后松开鼠标,才会对所有选取的内容弹窗查词:
我以前常遇到第2种情况,弹窗打断了取词过程,比较难用,所以直接弃用这种取词方式了。要是都如1或3那样,倒不会有问题。但是这种取词方式有点捉摸不定,有可能在你那里又表现得很好,无法复现。那这个问题还有办法讨论吗?
也许前人为取词加上延迟确认键,是为了在复杂的环境中保留一种可以稳定实现的取词方式?(虽然剪贴板也很好,但确实有人不想占用它)
chrome不支持,所以webengine应该也不会支持。
关掉了“查询时,窗口获取焦点”,还把“自动定位到当前词典”也关了,问题依旧。
要是你那边不能复现就先搁置吧,我也用不到这种取词方式,只是顺便反馈一下异常情况。
如果“按键取词容许的延迟时间”容易实现还是希望能恢复,这并不是无用的功能
请问这是什么词典?谢谢。
f3或编辑词典导致崩溃的日志找到了,用的是五一的最新版:
Faulting application name: GoldenDict.exe, version: 23.5.1.0, time stamp: 0x644f49eb
Faulting module name: qtexttospeech_sapi.dll, version: 5.15.2.0, time stamp: 0x5fa51552
Exception code: 0xc0000005
Fault offset: 0x0000000000003894
Faulting process id: 0x3100
Faulting application start time: 0x01d97c297e058fad
Faulting application path: E:\GoldenDict\GoldenDict.exe
Faulting module path: E:\GoldenDict\plugins\texttospeech\qtexttospeech_sapi.dll
Report Id: fa6b3883-7931-4c0d-9c7d-27b00a59faf2
Faulting package full name:
Faulting package-relative application ID:
用这个版本, 崩溃后, goldendict.exe 所在目录下的 crash下面有个dmp文件。 压缩上传一下到这里。
16939b73-450f-456b-b664-aa6ea7e41e18.rar (38.0 KB)
压缩后的dmp文件
14 GoldenDict.exe!class std::unique_ptr<QTextToSpeech,std::default_delete<QTextToSpeech> > std::make_unique<QTextToSpeech,QString const &,0>(const class QString & const) [memory : 3382 + 0x39]
rsp = 0x00000097724f5d30 rip = 0x00007ff65ef9eacf
Found by: stack scanning
15 GoldenDict.exe!SpeechClient::availableEngines() [speechclient.cc : 18 + 0xf]
rsp = 0x00000097724f5d90 rip = 0x00007ff65ef9dd56
Found by: call frame info
16 GoldenDict.exe!TextToSpeechSource::TextToSpeechSource(QWidget *,QList<Config::VoiceEngine>) [texttospeechsource.cc : 16 + 0xd]
定位到了具体的报错行,但是不知道为什么报错。 附分析的文件。有兴趣的话,大家一起看下。
a.7z (13.3 KB)
可能跟这个有关https://blog.csdn.net/u011765923/article/details/100655385
用这个版本试一下 盲改了下
F3依旧闪退
感觉是不是tts缺少什么组件?目前知道是qtexttospeech出的问题,但是没法知道具体的原因。
原因应该就是因为我用的是阉割版的windows:
QTextToSpeech Win7奔溃_qtexttospeech 崩溃_善良大仙的博客-CSDN博客
QT中实现文字转语音其实很简单,但坑比较大,出了问题基本填不平,由于流通着大量的删减的windows系统,导致windows的TTS功能不能用,或者能用,但以各种莫名其妙的原因崩溃,网上也流传着很多TTS的修补包,但相信我,去i tell you上找一个全新的完整系统重装一下是弯路最少的。
大量测试后发现我这个系统最后一个不会出现F3崩溃的版本是6.4.3-GoldenDict.exe_windows-2019_20230323,0330就不行了
之前tts只有windows,mac
平台有 后来借助qtexttospeech改为跨平台了,qtexttospeech内部crash
后面想办法处理下
上面不是有标题吗?sound++和郎5啊
推荐给友人使用 goldendict,他用的Windows电脑,查词不出结果很奇怪
最新版本吗 ?貌似以前遇到过?原版可以吗
嗯,最新Windows版 他第一次用goldendict 原版没给他试试 他说到时候换台电脑试试
刚收到他的最新反馈:关闭重新打开了一下,现在正常了
先观察吧。。。。
您好!最近的版本,词典名称的底色都改变了,个人感觉在黑暗模式下与周边环境变得不协调了,觉得还是先前那种状态的挺好,请问:我个人能改回去吗?怎样改??谢谢。。。
只有当前词典的变了
是的,只在当前选中的词典变了。即使如此,给用户的感官也大不如前了。如果难以给用户提供先择,那就参考以前版本的那个效果就很好。不知为什么改了,以前的版本白色模式下也有底色,反转后黑暗模式下效果相当协调,但改后就不理想了。白色模式下一些很好的用色、底色,例如浅绿蓝等+黑字,在黑暗模式下反转后成了浅粉色+白字了,这个效果,对于视力不好的用户来说,不客气地说,一塌糊涂,无法忍受,目前的GD在查词拼写不正确的时候就是这个效果。希望注意在黑暗模式下使用底色的原则是:暗暗的色,例如,暗暗的深红、暗暗的深蓝、暗暗的深灰等,总之,有那么点意思就可以了,不要用那种太跳、太显眼的色彩。仅供参考。我现在用的是230418的版本,此后的版本也都下载了,但发现底色都改了,不喜欢,因此没用。但还是想“尝鲜”,今天忍不住提出了这个问题。如果是因为有更重要的需要而改变了的话,那就保持现状吧,众口难调呀!今后我就不“尝鲜”了,没关系,现在的这个版本也挺好的,很满意的。无论如何,您编译的GD,都是我的最爱。谢谢!!!
之前有人提 黑暗模式下 当前词典不明显 。所以改了
需要想个好点的方式处理
是不那么明显,我觉得反而不需要那么太明显,另外,在傍边的 Fouond in Dictionaries: 不也可以知道当前选中的字典吗?!如果您要特别照顾到这种需求的话,您在github说的这个方法可以:“ Or I can make this style only availabe on certain stylesheet such as modern style
”。这个是指 Preferences / Aarticle / Display style: modern 这里吗?如果是,这是个很不错的抉择,限定需要者的风格,兼顾其他人。众口难调啊,真难为您了,哈哈~~~。。。
或者,在原底色不变下,稍微提高一点字体亮度,兼顾看不清字体者和不喜欢新的底色者。
刚尝试在M1 macOS的Win11虚拟机(Parallels Desktop)里安装goldendict,打开直接黑屏,不知道什么情况
其他软件,暂未见类似情况
补充:
Intel版macOS虚拟机里安装是正常的,另外Intel版是win10虚拟机:VMware。
好了,230509新版本词典名称背景色又回复到了原来的样态,同时也看了 style: modern,这个用色也协调融合。感谢 #xiaoyifang 老师的及时应对。
发现两只小虫子
1、在查询面板或历史面板中做剪贴板取词时,主窗口的结果导航面板会发生混乱(被弹窗内容干扰)。
(commit 60d26e0 已解决2023-05-13)
2、在查询结果导航面板中,无法用键盘的上下键导航到所需的词典。
(commit 3a24a43 已解决2023-05-11)
原版无此问题
第一个 工具栏 把灯关了
第二个 貌似是特意改过 有的人不希望每次方向键都变动 上下键移动后 回车看下
对问题一,实测关灯后问题还在,复现方法:在查询面板中按Ctrl+C+C取词。
视频里是为了方便直观演示,才调成了剪贴板更新后直接取词。我知道避开这个问题的方法,但不管怎么操作,弹窗中的分组结果都不该出现在主窗口吧?
问题二,移动上下键后,实测回车无反应。
原版是这样的:在历史、收藏、查询、查询结果导航这四个面板中,按上下键都可以直接切换到对应的内容。这个规则简单且一致,很容易理解。
虽然可以用全局热键Alt+上下键,但是既然鼠标点击了导航面板,又按了上下键,那预期的结果就是要在查询结果中快速切换不同的词典吧?现在废掉了上下键导航,后续又没有回车键接应,有点尴尬
另外,刚才在测试上下键的时候又发现一个新问题:在查询面板中输入单词,按回车查词,此时再按上下键无法操作主窗口的内容上下滚动,按空格键也无法进行翻页。
(commit 967926c 已解决2023-05-13)
预期的结果是:按回车键查词后,用上下键可以滚动主页面,用空格键可以上下翻页。原版就是这样的。现在要额外用鼠标点击一下主窗口才能继续用键盘操作
这个问题录屏不方便演示,你先看看能不能复现吧
第一个问题 你选项里是不是有启用 发送词语 到主窗口
第二个问题中 回车之后 焦点的问题 有在跟进了
上下键左侧内容不变的情况 也是有操作场景的 后续调查下enter 键的问题
没有启用。你那边无法复现吗?我试了Windows版和Linux版,都可以稳定复现。
希望能照顾一下原版用户的习惯,不要改动太多快捷操作
第一个问题应该是bug,后续排查下,但是没重现出来。
快捷键原则上不会改动的,除非是漏了或者是结构调整失效了。或者有用户的一些建议,感觉合理的也会更改下。
这个在这里跟进 https://github.com/xiaoyifang/goldendict-ng/issues/660
这个暂时找不到原贴了。大概的case应该是这样的。 比如命中了4个词典,现在想看第4个词典的内容,移动方向键的时候,左侧一直变动,感觉不是需要的效果。
估计目前的处理的方式也有问题。 再重新考虑下交互的方式再调整。
我是这么理解的:如果已经确定要看的是第几本,那么鼠标移过去直接点击就是了。既然选择了上下键一个个移,那就让他一个个切换吧。原版的处理没有问题,就不要去动了
找了下代码改动,这个可以revert掉。等下个版本。
如果是上下切换词典,不是有其他快捷键吗(Alt + ↓ 和 Alt + ↑)
上下键还是保持默认比较好,焦点在内容的时候,上下键应该移动的是内容;焦点在词典列表的时候,上下键移动的才是词典(焦点在内容,还想切换词典,就应该用Alt + ↓ 和 Alt + ↑ );焦点在左侧候选词列表的时候,上下键应该在候选词上切换
我是这样理解的
不知道原因 虚拟机取消3d加速看下
revert后就会恢复成这个样子。如果不出意外的话
Parallels Desktop虚拟机 3d加速相关设置好像没有,以后再说吧,反正也不常在虚拟机里用goldendict
use a seperate group for this dictionary to avoid affect of other dictionary and check again.
I have no idea right now
seems a tricky issue.
The article view has lost the focus ,I think this is the reason.
https://github.com/xiaoyifang/goldendict-ng/issues/677
这个处理了。等后续版本。
回车之后 焦点的问题 有在跟进了
这个看代码是有特意设置焦点到页面的,不知道为什么没生效。估计要等一阵子了。
实际原因是sound_en里的发音文件本身有问题,把多个单词的发音压制在了同一个发音文件里,而goldendict读出了所有发音。
这个貌似不好两全, 回车后方向键可以用了, 右侧 history 面板的方向键就失效了。
请教一下,linux下最新的git pull之后,qmake-qt5 && make编译时遇到以下错误应该怎么办?
linking goldendict
lto1: 致命错误:bytecode stream in file ‘build/audiooutput.o’ generated with LTO version 12.0 instead of the expected 13.0
编译中断。lto-wrapper: 致命错误:g++ 以返回值 1 退出编译中断。/usr/bin/ld: error: lto-wrapper failed
collect2: 错误:ld 返回 1
make: *** [Makefile:1074:goldendict] 错误 1
把 build 目录删掉重编译
谢谢解惑,问题已解决
用了昨天的新版,前面提到的窗口焦点应该已经修复了,历史面板我这边表现正常。继续测试又发现了几个问题,如果方便的话请看下能不能复现
1、全文搜索的时候主窗口的查询导航面板失效(内容不刷新,一直显示之前的查询结果。稍早的版本没有这个问题) (commit 126e76e 已解决2023-05-14)
2、全文搜索的匹配数量比实际的少(实际搜到几十个,但数量那边只显示几个。不知道和懒加载有没有关系?) (暂未处理2023-05-18)
把这个问题极端化一下,就会出现这种情况:在查看收藏的书签时,如果页面内容多,书签又在比较靠后的位置时,有很大的概率会显示“找不到”
是不是页面加载和书签跳转发生了竞争?
其他无意中发现的问题,用上下键在收藏面板中移动, (暂未处理2023-05-18)
➀如果遇到书签(带~~~的内容),那么在移到书签的下一个条目后,窗口焦点会跳出收藏面板,上下键无法继续在词条间导航。
➁在光标移动到收藏面板第一个或最后一个条目时,再向上或向下移动一次,焦点也会跳出(稍早的版本比如4月30号的旧版没有这个问题)
这些问题有点琐碎,对日常使用没什么影响,可以等有时间再看,我怕干扰了OP的开发计划
查询导航面板可能跟修复的 弹窗有关系。 等下个版本。
方向键的问题,目前只是临时修改了下,各个控件之间争夺焦点。 暂时没有好办法。
是不是为了升级到webengine必须重写很多功能?我以为这些地方照搬原版就行了,想的简单了
5月以来,新版的版本号没有了。是因为只下载了 goldendict.exe 吗?
下载的是这个版本: GoldenDict-ng-v23.05.03-alpha.230513.acba4534
6.4.3.windows-2019-GoldenDict.exe
已经可以了。
辞海7 查 弥 字,释义显示不全
保存成html,把保存的html文件发上来。
楼主好,怎么样能把查询面板的宽度再缩小一些呢?目前好像是设定死了一个最小值,再缩小就不行了。
用的是demo的版本,直接用你git上的版本查“弥”字好像又没问题了,搞不懂了
你的意思是图片没显示是吗,用浏览器打开你的html能看见图片,如果gd看不到,估计是跨域问题。
图片是在线的。
demo的版本显示有问题,图片,文字都缺,你github上的版本没问题,只是不能播放视频
@xiaoyifang 您好,我安装“6.4.3-GoldenDict.exe_windows-2019_20230520-xapian.zip”版本之后重新做了索引(先把GoldenDict\portable\index目录下的文件清空),但是之后GoldenDict.exe就无法启动了,这可能会是什么原因呢?是因为词典数量太多了么?
这步不是必须的操作。
文件夹crash里面有dmp文件吗,有的话,发一个。
a7ebb94f-6052-4554-bdf8-1ddc80a49b34.zip (55.3 KB)
请帮忙给看一下,谢谢
谢谢!
刚试了一下,删除了所有 .dsl格式的德语词典,还是不行;
换用了“6.4.3-GoldenDict.exe_windows-2019_20230518-xapian.zip”版本,也是同样的问题(dmp文件附上)。奇怪的是,这个版本从前是可以用的,现在只是重新做了索引就不行了
24ded642-3fd1-4528-83a8-6577a3eda8c0.zip (54.0 KB)
Update一下:又换了非xapian的版本“ 6.4.3-GoldenDict.exe_windows-2022_20230514.zip”试了一下,还是同样的问题:索引之后程序退出,再打开后显示“Please wait while indexing”,之后马上退出
这几个版本之前都是可以用的。我每次升级都是下载zip包,然后用里面的文件覆盖替换GoldenDict目录下的文件。这次是因为看到index文件夹变得很臃肿,所以想把原先的index文件删除了重新做一次索引,没想到画蛇添足了
显示还是dsl的问题,能自己排查下词典范围吗,比如只放一本dsl词典看下,如果有问题,可以私发下dsl给我排查下。
试下 4月17日前的版本看下。
终于搞定了。
先把所有dsl格式的词典删除后重新做索引,问题依旧。
把新下载的GoldenDict zip文件解压到单独的文件夹,之后在里面新建portable文件夹,再把老GoldenDict文件夹下content里的词典分批拷贝过来(特意跳过了所有的dsl格式的词典),每拷贝完一批就建索引,做测试。折腾了一番终于能用了。
但还是有疑问,原先一直用的好好的,为啥重新建了一次索引就用不了了呢?
找到有问题的词典了吗
估计是之前覆盖程序文件的方式有问题。
后续可以下载zip包,把原先的content ,portable 拷贝过来。保持程序本身的清洁
多小比较好,有参考标准吗
最好做成和菁典一样可以自由缩放的。如果工程量太大,就改成原宽度的三分之二。 先谢谢了。
Ctrl+S
可以显隐
没有。看了一下,这几个dsl词典都是不太重要的,索性都删掉了以除后患
大概知道原因了
dsl还有的话 可以私发给我 我排查下
简单处理了
@random idea的方式有点复杂。
感谢。更新的版本放在哪里呢?
之前用的macOS这个GitHub workflow没有了吗?现在应该换成哪个
universal 的版本不在提供 目前只有homebrew版本
github 见1楼
已经下载覆盖原文件。挺好,就是要这个效果。查询框可以自由左右拉大拉小了。楼主辛苦了,感谢付出。
macOS 版本好像从 3 月后的更新出现无法默认 command + c + c 取词了,必须开启 scanning 复制取词了。也可能我的 macOS 还在 mojave 10.14 的玄学原因?觉得可能性不大。
Windows 上没这问题。
貌似需要启用asscessory什么的?
原来如此。在 security & privacy - accessibility 里删掉再加回果然可以了……
自230509以后的版本,对于查词窗口存在的单词不能点选了,只能划选。这对用GD学单词略感不便,还是能点选更好。如有可能,希望恢复原有的这一功能为盼。谢谢。。。
选项里有没有打开 点选 。
windows没重现。 是不是词典有什么 点击的 事件 。你的鼠标是箭头还是手掌, 点选的地方。
又看了下6.4.3-GoldenDict.exe_windows-2019_20230509-xapian版本,情况与6.4.3-GoldenDict.exe_windows-2022_20230509相同,点选有效,这个版本有crash文件夹,但也是空的。
截个图看下,不大明白
贴图上不去了,不知为什么。算了,我还是用230509那个时候的版本吧。今日提出这个问题,主要是因为有6.5.1-GoldenDict.exe了,升级了。谢谢。
请问这个6.5.1的版本在哪里下载
双击试下。。。。。。
我也发现了,之前如果输入框没有焦点,点击即可选择,现在需要手动选择,一时还没有适应
引入的,
用下面的版本试下
支持视频版本更新
仍在xiaoyifang github内,但不是每次更新都有,目前最新的是 6.5.1-GoldenDict.exe_windows-2019_20230606.zip
请教一下各位大佬,每次更新GlodenDict的时候,怎么才能保持更新前的词典排序和分组不变呢?
Goldendict的目录里面建个Portable文件夹
把它变成portabhle版的
是写在config文件里面的,排序和分组基本上不会变
你这只是简单的更新了主程序吧。把100多MB的下载下来覆盖就OK了
你看清楚,我说的是A大的版本
,不是楼主X大的
好的,我试试,感谢!
求助大神,为什么mac装了最新版Goldendict闪退(显示意外退出),不到五分钟就闪退。本机Ventura 13.3.1。已经在终端中尝试代码,降低安全性。
有什么操作 异常报告
或者是大家的mac都是用哪个版本?(或者用其他词典?)
把mac的安全性降到宽松,再重新安装,好像解决问题了
Time Awake Since Boot: 240 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000fc1e6d3516f8 → 0x00007c1e6d3516f8 (possible pointer authentication failure)
Exception Codes: 0x0000000000000001, 0x0000fc1e6d3516f8
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [873]
VM Region Info: 0x7c1e6d3516f8 is not in any region. Bytes after previous region: 30916469921529 Bytes before following region: 4208669157640
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL …(unallocated)
—> GAP OF 0x1ff235700000 BYTES
MALLOC_LARGE 7ff255700000-7ff2565d8000 [ 14.8M] rw-/rwx SM=PRV
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 0x104ae16c8 ???
1 QtWebKit 0x1119ceca1 0x111529000 + 4873377
2 QtWebKit 0x1119ceca1 0x111529000 + 4873377
3 QtWebKit 0x1119c961e 0x111529000 + 4851230
4 QtWebKit 0x11180814f 0x111529000 + 3010895
5 QtWebKit 0x111807571 0x111529000 + 3007857
6 QtWebKit 0x1117d9b99 0x111529000 + 2821017
7 QtWebKit 0x1117d98f2 0x111529000 + 2820338
8 QtWebKit 0x1117ee350 0x111529000 + 2904912
9 QtWebKit 0x1117f041b 0x111529000 + 2913307
10 QtWebKit 0x1117eb70c 0x111529000 + 2893580
11 QtWebKit 0x1117f0411 0x111529000 + 2913297
12 QtWebKit 0x11156cd60 QWebPageAdapter::deletePage() + 32
13 QtWebKitWidgets 0x10d260071 0x10d254000 + 49265
14 QtWebKitWidgets 0x10d2601ae 0x10d254000 + 49582
15 QtWebKitWidgets 0x10d263fc2 QWebPage::~QWebPage() + 34
16 QtWebKitWidgets 0x10d26a141 0x10d254000 + 90433
17 QtWebKitWidgets 0x10d26a188 0x10d254000 + 90504
18 QtWebKitWidgets 0x10d26a5fd QWebView::~QWebView() + 45
19 GoldenDict 0x10450eb4e ArticleWebView::~ArticleWebView() + 14
20 QtCore 0x10f3a3f18 QObjectPrivate::deleteChildren() + 200
21 QtWidgets 0x10d83956d QWidget::~QWidget() + 1053
22 QtWidgets 0x10d8f344e QFrame::~QFrame() + 14
23 QtCore 0x10f3a3f18 QObjectPrivate::deleteChildren() + 200
24 QtWidgets 0x10d83956d QWidget::~QWidget() + 1053
25 GoldenDict 0x1045115ae ArticleView::~ArticleView() + 14
26 QtCore 0x10f3a3f18 QObjectPrivate::deleteChildren() + 200
27 QtWidgets 0x10d83956d QWidget::~QWidget() + 1053
28 QtWidgets 0x10d9c34ce QStackedWidget::~QStackedWidget() + 14
29 QtCore 0x10f3a3f18 QObjectPrivate::deleteChildren() + 200
30 QtWidgets 0x10d83956d QWidget::~QWidget() + 1053
31 GoldenDict 0x10454717e 0x104367000 + 1966462
32 QtCore 0x10f3a3f18 QObjectPrivate::deleteChildren() + 200
33 QtWidgets 0x10d83956d QWidget::~QWidget() + 1053
34 QtWidgets 0x10d839e4e QWidget::~QWidget() + 14
35 QtCore 0x10f3a3f18 QObjectPrivate::deleteChildren() + 200
36 QtWidgets 0x10d83956d QWidget::~QWidget() + 1053
37 GoldenDict 0x1043705e1 main + 4273
38 dyld 0x204a1941f start + 1903
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffcd3694 0x7ff7ffccf000 + 18068
Thread 2:
0 runtime 0x7ff7ffcf187c 0x7ff7ffccf000 + 141436
Thread 3:
0 runtime 0x7ff7ffcf187c 0x7ff7ffccf000 + 141436
Thread 4:
0 runtime 0x7ff7ffcf187c 0x7ff7ffccf000 + 141436
Thread 5:: com.apple.CFSocket.private
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5e5282 __select + 10
2 CoreFoundation 0x7ff80f71e342 __CFSocketManager + 617
3 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 6:: Qt bearer thread
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5e329e poll + 10
2 QtCore 0x10f3ce260 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 112
3 QtCore 0x10f3cfa39 QEventDispatcherUNIX::processEvents(QFlagsQEventLoop::ProcessEventsFlag) + 857
4 QtCore 0x10f3779ee QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 398
5 QtCore 0x10f1b97c2 QThread::exec() + 114
6 QtCore 0x10f1bd6dc 0x10f192000 + 177884
7 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 7:: caulk.messenger.shared:17
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5dc52e semaphore_wait_trap + 10
2 caulk 0x7ff81935d07e caulk::semaphore::timed_wait(double) + 150
3 caulk 0x7ff81935cf9c caulk::concurrent::details::worker_thread::run() + 30
4 caulk 0x7ff81935ccb0 void* caulk::thread_proxy<std::__1::tuple<caulk::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread*>>(void) + 41
5 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
6 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 8:
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 ??? 0x11b70cce3 ???
4 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 9:
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
Thread 10:
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
Thread 11:: JavaScriptCore::BlockFree
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7050 0x111529000 + 17424464
4 QtWebKit 0x11289da0f 0x111529000 + 20400655
5 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
6 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 12:: JavaScriptCore::Marking
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7ec7 0x111529000 + 17428167
4 QtWebKit 0x1125c7f53 0x111529000 + 17428307
5 QtWebKit 0x11289da0f 0x111529000 + 20400655
6 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 13:: JavaScriptCore::Marking
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7ec7 0x111529000 + 17428167
4 QtWebKit 0x1125c7f53 0x111529000 + 17428307
5 QtWebKit 0x11289da0f 0x111529000 + 20400655
6 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 14:: JavaScriptCore::Marking
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7ec7 0x111529000 + 17428167
4 QtWebKit 0x1125c7f53 0x111529000 + 17428307
5 QtWebKit 0x11289da0f 0x111529000 + 20400655
6 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 15:: JavaScriptCore::Marking
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7ec7 0x111529000 + 17428167
4 QtWebKit 0x1125c7f53 0x111529000 + 17428307
5 QtWebKit 0x11289da0f 0x111529000 + 20400655
6 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 16:: JavaScriptCore::Marking
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7ec7 0x111529000 + 17428167
4 QtWebKit 0x1125c7f53 0x111529000 + 17428307
5 QtWebKit 0x11289da0f 0x111529000 + 20400655
6 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 17:: JavaScriptCore::Marking
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtWebKit 0x1125c7ec7 0x111529000 + 17428167
4 QtWebKit 0x1125c7f53 0x111529000 + 17428307
5 QtWebKit 0x11289da0f 0x111529000 + 20400655
6 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 18:: com.apple.NSEventThread
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5dc5b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff80f5ea72d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff80f5e35e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff80f5dc89a mach_msg + 19
5 CoreFoundation 0x7ff80f6f6b70 __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x7ff80f6f55fb __CFRunLoopRun + 1365
7 CoreFoundation 0x7ff80f6f4a4c CFRunLoopRunSpecific + 560
8 AppKit 0x7ff812846909 _NSEventThread + 132
9 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 19:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bef06 0x10f192000 + 184070
4 QtCore 0x10f1bec5b 0x10f192000 + 183387
5 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
6 QtCore 0x10f1ba5ee 0x10f192000 + 165358
7 QtCore 0x10f1bd6dc 0x10f192000 + 177884
8 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 20:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bef06 0x10f192000 + 184070
4 QtCore 0x10f1bec5b 0x10f192000 + 183387
5 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
6 QtCore 0x10f1ba5ee 0x10f192000 + 165358
7 QtCore 0x10f1bd6dc 0x10f192000 + 177884
8 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 21:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bec7b 0x10f192000 + 183419
4 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
5 QtCore 0x10f1ba5ee 0x10f192000 + 165358
6 QtCore 0x10f1bd6dc 0x10f192000 + 177884
7 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 22:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bec7b 0x10f192000 + 183419
4 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
5 QtCore 0x10f1ba5ee 0x10f192000 + 165358
6 QtCore 0x10f1bd6dc 0x10f192000 + 177884
7 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 23:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bec7b 0x10f192000 + 183419
4 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
5 QtCore 0x10f1ba5ee 0x10f192000 + 165358
6 QtCore 0x10f1bd6dc 0x10f192000 + 177884
7 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 24:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bec7b 0x10f192000 + 183419
4 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
5 QtCore 0x10f1ba5ee 0x10f192000 + 165358
6 QtCore 0x10f1bd6dc 0x10f192000 + 177884
7 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 25:: Thread (pooled)
0 ??? 0x7ff89f1e69a8 ???
1 libsystem_kernel.dylib 0x7ff80f5df0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff80f61b758 _pthread_cond_wait + 1242
3 QtCore 0x10f1bec7b 0x10f192000 + 183419
4 QtCore 0x10f1bec0c QWaitCondition::wait(QMutex*, unsigned long) + 156
5 QtCore 0x10f1ba5ee 0x10f192000 + 165358
6 QtCore 0x10f1bd6dc 0x10f192000 + 177884
7 libsystem_pthread.dylib 0x7ff80f61b1d3 _pthread_start + 125
8 libsystem_pthread.dylib 0x7ff80f616bd3 thread_start + 15
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000fc1e6d351610 rbx: 0x00006000022e6400 rcx: 0x0000000000000005 rdx: 0x0000000086640061
rdi: 0x00006000004b1610 rsi: 0x000000000000001f rbp: 0x000000030ce789e0 rsp: 0x000000030ce789b8
r8: 0x00000000000000aa r9: 0x00000000000000a9 r10: 0x0000000000002400 r11: 0x0000600000483988
r12: 0x0000000000000001 r13: 0x0000000000000000 r14: 0x000060000004b820 r15: 0x00006000022e6280
rip: rfl: 0x0000000000000202
tmp0: 0x0000000104ae16b0 tmp1: 0x00000001119ceca1 tmp2: 0x0000000113610ac0
Binary Images:
0x204a13000 - 0x204aaefff dyld () /usr/lib/dyld
0x7ff7ffccf000 - 0x7ff7ffcfefff runtime () /usr/libexec/rosetta/runtime
0x10c8d4000 - 0x10c927fff libRosettaRuntime () <73cd5d0d-71d4-353e-9740-af3964d9a4ae> /Library/Apple//libRosettaRuntime
0x104367000 - 0x1047a7fff org.goldendict.pro (3.1) <802a485d-21f6-3860-9446-71c267c7867e> /Users/USER/Desktop/GoldenDict.app/Contents/MacOS/GoldenDict
0x10ce5b000 - 0x10ce5efff libgd_core.dylib () /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/libgd_core.dylib
0x10cebf000 - 0x10cef3fff org.qt-project.QtSvg (5.9) /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtSvg.framework/Versions/5/QtSvg
0x10d7fe000 - 0x10dc4bfff org.qt-project.QtWidgets (5.9) <8add9913-5a1d-3332-a98b-da4289da147d> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
0x10e588000 - 0x10e996fff org.qt-project.QtGui (5.9) <48f53c6f-ab70-38d8-8d0c-23d231570bbf> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtGui.framework/Versions/5/QtGui
0x10f192000 - 0x10f667fff org.qt-project.QtCore (5.9) <5707becd-d069-37f3-80c4-14ea4e0ee300> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
0x10cf7e000 - 0x10cfa9fff org.qt-project.QtPrintSupport (5.9) <65778db9-bd13-384c-a2c8-7b9cee553fa0> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport
0x10d07b000 - 0x10d0bafff org.qt-project.QtHelp (5.9) <3a373b4d-0ff5-3f45-ba23-6e4d25ca6f30> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtHelp.framework/Versions/5/QtHelp
0x10d156000 - 0x10d178fff org.qt-project.QtSql (5.9) <83c31d31-bd9e-3c04-899a-51dbed128b78> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtSql.framework/Versions/5/QtSql
0x10d254000 - 0x10d277fff org.qt-project.QtWebKitWidgets (5.9) /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets
0x111529000 - 0x112b8cfff org.qt-project.QtWebKit (5.9) <67bf06bc-caf9-35cb-a130-29cd43925f4b> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtWebKit.framework/Versions/5/QtWebKit
0x10d437000 - 0x10d537fff org.qt-project.QtNetwork (5.9) <89c56159-3f84-30ca-971b-1e2e8b2ba599> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtNetwork.framework/Versions/5/QtNetwork
0x10d2f2000 - 0x10d30afff org.qt-project.QtSensors (5.9) <7a458460-7a96-3217-93f9-f73a88de1f8d> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtSensors.framework/Versions/5/QtSensors
0x10d361000 - 0x10d39efff org.qt-project.QtPositioning (5.9) <464f3501-55f7-304f-9238-5d2e124801a8> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtPositioning.framework/Versions/5/QtPositioning
0x10d01e000 - 0x10d02ffff org.qt-project.QtMultimediaWidgets (5.9) <89394802-5069-379a-9d77-ef5c3de2d897> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtMultimediaWidgets.framework/Versions/5/QtMultimediaWidgets
0x10fd19000 - 0x10fd8efff org.qt-project.QtMultimedia (5.9) <85221bae-2329-3773-83c9-f51434743aa2> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtMultimedia.framework/Versions/5/QtMultimedia
0x10fede000 - 0x10ff11fff org.qt-project.QtOpenGL (5.9) <71f0c607-2f8d-3ec9-b3db-193761baa946> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtOpenGL.framework/Versions/5/QtOpenGL
0x11033e000 - 0x1105e1fff org.qt-project.QtQuick (5.9) <3860214f-4968-36ac-bd67-01e90e0f7607> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtQuick.framework/Versions/5/QtQuick
0x110c04000 - 0x110ecffff org.qt-project.QtQml (5.9) <252c5f34-8009-30bb-9ffc-13c44a9059c5> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtQml.framework/Versions/5/QtQml
0x10d1dc000 - 0x10d1f0fff org.qt-project.QtWebChannel (5.9) <17c354d0-ceba-32d5-b184-04905aadf23c> /Users/USER/Desktop/GoldenDict.app/Contents/Frameworks/QtWebChannel.framework/Versions/5/QtWebChannel
0x116f8b000 - 0x1170ddfff libqcocoa.dylib () /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/platforms/libqcocoa.dylib
0x11a8a7000 - 0x11a8b6fff libobjc-trampolines.dylib () <897a6cf2-c56d-3dd0-97fc-a533d6d7ff79> /usr/lib/libobjc-trampolines.dylib
0x11aa15000 - 0x11aa1cfff libqgenericbearer.dylib () <2d83b021-9e72-31e1-b431-82ceb55c1bf4> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/bearer/libqgenericbearer.dylib
0x11aa3f000 - 0x11aa45fff libqgif.dylib () <26f2fe02-d3ca-34e7-9a25-1e1a0c5581e7> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqgif.dylib
0x11aa63000 - 0x11aa6afff libqicns.dylib () <6671958e-b9e3-344c-a23e-fbf1f3e52ff0> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqicns.dylib
0x11aa7e000 - 0x11aa83fff libqico.dylib () <638c27fa-62b0-3048-ba29-0a105fb68d91> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqico.dylib
0x11aad7000 - 0x11ab12fff libqjpeg.dylib () <2d12f74c-d829-3aa5-b046-159792bea559> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqjpeg.dylib
0x11aa96000 - 0x11aa9afff libqmacjp2.dylib () <05e6fb5f-0bf2-3f4f-9f80-6968ca04ea2b> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqmacjp2.dylib
0x11aaa8000 - 0x11aaacfff libqsvg.dylib () /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqsvg.dylib
0x11aabb000 - 0x11aabffff libqtga.dylib () <2eca0a8b-e505-3c79-ac67-d1136b6456da> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqtga.dylib
0x11abe1000 - 0x11ac45fff libqtiff.dylib () <88be2246-5019-322d-b534-3b2e66ef4715> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqtiff.dylib
0x11ab75000 - 0x11ab79fff libqwbmp.dylib () <287a790f-1ab6-34df-87e7-88d2162e4e5b> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqwbmp.dylib
0x11ad59000 - 0x11ade8fff libqwebp.dylib () <83e9ed02-2f8d-3d01-ba11-eeb45d52ec13> /Users/USER/Desktop/GoldenDict.app/Contents/PlugIns/imageformats/libqwebp.dylib
0x1102ae000 - 0x1102b2fff libgdp.adp.bass.dylib () <3e0526b6-0de5-34d5-9955-c1492ca6ba1f> /Users/USER/Desktop/GoldenDict.app/Contents/MacOS/gdp/libgdp.adp.bass.dylib
0x12f3ea000 - 0x12f3eefff libgdp.gsc.fromcliboard.dylib () <8cab5ee1-791b-3388-a3b0-6046eab4928f> /Users/USER/Desktop/GoldenDict.app/Contents/MacOS/gdp/libgdp.gsc.fromcliboard.dylib
0x12fbb7000 - 0x1301e8fff libgdp.ocr.tesseract.dylib () /Users/USER/Desktop/GoldenDict.app/Contents/MacOS/gdp/libgdp.ocr.tesseract.dylib
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x7ff80f5db000 - 0x7ff80f614ff7 libsystem_kernel.dylib () <08606a44-7008-3658-9f00-6c250b80e9c3> /usr/lib/system/libsystem_kernel.dylib
0x7ff80f67a000 - 0x7ff80fb14fff com.apple.CoreFoundation (6.9) <9ba40f2c-8716-3a1a-873b-f576ccc44fe6> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff80f615000 - 0x7ff80f620fff libsystem_pthread.dylib () <86dfa543-95fa-36b4-83c6-bf03d01b2aad> /usr/lib/system/libsystem_pthread.dylib
0x7ff81935b000 - 0x7ff81937fff3 com.apple.audio.caulk (1.0) <5cb78fb4-56ec-336b-89da-f443d5ea6387> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x7ff8126a8000 - 0x7ff8136afff0 com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
上面的版本应该是goldendict++ 的版本吧。 不是本贴的版本。
请问本帖的版本在哪里下?因为我不知道去哪里找mac版,就去https://autoptr.top/gdocr/GoldenDict-OCR-Changelog/这里找的
地址一直在第一楼
太感谢了!我再去试试。多谢!
Process: GoldenDict [3953]
Path: /Applications/GoldenDict.app/Contents/MacOS/GoldenDict
Identifier: org.goldendict
Version: 23.06 (???)
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-06-13 07:59:55.6770 +0800
OS Version: macOS 13.3.1 (22E772610a)
Report Version: 12
Anonymous UUID: B0962066-60E9-5C75-16B4-4A58150E9D53
Sleep/Wake UUID: 990820C0-D365-4F81-8510-7027204CEEC9
Time Awake Since Boot: 5000 seconds
Time Since Wake: 1039 seconds
System Integrity Protection: disabled
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000070
Exception Codes: 0x0000000000000001, 0x0000000000000070
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [3953]
VM Region Info: 0x70 is not in any region. Bytes before following region: 140722814812048
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
—>
mapped file 7ffc95638000-7ffca3ae4000 [228.7M] r-x/r-x SM=COW …t_id=4e9dcc4b
Kernel Triage:
VM - (arg = 0x0) pmap_enter retried due to resource shortage
VM - (arg = 0x0) pmap_enter retried due to resource shortage
闪退是由于,比如点击修改字体。目前在导入词典文件,这时候软件显示进行全文检索。再点击词典又闪退了。
错误信息拷贝全。
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 QtCore 0x113f500dc QEventLoop::exit(int) + 12
1 QtWidgets 0x10f68fc81 QDialogPrivate::setVisible(bool) + 769
2 QtWidgets 0x10f68ee33 QDialog::~QDialog() + 35
3 GoldenDict 0x1024f960b MainWindow::editPreferences() + 1675
4 QtCore 0x113f95495 0x113ed8000 + 775317
5 QtGui 0x112335b2d QAction::activate(QAction::ActionEvent) + 397
6 QtCore 0x113f8d906 QObject::event(QEvent*) + 598
7 QtWidgets 0x10f440367 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 247
8 QtWidgets 0x10f44118c QApplication::notify(QObject*, QEvent*) + 508
9 QtCore 0x113f4673a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 170
10 QtCore 0x113f4790c QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 1468
11 libqcocoa.dylib 0x116f98166 0x116f80000 + 98662
12 libqcocoa.dylib 0x116f98b9d 0x116f80000 + 101277
13 CoreFoundation 0x7ff8086f2a36 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
14 CoreFoundation 0x7ff8086f29d9 __CFRunLoopDoSource0 + 157
15 CoreFoundation 0x7ff8086f27b6 __CFRunLoopDoSources0 + 217
16 CoreFoundation 0x7ff8086f143a __CFRunLoopRun + 916
17 CoreFoundation 0x7ff8086f0a4c CFRunLoopRunSpecific + 560
18 HIToolbox 0x7ff812622fcd RunCurrentEventLoopInMode + 292
19 HIToolbox 0x7ff812622dde ReceiveNextEventCommon + 657
20 HIToolbox 0x7ff812622b38 _BlockUntilNextEventMatchingListInModeWithFilter + 64
21 AppKit 0x7ff80b6e27a0 _DPSNextEvent + 858
22 AppKit 0x7ff80b6e164a -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1214
23 AppKit 0x7ff80b6d3cb8 -[NSApplication run] + 586
24 libqcocoa.dylib 0x116f975b7 0x116f80000 + 95671
25 QtCore 0x113f4ff36 QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) + 486
26 QtCore 0x113f46d27 QCoreApplication::exec() + 119
27 GoldenDict 0x102485ee8 main + 6824
28 dyld 0x202aeb41f start + 1903
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffdbf694 0x7ff7ffdbb000 + 18068
Thread 2:: Dispatch queue: com.apple.root.user-interactive-qos
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d8546 semaphore_timedwait_trap + 10
2 libdispatch.dylib 0x7ff808476582 _dispatch_sema4_timedwait + 72
3 libdispatch.dylib 0x7ff8084769cd _dispatch_semaphore_wait_slow + 58
4 AppKit 0x7ff80c07ad02 __22-[NSCGSLocalFence set]_block_invoke_2 + 147
5 QuartzCore 0x7ff8104555c6 CA::Transaction::run_commit_handlers(CATransactionPhase) + 98
6 QuartzCore 0x7ff8105fa3b7 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 877
7 QuartzCore 0x7ff810454213 CA::Transaction::commit() + 713
8 AppKit 0x7ff80b72e4ad NSPerformVisuallyAtomicChange + 154
9 AppKit 0x7ff80baf8a04 __30-[NSAnimation _runInNewThread]_block_invoke + 80
10 libdispatch.dylib 0x7ff808474d91 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x7ff808476033 _dispatch_client_callout + 8
12 libdispatch.dylib 0x7ff8084860f6 _dispatch_root_queue_drain + 683
13 libdispatch.dylib 0x7ff808486768 _dispatch_worker_thread2 + 170
14 libsystem_pthread.dylib 0x7ff808613c0f _pthread_wqthread + 257
15 libsystem_pthread.dylib 0x7ff808612bbf start_wqthread + 15
Thread 3:
0 runtime 0x7ff7ffddd87c 0x7ff7ffdbb000 + 141436
Thread 4:
0 runtime 0x7ff7ffddd87c 0x7ff7ffdbb000 + 141436
Thread 5:: com.apple.CFSocket.private
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085e1282 __select + 10
2 CoreFoundation 0x7ff80871a342 __CFSocketManager + 617
3 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
4 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 6:: ThreadPoolServiceThread
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085e1e16 kevent64 + 10
2 QtWebEngineCore 0x12ac47174 0x12631a000 + 76730740
3 QtWebEngineCore 0x12ac4700f 0x12631a000 + 76730383
4 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
5 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
6 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
7 QtWebEngineCore 0x12abf694d 0x12631a000 + 76400973
8 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
9 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
10 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
11 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 7:: ThreadPoolForegroundWorker
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac03266 0x12631a000 + 76452454
8 QtWebEngineCore 0x12ac02e5d 0x12631a000 + 76451421
9 QtWebEngineCore 0x12ac02d4f 0x12631a000 + 76451151
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 8:: ThreadPoolBackgroundWorker
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac03266 0x12631a000 + 76452454
8 QtWebEngineCore 0x12ac02dcd 0x12631a000 + 76451277
9 QtWebEngineCore 0x12ac02d74 0x12631a000 + 76451188
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 9:: Chrome_IOThread
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085e1e16 kevent64 + 10
2 QtWebEngineCore 0x12ac47174 0x12631a000 + 76730740
3 QtWebEngineCore 0x12ac4700f 0x12631a000 + 76730383
4 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
5 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
6 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
7 QtWebEngineCore 0x1292b8fb2 0x12631a000 + 49934258
8 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
9 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
10 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
11 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 10:: NetworkConfigWatcher
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac40def 0x12631a000 + 76705263
7 QtWebEngineCore 0x12ab6a11d 0x12631a000 + 75825437
8 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
9 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
10 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
11 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
12 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
13 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
14 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 11:: ThreadPoolForegroundWorker
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac03266 0x12631a000 + 76452454
8 QtWebEngineCore 0x12ac02e5d 0x12631a000 + 76451421
9 QtWebEngineCore 0x12ac02d4f 0x12631a000 + 76451151
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 12:: Chrome_InProcGpuThread
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac40def 0x12631a000 + 76705263
7 QtWebEngineCore 0x12ab6a11d 0x12631a000 + 75825437
8 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
9 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
10 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
11 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
12 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
13 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
14 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 13:: Chrome_ChildIOThread
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085e1e16 kevent64 + 10
2 QtWebEngineCore 0x12ac47174 0x12631a000 + 76730740
3 QtWebEngineCore 0x12ac4700f 0x12631a000 + 76730383
4 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
5 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
6 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
7 QtWebEngineCore 0x12d8343b2 0x12631a000 + 122790834
8 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
9 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
10 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
11 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 14:: CompositorTileWorker1
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtWebEngineCore 0x12ac38802 0x12631a000 + 76670978
4 QtWebEngineCore 0x12cf8aa55 0x12631a000 + 113707605
5 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
6 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
7 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 15:: ThreadPoolSingleThreadSharedForeground0
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac02f94 0x12631a000 + 76451732
8 QtWebEngineCore 0x12ac02e8d 0x12631a000 + 76451469
9 QtWebEngineCore 0x12ac02d88 0x12631a000 + 76451208
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 16:: NetworkConfigWatcher
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac40def 0x12631a000 + 76705263
7 QtWebEngineCore 0x12ab6a11d 0x12631a000 + 75825437
8 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
9 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
10 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
11 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
12 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
13 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
14 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 17:: VizCompositorThread
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac40def 0x12631a000 + 76705263
7 QtWebEngineCore 0x12ab6a11d 0x12631a000 + 75825437
8 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
9 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
10 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
11 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
12 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
13 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
14 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 18:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 19:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 20:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 21:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 22:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 23:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 24:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 25:: Thread (pooled)
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085db0ee __psynch_cvwait + 10
2 libsystem_pthread.dylib 0x7ff808617758 _pthread_cond_wait + 1242
3 QtCore 0x1140e4fac 0x113ed8000 + 2150316
4 QtCore 0x1140e4cae 0x113ed8000 + 2149550
5 QtCore 0x1140e4bfe QWaitCondition::wait(QMutex*, QDeadlineTimer) + 94
6 QtCore 0x1140defd5 0x113ed8000 + 2125781
7 QtCore 0x1140daab3 0x113ed8000 + 2108083
8 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
9 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 26:: com.apple.NSEventThread
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 CoreFoundation 0x7ff8086f2b70 __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x7ff8086f15fb __CFRunLoopRun + 1365
7 CoreFoundation 0x7ff8086f0a4c CFRunLoopRunSpecific + 560
8 AppKit 0x7ff80b842909 _NSEventThread + 132
9 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 27:: NetworkService
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085e1e16 kevent64 + 10
2 QtWebEngineCore 0x12ac47174 0x12631a000 + 76730740
3 QtWebEngineCore 0x12ac4700f 0x12631a000 + 76730383
4 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
5 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
6 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
7 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
8 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
9 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
10 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 28:: NetworkConfigWatcher
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac40def 0x12631a000 + 76705263
7 QtWebEngineCore 0x12ab6a11d 0x12631a000 + 75825437
8 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
9 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
10 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
11 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
12 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
13 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
14 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 29:: ThreadPoolSingleThreadForegroundBlocking1
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac03266 0x12631a000 + 76452454
8 QtWebEngineCore 0x12ac02ebd 0x12631a000 + 76451517
9 QtWebEngineCore 0x12ac02d7e 0x12631a000 + 76451198
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 30:: ThreadPoolBackgroundWorker
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac03266 0x12631a000 + 76452454
8 QtWebEngineCore 0x12ac02dcd 0x12631a000 + 76451277
9 QtWebEngineCore 0x12ac02d74 0x12631a000 + 76451188
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 31:: MemoryInfra
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac40def 0x12631a000 + 76705263
7 QtWebEngineCore 0x12ab6a11d 0x12631a000 + 75825437
8 QtWebEngineCore 0x12abe8c61 0x12631a000 + 76344417
9 QtWebEngineCore 0x12aba07f5 0x12631a000 + 76048373
10 QtWebEngineCore 0x12ac0fbe8 0x12631a000 + 76504040
11 QtWebEngineCore 0x12ac0fd7a 0x12631a000 + 76504442
12 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
13 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
14 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 32:: ThreadPoolSingleThreadSharedBackgroundBlocking2
0 ??? 0x7ff8981e29a8 ???
1 libsystem_kernel.dylib 0x7ff8085d85b2 mach_msg2_trap + 10
2 libsystem_kernel.dylib 0x7ff8085e672d mach_msg2_internal + 78
3 libsystem_kernel.dylib 0x7ff8085df5e4 mach_msg_overwrite + 692
4 libsystem_kernel.dylib 0x7ff8085d889a mach_msg + 19
5 QtWebEngineCore 0x12ac41026 0x12631a000 + 76705830
6 QtWebEngineCore 0x12ac026df 0x12631a000 + 76449503
7 QtWebEngineCore 0x12ac02f94 0x12631a000 + 76451732
8 QtWebEngineCore 0x12ac02dfd 0x12631a000 + 76451325
9 QtWebEngineCore 0x12ac02d9c 0x12631a000 + 76451228
10 QtWebEngineCore 0x12ac39e98 0x12631a000 + 76676760
11 libsystem_pthread.dylib 0x7ff8086171d3 _pthread_start + 125
12 libsystem_pthread.dylib 0x7ff808612bd3 thread_start + 15
Thread 33:
0 runtime 0x7ff7ffddd87c 0x7ff7ffdbb000 + 141436
Thread 34:
0 runtime 0x7ff7ffddd87c 0x7ff7ffdbb000 + 141436
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000308e707d8 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000113f8d9c0
rdi: 0x0000000308e6d000 rsi: 0x0000000000000000 rbp: 0x0000000308e6cfb0 rsp: 0x0000000308e6cfb0
r8: 0x00007fc0316d6a08 r9: 0x8e38e38e38e38e39 r10: 0x0000000000000008 r11: 0x00007fc0316d6a08
r12: 0x0000000308e6d050 r13: 0x0000000000000000 r14: 0x00007fc002c20100 r15: 0x0000000308e6cfd0
rip: rfl: 0x0000000000000283
tmp0: 0x000000011455e508 tmp1: 0x00000001101247c0 tmp2: 0x0000000113f500d0
还是我,非常不好意思,被限制发言了。这里是完整文本
错误信息.docx (37.0 KB)
非常感谢!
手动分割——
还是报错
错误信息2.docx (37.4 KB)
没看出问题,是在 preference选项 里面 操作,闪退的吗。
是的,然后现在
正在索引,如果我再点击“编辑”→“辞典”,也会闪退。
就是点击preference里的“词典字体”就闪退了
等索引完了看下。 是必现,还是有条件出现?
点击了某些地方就会闪退,比如修改字体,辞典,还有查词时的一些按键
——继续分割
索引完毕继续报错,最开始以为是安全策略的问题 ,结果好像不是:
错误报告3(System Integrity Protectiondisabled).docx (39.2 KB)
错误报告4(System Integrity Protection- enabled).docx (36.7 KB)
总结错误:闪退情况:点击preference修改文字+点击词典(无法进入词典选项进行分组等设置)+点击某些词典按键。另外,划词时显示:
其余情况,基本查询正常
感觉都跟修改 preference有关, 怎么点击词典的。能不能录个屏看下。
大概猜测了问题的地方。需要进一步确认。
您好,这是我目前遇到的问题。这是录屏,文件太大,百度网盘链接: 百度网盘 请输入提取码 提取码: ih43
–来自百度网盘超级会员v4的分享
之前有人反馈过了 受content-visibility样式影响
可以自定义样式 把他去掉看下
.gdarticle
{
display: block;
padding-top: 1px;
margin-top: -8px;
margin-bottom: 8px;
/*fix for invalid blg*/
font-style:normal;
/* content-visibility: auto; */
/* contain-intrinsic-height: auto 600px; */
}
谢谢A大更新!!
大佬您好,请问是否可以解决?现在就是无法进行偏好设置,其他好像都挺正常。我刚刚又能够进入“词典”,但是无法进行分组,我只要建立新组,拖动词典就会闪退。
Crash on macos 13.4 when auto-grouping · Issue #854 · xiaoyifang/goldendict-ng (github.com)
没有macos电脑,只能慢慢看了。
发现新版相比上一版启动时间变得很慢,cpu占用长时间在17%左右,过了至少有两分钟才降下去,以前启动时间没有这么长的
而且新词典的索引时间也明显加长,试着删了某个词典的索引,然后重建,发现一部mdx和mdd加起来只有1m多的词典,也索引了有几分钟。
另外,不知这个session collapse是指什么呢?
多谢!我自己再看看
自定义样式具体要怎么操作
Mac编辑词典就崩溃,崩溃日志见下。
Goldendict 23.06.02-alpha.230610.ca4664f2
macos darwin 22.5.0 Qt 6.5.1 x86_64-little_endian-lp64
Clang 14.0.0 (clang-1400.0.29.202)
Flags: USE_XAPIAN MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT
GoldenDict崩溃.txt (109.6 KB)
全文搜索如果可以按词典分别开启就好了,不知道容易实现吗?
跟上面反馈的貌似是同一个 你是怎么编辑的
如何还有问题的话, 发下异常。
这种问题,没法速改。 目前貌似只在mac13发现。
依然如此。
GoldenDict-2023-06-13-171623.txt (126.1 KB)
意思是不是默认折叠,只有在浏览到某个词典时才加载?
如果折叠,就保持折叠。
折叠了,就默认不加载了是吗
点击展开的时候再开始加载
加载,不展示。
那感觉是不是就失去了折叠的意义了 maybe it’s just me
更新:仔细想了下,gd加载性能不慢,哪怕全部加载。所以这种折叠从性能考虑影响不大。也许是个小众需求
感谢大佬,我再摸索摸索
反馈个建议:
词典栏里词典少的时候,只显示图标,不显示词典名字列表,如下图:
可以增加让词典栏总是显示词典名字的选项吗(不管词典多少都显示名字,因为看着很多图标真的无法区分哪个是哪个,非常不方便)
另外下面的词典名字列表好像不是从第一个词典开始的,如果增加总是显示词典名称的选项最好从第一个词典开始
菜单里有这个功能了。
刚看到了。嗯,这个可以满足需求了,hh
还是不行,还是崩溃。
Goldendict 23.06.02-alpha.230610.ca4664f2
macos darwin 22.5.0 Qt 6.5.1 x86_64-little_endian-lp64
Clang 14.0.0 (clang-1400.0.29.202)
Flags: USE_XAPIAN MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT
设备是Macbook Pro 14 M1 pro
系统是13.4 (22F66)
CB13B839-2AE0-4482-8A84-60FDB534B159.zip (6.3 KB)
闪退日志.txt (103.0 KB)
暂时没辙了。 异常发一份上来看看。后续我启用breakpad
启用了breakpad ,用这个,产生了异常后,应该会在配置文件夹的crash目录里有一个dmp文件,把dmp文件传一下。
66147E8D-B9C7-4525-B6AB-69B8F0570EA5.dmp.zip (6.5 KB)
因为无法上传原文档,只能压损上传。
这是用了最新版后的崩溃日志,你看看。现在不是闪退,而是长时间不响应,只能强制退出。
辛苦了,我看下,这个dmp是配置文件下crash目录的吗
碰到一个奇怪的需求,mdx源码里应该怎么引用html文件才能被goldendict打开?
目前是这么引用的,goldendict无法引用到(Text目录存在mdd里,该目录下有多个html文件,):
<a href="./Text/text00018.html">xxx</a>
重新索引这本词典。
这种 a标签的应该是不可以的,如果用 a标签,需要有一个 词条 是 ./Text/text00018.html
倒是可以特别定义一种类型用于支持这种形式,比如 res:./Text/text00018.html,主要还是看这种需求是否是一个强需求。
感谢,这问题已经解决
我也是第一次碰到这种需求,估计后面不会有太多这种需求。不知道其他人有没有这种需求。
因为通常情况下电子书里的跳转都是通过锚点,偶尔有一两个跳转居然是通过上面那种html文件来实现跳转…
css里设置了文本选择的样式,手动选择的时候生效了。不过Ctrl+F查找输入框里查找关键词,匹配的文字没有匹配这个样式,是不是这个需要设置goldendict级别的css?
黄色文字是手动选中;黑色文字是“查找”匹配的文字:
::selection {
color: yellow;
background: #0005;
}
更新:
在portable目录下的 article-style.css 和 qt-style.css 都设置了上面的::selection 不过没有生效
看上面的意思,ctrl+F的背景css是没法修改的。
Goldendict-ng 23.06.02-alpha.230617.0ab7a83d
Qt 6.5.1 Clang 14.0.0 (clang-1400.0.29.202)macos darwin 22.5.0 x86_64-little_endian-lp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT
在GitHub下载了最新版,不过显示还是这一版。然后编辑吃点要么闪退要么无响应,在设置中更改字体也是无响应。
闪退.txt (113.1 KB)
82AC90E6-33A4-490D-8A33-DAF62958E676.zip (7.4 KB)
用6.4.3的版本试下
果然切换到6.4.3就没问题了。
大佬,怎么实现类似 chatGPT api 在 GoldenDict 上使用呢。
Windows上没法重现。
鼠标慢慢穿过红框这两个边界的时候,弹窗都必消失。不知道是不是对这两个分界线的位置做了什么特殊处理。
补充:把这四个面板全部隐藏以后,也就是上面两个分界线都没有了以后,弹窗就不再消失了。
如果你的鼠标穿过了这个边界,是不是也离开了词典栏的区域。
截了个动图,更直观一些
应该是 Qt 的 bug,而且是默认的 mac 样式有这个 bug,在 fusion 里面没有
/Applications/GoldenDict.app/Contents/MacOS/GoldenDict --style fusion
感谢告知。不知道有没有方法可以默认以fusion的方式打开goldendict,先临时解决一下
感谢,mac用户问题已解决,6.4.3使用体验很好!第一次用goldendict,太强了!再次感谢。
你好,請問綠色版怎麽設置呢?
如果你說的綠色版的意思是 “Portable mode”,那需要在 goldendict.exe 旁邊建一個叫 portable
的文件夾
Goldendict-ng 23.06.02-alpha.20230626.062ced92
Qt 6.5.1 Visual C++ Compiler 192930151windows winnt 10.0.22621 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT
这版 GoldenDict 查图片词典速度好慢,慢到影响体验了,希望能优化下
处理了,,,,,,
应该是引擎的问题,改用QT5,速度会好些,但也有延迟(依然没有官方快、也没GoldenDict++快):
还有一个功能诉求,就是支持多标签页查词,不同标签页互不干扰(可以使用不同词典分组),像浏览器一样。
脚本自动打包的,不应该有病毒。估计杀毒软件有问题,可以反馈给微软
想问各位,mac版的gd有没有即指即译功能?帖子里面是不是都是windows版?
求敎:
我下載了 6.4.3-GoldenDict_macos-13_homebrew_20230702.dmg,但系統提示是「intel」的,這是怎麼囘事?
6.4.3-GoldenDict_macos-12_homebrew_20230702.dmg
6.4.3-GoldenDict_macos-13_homebrew_20230702.dmg
macos-12 和 macos-13 的區別是甚麼?網頁上好像沒有說清楚。
因为都没有ARM原生编译,都是转译的。
记得之前有个universal版本,好像是arm编译?不知道为啥后来取消了
是這樣啊。那「macos-12」和「macos-13」是甚麼區別啊?
6.4.3-GoldenDict_macos-12_homebrew_20230702.dmg
6.4.3-GoldenDict_macos-13_homebrew_20230702.dmg
MacOS是12.x就用12_Homebrew的版本。跨版本可能会直接启动失败,因为有可能Homebrew安装的依赖版本不一致。
明白了,多謝告知!
最新版是不是换了程序包名,以前通过第三方app设置的快捷键好像都失效了
你这个collapse_expand_area是不是在右上角?试试左上角的主题。
图片没有指定大小,造成的?
定位到的那个词典不是图片词典,不过改了下耗时大的几个词典,加载速度提升很明显。这个可能影响不太大
我用的左上角主题
看截图里的位置,展开收起文章的图标是在右上角,这个图标向右平移了30个距离。这个位移不正常。
这个位置的图标不会被词典内部样式影响,应该是有JS脚本在干扰。
请问有macos的安装包么?我好像没找到
点开 Assets ,有macos的版本。
请问一下,linux下用github里最新的pull编译Qt5的版本,选项qmake-qt5 “CONFIG+=chinese_conversion_support” “CONFIG+=use_iconv”,在查词的时候通常出现闪退的情况,可以怎么解决?
以下是七次闪退时终端返回的错误信息
1.
====reading 1154 of (1154) bytes . Finished: 0
malloc(): unaligned tcache chunk detected
已放弃 (核心已转储)
2.
====reading 1206 of (1206) bytes . Finished: 0
QRegularExpressionPrivate::doMatch(): called on an invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
段错误 (核心已转储)
3.
QString::replace: invalid QRegularExpression object
段错误 (核心已转储)
4.
free(): corrupted unsorted chunks
已放弃 (核心已转储)
5.
====reading 16384 of (329509) bytes . Finished: 0
段错误 (核心已转储)
6.
malloc_consolidate(): unaligned fastbin chunk detected
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
QString::replace: invalid QRegularExpression object
已放弃 (核心已转储)
7.
alts = 0
alts = 0
alts = 0
段错误 (核心已转储)
可以试一下加 “CONFIG+=debug” 然后 gdb ./build_dir/goldendict
输入 run
等闪退的时候输入 backtrace
可以看到具体是哪里的问题,把 backtrace 的结果复制粘贴几份看看。
(我在 Qt5 上复现不出来,每次崩溃的信息不一样也好怪呀)。
谢谢提供这么详细的步骤。下面截取了三次backtrace的结果
(gdb) backtrace
#0 0x00005555556ec941 in qFromUnaligned<unsigned int>(void const*) (src=0x7fff9bfdcc58) at /usr/include/qt/QtCore/qendian.h:88
#1 qFromBigEndian<unsigned int>(void const*) (src=0x7fff9bfdcc58) at /usr/include/qt/QtCore/qendian.h:272
#2 0x00005555556e9bad in Mdict::MdictParser::parseCompressedBlock(long long, char const*, long long, QByteArray&)
(compressedBlockSize=10619, compressedBlockPtr=0x7fff9bfdcc58 <error: Cannot access memory at address 0x7fff9bfdcc58>, decompressedBlockSize=65085, decompressedBlock=...) at src/dict/mdictparser.cc:220
#3 0x00005555556f4bfd in Mdx::MdxDictionary::loadArticle(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool)
(this=0x7fff1c0ddb70, offset=11110704, articleText=<error reading variable: Cannot access memory at address 0x7ffeecbf8468>, noFilter=false) at src/dict/mdx.cc:888
#4 0x00005555556f2f23 in Mdx::MdxArticleRequest::run() (this=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x7ffeecbf8348
#5 0x00005555556fb57d in Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}::operator()() const
(__closure=0x555557667920) at src/dict/mdx.cc:548
#6 0x000055555570677a in QtConcurrent::StoredFunctorCall0<void, Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}>::runFunctor() (this=0x555557667900) at /usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#7 0x00005555555c3e67 in QtConcurrent::RunFunctionTask<void>::run() (this=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x7ffeecbf8588
#8 0x00007fffec0f8281 in QThreadPoolThread::run() (this=0x555555fceb90) at thread/qthreadpool.cpp:100
#9 0x00007fffec0f34da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
--Type <RET> for more, q to quit, c to continue without paging--
#11 QThreadPrivate::start(void*) (arg=<error reading variable: Cannot access memory at address 0x7ffeecbf8618>) at thread/qthread_unix.cpp:310
#12 0x00007fffeba9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007fffebb20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) backtrace
#0 0x00007fffd824a7ba in ()
#1 0x00007fffdc1b36b0 in jit_machine_stack_exec (arguments=arguments@entry=0x7ffed77fc990, executable_func=<optimized out>) at src/pcre2_jit_match.c:57
#2 0x00007fffdc1ba434 in pcre2_jit_match_16
(code=code@entry=0x7ffec40024e0, subject=subject@entry=0x7ffec4023e28, length=length@entry=7, start_offset=start_offset@entry=0, options=options@entry=0, match_data=match_data@entry=0x7ffec403cba0, mcontext=0x7ffec4000cf0)
at src/pcre2_jit_match.c:168
#3 0x00007fffdc1bb12f in pcre2_match_16 (code=<optimized out>, subject=0x7ffec4023e28, length=7, start_offset=0, options=0, match_data=<optimized out>, mcontext=0x7ffec4000cf0) at src/pcre2_match.c:6550
#4 0x00007fffec18cc57 in safe_pcre2_match_16(pcre2_code_16 const*, unsigned short const*, int, int, int, pcre2_match_data_16*, pcre2_match_context_16*)
(code=0x7ffec40024e0, subject=0x7ffec4023e28, length=7, startOffset=0, options=0, matchData=0x7ffec403cba0, matchContext=0x7ffec4000cf0) at text/qregularexpression.cpp:1205
#5 0x00007fffec18d14a in QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlags<QRegularExpression::MatchOption>, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const
(this=0x555555c58e20, subject=..., subjectStart=subjectStart@entry=0, subjectLength=7, offset=offset@entry=0, matchType=matchType@entry=QRegularExpression::NormalMatch, matchOptions=..., checkSubjectStringOption=QRegularExpressionPrivate::CheckSubjectString, previous=0x0) at text/qregularexpression.cpp:1305
#6 0x00007fffec18d451 in QRegularExpression::match(QString const&, int, QRegularExpression::MatchType, QFlags<QRegularExpression::MatchOption>) const
(this=this@entry=0x555555c110f8 <RX::markSpace>, subject=..., offset=offset@entry=0, matchType=matchType@entry=QRegularExpression::NormalMatch, matchOptions=matchOptions@entry=...) at text/qregularexpression.cpp:1713
#7 0x00007fffec18d735 in QRegularExpression::globalMatch(QString const&, int, QRegularExpression::MatchType, QFlags<QRegularExpression::MatchOption>) const
(this=0x555555c110f8 <RX::markSpace>, subject=..., offset=0, matchType=QRegularExpression::NormalMatch, matchOptions=...) at text/qregularexpression.cpp:1777
#8 0x00007fffec17533f in QString::replace(QRegularExpression const&, QString const&) (this=0x7ffed77fcff8, re=..., after=...) at text/qstring.cpp:4134
#9 0x00005555555d0c95 in QString::remove(QRegularExpression const&) (this=0x7ffed77fcff8, re=...) at /usr/include/qt/QtCore/qstring.h:598
#10 0x000055555560d2e3 in Folding::apply(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool) (in=U"zymotic", preserveWildcards=false) at src/common/folding.cc:26
#11 0x00005555555effd3 in BtreeIndexing::BtreeIndex::findChainOffsetExactOrPrefix(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool&, std::vector<char, std::allocator<char> >&, unsigned int&, char const*&)
(this=0x7fff1c298528, target=U"ᠵᠠᠢᠳᠠᠯᠠᠭ ᠠ", exactMatch=@0x7ffed77fd253: false, extLeaf=std::vector of length 7870, capacity 7870 = {...}, nextLeaf=@0x7ffed77fd254: 0, leafEnd=@0x7ffed77fd258: 0x7ffec403eade "")
at src/btreeidx.cc:687
#12 0x00005555555eda79 in BtreeIndexing::BtreeIndex::findArticles(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool)
(this=0x7fff1c298528, search_word=U"ᠵᠠᠢᠳᠠᠯᠠᠭ ᠠ", ignoreDiacritics=false) at src/btreeidx.cc:86
#13 0x00005555556f2ca2 in Mdx::MdxArticleRequest::run() (this=0x555556b352a0) at src/dict/mdx.cc:580
#14 0x00005555556fb57d in Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}::operator()() const
(__closure=0x555556be9210) at src/dict/mdx.cc:548
#15 0x000055555570677a in QtConcurrent::StoredFunctorCall0<void, Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}>::runFunctor() (this=0x555556be91f0) at /usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#16 0x00005555555c3e67 in QtConcurrent::RunFunctionTask<void>::run() (this=0x555556be91f0) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:142
#17 0x00007fffec0f8281 in QThreadPoolThread::run() (this=0x555555fcea50) at thread/qthreadpool.cpp:100
#18 0x00007fffec0f34da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#19 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
--Type <RET> for more, q to quit, c to continue without paging--
#20 QThreadPrivate::start(void*) (arg=0x555555fcea50) at thread/qthread_unix.cpp:310
#21 0x00007fffeba9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#22 0x00007fffebb20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) backtrace
#0 QRecursiveMutexPrivate::lock(int) (timeout=-1, this=0x4700000053) at thread/qmutex.cpp:773
#1 QMutex::lock() (this=<optimized out>) at thread/qmutex.cpp:235
#2 0x00007fffec1895ee in QMutexLocker::QMutexLocker(QBasicMutex*) (m=0x555555c58e30, this=<synthetic pointer>, this=<optimized out>, m=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:257
#3 QRegularExpressionPrivate::compilePattern() (this=0x555555c58e20) at text/qregularexpression.cpp:1012
#4 0x00007fffec1898e0 in QRegularExpression::isValid() const (this=0x555555c110f8 <RX::markSpace>) at text/qregularexpression.cpp:1654
#5 0x00007fffec1752ee in QString::replace(QRegularExpression const&, QString const&) (this=0x7fff9b7fcff8, re=..., after=...) at text/qstring.cpp:4128
#6 0x00005555555d0c95 in QString::remove(QRegularExpression const&) (this=0x7fff9b7fcff8, re=...) at /usr/include/qt/QtCore/qstring.h:598
#7 0x000055555560d2e3 in Folding::apply(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool) (in=U"zögelen böged mirii e tu", preserveWildcards=false)
at src/common/folding.cc:26
#8 0x00005555555effd3 in BtreeIndexing::BtreeIndex::findChainOffsetExactOrPrefix(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool&, std::vector<char, std::allocator<char> >&, unsigned int&, char const*&)
(this=0x7fff1c500008, target=U"харшөл", exactMatch=@0x7fff9b7fd253: false, extLeaf=std::vector of length 2753, capacity 2753 = {...}, nextLeaf=@0x7fff9b7fd254: 145535, leafEnd=@0x7fff9b7fd258: 0x7fff840349f1 "")
at src/btreeidx.cc:687
#9 0x00005555555eda79 in BtreeIndexing::BtreeIndex::findArticles(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool)
(this=0x7fff1c500008, search_word=U"хар шөл", ignoreDiacritics=false) at src/btreeidx.cc:86
#10 0x00005555556f2ca2 in Mdx::MdxArticleRequest::run() (this=0x555557e59e50) at src/dict/mdx.cc:580
#11 0x00005555556fb57d in Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}::operator()() const
(__closure=0x5555576564e0) at src/dict/mdx.cc:548
#12 0x000055555570677a in QtConcurrent::StoredFunctorCall0<void, Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}>::runFunctor() (this=0x5555576564c0) at /usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#13 0x00005555555c3e67 in QtConcurrent::RunFunctionTask<void>::run() (this=0x5555576564c0) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:142
#14 0x00007fffec0f8281 in QThreadPoolThread::run() (this=0x55555668e490) at thread/qthreadpool.cpp:100
#15 0x00007fffec0f34da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#16 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#17 QThreadPrivate::start(void*) (arg=0x55555668e490) at thread/qthread_unix.cpp:310
#18 0x00007fffeba9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#19 0x00007fffebb20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
好奇怪呀,每次报错的具体位置都不太一样,1 是在解压 mdx 数据块,2 和 3个只是在读取 index 时用 regex 删空格但是具体错误相差很大。
最近相关的代码好像没有改动过,试着 git checkout 一个月或者两个月之前的版本也会有同样的问题嘛(或者直接下载几个 appimage 版本试一下?)?如果和版本无关会不会是 index 文件 corrupt 掉了,试着删一下 ~/.cache/goldendict/index/
? 或者先只添加一本 mdx 排出一下特定词典的问题?
要不再贴几个 backtrace (最好是查同一个词来减少变量)
上面mdx的问题,会不会是mdx的版本是最新的mdxbuilder创建的?
另外qt5的版本是多少
Qt 5.15.10。mdx都是我用mdict-utils打包的
fix/reg-unicode
试下这个分支
我试了一下您说的branch,闪退的频率稍微降低了一些。我还注意到了另一个问题,有少部分的词不知为何查询不到,我检查了mdx文件,词条确实是存在的
下面是三次traceback的结果
(gdb) backtrace
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007fffeba9f2d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007fffeba4fa08 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007fffeba38538 in __GI_abort () at abort.c:79
#4 0x00007fffeba392db in __libc_message (fmt=fmt@entry=0x7fffebbb3515 "%s\n") at ../sysdeps/posix/libc_fatal.c:150
#5 0x00007fffebaa91b7 in malloc_printerr (str=str@entry=0x7fffebbb6420 "free(): corrupted unsorted chunks") at malloc.c:5651
#6 0x00007fffebaab484 in _int_free (av=0x7ffef4000030, p=0x7ffef40ba010, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4616
#7 0x00007fffebaadcb3 in __GI___libc_free (mem=<optimized out>) at malloc.c:3367
#8 0x00007fffec14232b in QTypedArrayData<char>::deallocate(QArrayData*) (data=<optimized out>, data=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:240
#9 QByteArray::operator=(QByteArray const&) (this=0x7fff283a54f8, other=...) at text/qbytearray.cpp:1216
#10 0x00007fffec1316f6 in QRingChunk::assign(QByteArray const&) (qba=..., this=0x7fff283a54f8) at ../../include/QtCore/5.15.10/QtCore/private/../../../../../src/corelib/tools/qringbuffer_p.h:164
#11 QRingChunk::clear() (this=0x7fff283a54f8) at ../../include/QtCore/5.15.10/QtCore/private/../../../../../src/corelib/tools/qringbuffer_p.h:174
#12 QRingBuffer::clear() (this=0x7fff283a54b8) at tools/qringbuffer.cpp:241
#13 QRingBuffer::clear() (this=0x7fff283a54b8) at tools/qringbuffer.cpp:235
#14 0x00007fffec1f64b2 in QIODevice::seek(long long) (this=0x7fff28410780, pos=22064933) at io/qiodevice.cpp:901
#15 0x00007fffec1e9e43 in QFileDevice::seek(long long) (this=0x7fff28410780, off=22064933) at io/qfiledevice.cpp:412
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x0000555555605722 in File::Class::seek(long long) (this=0x7fff28410780, offset=22064933) at src/common/file.cc:156
#17 0x00005555555ef591 in BtreeIndexing::BtreeIndex::readNode(unsigned int, std::vector<char, std::allocator<char> >&) (this=0x7fff28410718, offset=22064933, out=std::vector of length 0, capacity 0) at src/btreeidx.cc:437
#18 0x00005555555efcd9 in BtreeIndexing::BtreeIndex::findChainOffsetExactOrPrefix(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool&, std::vector<char, std::allocator<char> >&, unsigned int&, char const*&)
(this=0x7fff28410718, target=U"ирэхдолоохоногт", exactMatch=@0x7fff07ffe253: false, extLeaf=std::vector of length 0, capacity 0, nextLeaf=@0x7fff07ffe254: 21845, leafEnd=@0x7fff07ffe258: 0x7ffef80dac43 "")
at src/btreeidx.cc:624
#19 0x00005555555eda40 in BtreeIndexing::BtreeIndex::findArticles(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool, unsigned int)
(this=0x7fff28410718, search_word=U"ирэх долоо хоногт", ignoreDiacritics=false, maxMatchCount=4294967295) at src/btreeidx.cc:87
#20 0x00005555556f2d08 in Mdx::MdxArticleRequest::run() (this=0x555556acbe60) at src/dict/mdx.cc:580
#21 0x00005555556fb5f5 in Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}::operator()() const
(__closure=0x555556acc090) at src/dict/mdx.cc:548
#22 0x00005555557067f2 in QtConcurrent::StoredFunctorCall0<void, Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}>::runFunctor() (this=0x555556acc070) at /usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#23 0x00005555555c3e27 in QtConcurrent::RunFunctionTask<void>::run() (this=0x555556acc070) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:142
--Type <RET> for more, q to quit, c to continue without paging--
#24 0x00007fffec0f8281 in QThreadPoolThread::run() (this=0x555555fcbe30) at thread/qthreadpool.cpp:100
#25 0x00007fffec0f34da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#26 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#27 QThreadPrivate::start(void*) (arg=0x555555fcbe30) at thread/qthread_unix.cpp:310
#28 0x00007fffeba9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#29 0x00007fffebb20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb) backtrace
#0 0x00007fffdc18d154 in sljit_free_exec (ptr=0x99286d22dc8bbe51) at src/sljit/sljitExecAllocator.c:348
#1 0x00007fffdc177c26 in sljit_free_code (exec_allocator_data=0x0, code=<optimized out>) at src/sljit/sljitLir.c:516
#2 _pcre2_jit_free_16 (memctl=<optimized out>, executable_jit=<optimized out>) at src/pcre2_jit_misc.c:92
#3 pcre2_code_free_16 (code=0x7fff080014b0) at src/pcre2_compile.c:1271
#4 0x00007fffec18cf05 in QRegularExpressionPrivate::cleanCompiledPattern() (this=0x555555c58e20) at text/qregularexpression.cpp:999
#5 QRegularExpressionPrivate::~QRegularExpressionPrivate() (this=0x555555c58e20, this=<optimized out>) at text/qregularexpression.cpp:968
#6 QExplicitlySharedDataPointer<QRegularExpressionPrivate>::~QExplicitlySharedDataPointer() (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:184
#7 QExplicitlySharedDataPointer<QRegularExpressionPrivate>::~QExplicitlySharedDataPointer() (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:184
#8 QRegularExpression::~QRegularExpression() (this=<optimized out>, this=<optimized out>) at text/qregularexpression.cpp:1504
#9 0x00007fffec18d693 in QRegularExpressionMatchPrivate::~QRegularExpressionMatchPrivate() (this=0x7ffefc087230, this=<optimized out>) at text/qregularexpression.cpp:894
#10 QSharedDataPointer<QRegularExpressionMatchPrivate>::~QSharedDataPointer() (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:93
#11 QSharedDataPointer<QRegularExpressionMatchPrivate>::~QSharedDataPointer() (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:93
#12 QRegularExpressionMatch::~QRegularExpressionMatch() (this=<optimized out>, this=<optimized out>) at text/qregularexpression.cpp:2148
#13 0x00007fffec18d8ff in QRegularExpressionMatchIteratorPrivate::~QRegularExpressionMatchIteratorPrivate() (this=0x7ffefc000dc0, this=<optimized out>) at text/qregularexpression.cpp:924
#14 QSharedDataPointer<QRegularExpressionMatchIteratorPrivate>::~QSharedDataPointer() (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:93
#15 QSharedDataPointer<QRegularExpressionMatchIteratorPrivate>::~QSharedDataPointer() (this=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:93
#16 QRegularExpressionMatchIterator::~QRegularExpressionMatchIterator() (this=<optimized out>, this=<optimized out>) at text/qregularexpression.cpp:2658
#17 0x00007fffec175357 in QString::replace(QRegularExpression const&, QString const&) (this=<optimized out>, re=<optimized out>, after=<optimized out>) at text/qstring.cpp:4234
#18 0x00005555555d0c55 in QString::remove(QRegularExpression const&) (this=0x7fff1129fff8, re=...) at /usr/include/qt/QtCore/qstring.h:598
#19 0x000055555560d2e9 in Folding::apply(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool) (in=U"㓥车", preserveWildcards=false) at src/common/folding.cc:26
#20 0x00005555555eff9f in BtreeIndexing::BtreeIndex::findChainOffsetExactOrPrefix(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool&, std::vector<char, std::allocator<char> >&, unsigned int&, char const*&)
(this=0x7fff20385048, target=U"долоохоно", exactMatch=@0x7fff112a0253: false, extLeaf=std::vector of length 17084, capacity 17084 = {...}, nextLeaf=@0x7fff112a0254: 877654, leafEnd=@0x7fff112a0258: 0x7ffefc0d398c "གསུམqv\024") at src/btreeidx.cc:689
#21 0x00005555555eda40 in BtreeIndexing::BtreeIndex::findArticles(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool, unsigned int)
(this=0x7fff20385048, search_word=U"долоо хоно", ignoreDiacritics=false, maxMatchCount=4294967295) at src/btreeidx.cc:87
#22 0x00005555556f2da3 in Mdx::MdxArticleRequest::run() (this=0x555557df20d0) at src/dict/mdx.cc:584
#23 0x00005555556fb5f5 in Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}::operator()() const
(__closure=0x555557d3df40) at src/dict/mdx.cc:548
#24 0x00005555557067f2 in QtConcurrent::StoredFunctorCall0<void, Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1--Type <RET> for more, q to quit, c to continue without paging--
}>::runFunctor() (this=0x555557d3df20) at /usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#25 0x00005555555c3e27 in QtConcurrent::RunFunctionTask<void>::run() (this=0x555557d3df20) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:142
#26 0x00007fffec0f8281 in QThreadPoolThread::run() (this=0x555555fc7ce0) at thread/qthreadpool.cpp:100
#27 0x00007fffec0f34da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#28 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#29 QThreadPrivate::start(void*) (arg=0x555555fc7ce0) at thread/qthread_unix.cpp:310
#30 0x00007fffeba9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#31 0x00007fffebb20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007fffeba9f2d3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007fffeba4fa08 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007fffeba38538 in __GI_abort () at abort.c:79
#4 0x00007fffeba392db in __libc_message (fmt=fmt@entry=0x7fffebbb3515 "%s\n") at ../sysdeps/posix/libc_fatal.c:150
#5 0x00007fffebaa91b7 in malloc_printerr (str=str@entry=0x7fffebbb62d8 "free(): double free detected in tcache 2") at malloc.c:5651
#6 0x00007fffebaab6ae in _int_free (av=0x7fff10000030, p=0x7fff100a1bc0, have_lock=have_lock@entry=0) at malloc.c:4459
#7 0x00007fffebaadcb3 in __GI___libc_free (mem=<optimized out>) at malloc.c:3367
#8 0x00005555555dbc93 in std::__new_allocator<char32_t>::deallocate(char32_t*, unsigned long) (this=0x7ffefcffa1e0, __p=0x7fff100a1bd0 U"", __n=6) at /usr/include/c++/13.1.1/bits/new_allocator.h:168
#9 0x00005555555d8499 in std::allocator_traits<std::allocator<char32_t> >::deallocate(std::allocator<char32_t>&, char32_t*, unsigned long) (__n=6, __p=0x7fff100a1bd0 U"", __a=...) at /usr/include/c++/13.1.1/bits/alloc_traits.h:516
#10 std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_destroy(unsigned long) (this=0x7ffefcffa1e0, __size=5) at /usr/include/c++/13.1.1/bits/basic_string.h:302
#11 0x00005555555d5cde in std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::_M_dispose() (this=0x7ffefcffa1e0) at /usr/include/c++/13.1.1/bits/basic_string.h:296
#12 0x00005555555d237e in std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >::~basic_string() (this=0x7ffefcffa1e0, __in_chrg=<optimized out>) at /usr/include/c++/13.1.1/bits/basic_string.h:805
#13 0x00005555555eff6b in BtreeIndexing::BtreeIndex::findChainOffsetExactOrPrefix(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool&, std::vector<char, std::allocator<char> >&, unsigned int&, char const*&)
(this=0x7fff3440fd88, target=U"тамага", exactMatch=@0x7ffefcffa253: false, extLeaf=std::vector of length 6865, capacity 6865 = {...}, nextLeaf=@0x7ffefcffa254: 0, leafEnd=@0x7ffefcffa258: 0x7fff10303451 "\3655\020\377\177")
at src/btreeidx.cc:687
#14 0x00005555555eda40 in BtreeIndexing::BtreeIndex::findArticles(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, bool, unsigned int)
(this=0x7fff3440fd88, search_word=U"тамага", ignoreDiacritics=false, maxMatchCount=4294967295) at src/btreeidx.cc:87
#15 0x00005555556f2d08 in Mdx::MdxArticleRequest::run() (this=0x555557e8dad0) at src/dict/mdx.cc:580
#16 0x00005555556fb5f5 in Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}::operator()() const
(__closure=0x555557e8dce0) at src/dict/mdx.cc:548
#17 0x00005555557067f2 in QtConcurrent::StoredFunctorCall0<void, Mdx::MdxArticleRequest::MdxArticleRequest(std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > const&, std::vector<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> >, std::allocator<std::__cxx11::basic_string<char32_t, std::char_traits<char32_t>, std::allocator<char32_t> > > > const&, Mdx::MdxDictionary&, bool)::{lambda()#1}>::runFunctor() (this=0x555557e8dcc0) at /usr/include/qt/QtConcurrent/qtconcurrentstoredfunctioncall.h:70
#18 0x00005555555c3e27 in QtConcurrent::RunFunctionTask<void>::run() (this=0x555557e8dcc0) at /usr/include/qt/QtConcurrent/qtconcurrentrunbase.h:142
#19 0x00007fffec0f8281 in QThreadPoolThread::run() (this=0x555557a03320) at thread/qthreadpool.cpp:100
#20 0x00007fffec0f34da in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#21 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at thread/qthread_unix.cpp:287
#22 QThreadPrivate::start(void*) (arg=0x555557a03320) at thread/qthread_unix.cpp:310
#23 0x00007fffeba9d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#24 0x00007fffebb20e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
谢谢您提供的思路。 我的~/.cache/goldendict/
文件夹下没有index子文件夹,所以我就把~/.cache/goldendict/
整个都删掉了。闪退频率只有很小的下降。我在分组里只放一本词典,查词时也会闪退,特别是查一个没有的词的时候更容易闪退。用 xiaoyifang建议的fix/reg-unicode分支,闪退频率也只有很小的下降(新的traceback在上一楼)。appimage版本,我无法打开(以前也打不开),以下是终端返回的错误信息:
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GLib-GObject-CRITICAL **: 17:07:08.552: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_bin_add_many: assertion 'GST_IS_ELEMENT (element_1)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_element_link_many: assertion 'GST_IS_ELEMENT (element_1)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
(AppRun.wrapped:319113): GStreamer-CRITICAL **: 17:07:08.552: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
段错误 (核心已转储)
可能的话 能提供下词典吗 , 因为是自制的词典,词典里面可以包含几个词条。 方便复现下
一个建议:
能否给Ctrl+C+C后的弹窗查词增加独立的Ctrl + F搜索。现在弹窗上Ctrl + F 直接在主窗口上操作的
确认焦点在弹框,因为直接打字都输入到弹框的输入框里了。
补充:切换词典的快捷键在弹框里好像失效了,不知道跟ctrl+f没有查找对话框有没有关系
补充2: 上下方向键可以移动弹框里的内容
原来一直有这个功能… 我还以为没有这功能(毕竟搜索应该属于核心功能)
为啥macOS系统上出不来搜索框呢… 好气
估计是在特定条件下,失效了。
切换词典快捷键这个不太用。主要ctrl+f这个功能用的最多,有时候为了搜索,需要通过alt+w先从弹框界面跳到主界面再搜索。不知道macOS上弹窗界面的搜索,好修复吗,怎么macOS出不来搜索界面
Mac是command+F。
嗯,我就是用的这个快捷键。弹窗查词都没法搜索。
已经更新到6.5.1的最新版。
我更换了显示器,在更换之前,我使用的2K分辨率,程序可以正常缩放。(150%)
现在我是4K显示器,程序无法正常缩放,默认使用100%大小。
系统为win11 在系统-设置-显示里设置为缩放200%
goldendict.exe所在的目录里面创建一个文件 qt.conf
里面的内容
[Platforms]
WindowsArguments = dpiawareness=0
试下。
我这边win11/mac程序缩放是正常的。4k屏幕,分辨率是3840x2160,系统设置的缩放比例是200%。6.3/6.4 都是正常的,没有用兼容模式,6.5太新了,没有测试。用6.4看看?
用的如下版本:
你这个程序界面和内置的浏览器都不太正常。
这个我还是不正常,不知道是不是以前的缓存的问题,因为我上个显示器还是正常缩放的……
好的,看到了。谢谢
弹窗右侧显示的词典选项,原本的功能是点击后确定是否将该词典作为选中的内容进行搜索,我认为将点击后立刻跳转到该词典的搜索内容区域会好些(是否有其他地方已经实现了该功能?)
想过这么处理,但是这样处理的话,
如何禁用部分词典就会是另一个问题了。
禁用词典的功能可以在:
编辑-> 词典来源-> 文件
或者编辑-> 群组 那里进行禁用词典。
个人认为弹窗中的词典选项应该用于跳转搜索内容的功能会好些,因为对于大部分人来说这个功能的需求 应该> 禁用词典的需求(可以做个投票进行确认)。
又或者将功能改成:
单击图标为跳转到相应词典的搜索内容
双击图标为禁用该词典。
非常感谢!今天用了Qt6WebEngine的版本,发现一个小问题:如果在词典程序的网页中增加了百度百科的搜索,在具体搜索中,如果百度百科中未收录该词条,则会无休止在电脑浏览器上打开百度百科的网页,一直到电脑死机为止。在这过程中需要导致关闭词典软件,然后打开网页的状态就停下来了。删除百度百科以后,就又正常了。用其他检索的网站,暂未发现该问题。再次感谢!
这个问题已经修改了 用最新的版本
感谢!祝各种好!
@xiaoyifang I have installed the GD version
Goldendict-ng 23.06.02-alpha.20230718.b3d9d798
Qt 6.5.1 Visual C++ Compiler 192930151windows winnt 10.0.22621 x86_64-little_endian-llp64
and encountered a pronunciation problem in scan popup window. If an entry has two pronunciations, then they will be played almost at the same time. Please see below screen recording.
It looks like this one Issue with Auto pronunciation · Issue #978 · xiaoyifang/goldendict-ng · GitHub , if so, it is already fixed.
目前:
Shift + 点击字典图标 → 临时选一本词典,与 之前选中的词典列表交替
Ctrl+ 点击字典图标 → 临时选一本词典,与 所有词典列表交替
还有一个空位 Alt,我觉得可以再添加一个
Alt + 点击字典图标 → 调转到位置。这样现有的 “Found in dictionaries” 就变成可有可无的了
左键跳转,右键toggle?
再次感谢,今天试用了最新上传的QT5和6的版本,发现全文检索,有的时候可以用,有时候不能用,多数时候不能用。另外,似乎也不能主动进行词典的全文索引。全新安装放放词典以后,也显示所有词典均已索引,点搜索的时候,则没有反应。非常感谢!
具体一些。
portable模式?
说到全文检索,有无只全文检索部分辞典的办法,目前GoldenDict 会对某一格式(比如mdx)的辞典全部建立全文索引,但是这样如果文本辞典比较多的话建全文索引很慢,而且会产生巨大体积的索引数据,其实有些文本辞典并不想建索引。
或者有像手机深蓝词典那样,当对某个辞典用到全文检索功能的时候再对它建索引。
是的,portable模式,我想设置好后,装在虚拟光驱里面,这样以后相对就不会出现不和谐的状态,但现在常规状态下,看不到主动索引的状态,把之前建好的索引文件复制过来,只有一次在一个虚拟光驱里面可以索引,封装前的文件也不行,再解压出来也不行。因为我确定不懂这些,所以请教加非常感谢!
安装的时候用的zip包吗
是的,zip的包,安装包也用过一次,安装完,又转移了地方,然后建了Portable文件夹,也还是类似的状态。
另外,刚还试了下6月1日的版本,发现也是这个问题。又用这里GoldenDict - Browse /early access builds at SourceForge.net
下载了5月29号的版本,可以自建索引,但一点全文搜索,就崩溃了, 怀疑可能是里面有大于2G的词典文件,就再没继续往下试。感谢!
ctrl+SHIFT+F的窗口,截个图。
另外,index文件夹下的内容截个图看下( portable/index)
好的,现有的这些是之前版本的索引,那我把这些全都删掉,把词典文件夹放到里面,重建一个索引文件,感谢!
这里的问题是,为什么新的全文索引文件不存在的情况下,被识别成了已完成索引。 估计有隐藏的bug
是不是你的虚拟盘里面的文件的时间戳,会自动变化啊?
全文可以用了吗
In the newest version, the usual Ctrl + C + C
is not available anymore.
The scan popup shows up every time I press Ctrl + C
. Please have a check on this. Thank you so much!
Thank you so much! It works very well.
这个思路不错!
之前我还没发现有这些快捷操作,感谢提醒!
原则上即使这样,也不应该全文索引不能用啊。 比较奇怪。后续再观察吧。
晚上应该索引就做好了,我再装一次虚拟光驱看看,感觉能和谐了。之前我是安装东西的时候,对Portable和content文件夹里面的内容都没有动过,以为不会有影响,可能是不同版本还是有影响,后面我再重新设置一下。非常感谢!
这个macOS弹窗查词界面无法显示搜索框的问题,后面会修复吗
没环境,暂时不方便查。
我又来了,花了两天时间,把所有的索引弄完了,但可能由于索引文件过于庞大,致使之前的词典软件双击没有反应了。看到晚上刚才您又更新了,把新的版本复制进来,确实可以打开了,速度很快。把这两天的感受简单说一下。先是对新版本的感受,确实快,尤其全文检索,和我之前用的版本相比,几乎是五分之一至十分之一的时间,全文检索虽然用的不多,但仍然是非常重要的功能。其次,近几天一直跟着尝试您的各种更新,从前两天不能很好支持藏文等词典,后面陆续和谐,确实感觉每次变化都比较明显。但到现在,感觉比较疑惑的一个问题是,冒昧请教一下:为什么索引文件那么大?同样的一批词典,虽然确实数量有些多,有300多个,体积大概15G左右,经过两天的索引后,词典的索引文件有52.7G,今天下午把索引文件逐个看了下,单个索引文件在8G左右的就有好几个。之前用另一个版本,jing典那一款的时候,索引文件大概在5G左右。现在的状态就成了,原来觉得一个相对满意的词典,要占掉20G左右的空间仿佛已经有些变态了,都不好意思给别人发了。现在弄了新的索引以后,直接到65G左右,直接看蒙了。之前那种版本的索引文件没有文件夹,都是单个文件存在状态,和您现在弄的这种版本不一样,您这一版确实会生成很多的文件夹。至目前为止,仿佛一切都正常了,但体积大的离谱。这个是正常的状态吗?是否只能以这种方式存在?非常感谢!!!
应该是。
后续考虑可以增加对部分词典不进行全文索引的功能。
好的,非常感谢,那我先适当调整一下词典规模,祝各种好!
Is it possible to save dictionary group settings before installing new version? I installed in the folder of previous version. It reloaded previous settings, but some dicts doesn’t work properly.
give some detail description about how does it behaved
Thanks for reply. OED does not expand for synonyms etc. I test it by deactivating other dicts but it is randon. Sometimes it doesn’t work with one dict sometimes two others.
I installed the new goldendict on top of the previous version. So, maybe there is conflict there.
Need to find a way to save groups settings, so we don’t have to do it all again after installing new version.
Maybe you can try to relpace the js file, and it just works in my computer:
o2022k.zip (8.1 KB)
the config settings are automatically saved when you changed the settings. the config file is located under config folder which can be accessed through help-> configuration folder menu.
This is more likely some dictionaries’ javascript are conflict with each other.
Thanks, It is working fine with your JS now. The odd thing is that they were all working properly with the previous version of GD.
I think you are right. This should be about js conflicts, yet I didn’t have such problem with previous GD. So, for new installation, we just have to transfer the config to the new version. Thank you.
@xiaoyifang I’m using GD version
Goldendict-ng 23.06.02-alpha.20230720.84710297
Qt 6.5.1 Visual C++ Compiler 192930151windows winnt 10.0.22621 x86_64-little_endian-llp64
If I click on an entry from Wikipedia, the GD will open a blank (MS Edge) webpage. Could you have a check on this issue? Thank you so much!
which wikipedia ,the url?
It’s https://en.wikipedia.org/w
.
There is one annoying bug that I wish the developer would sort out in the future. It has to do with the use of the keyboard shortcut Alt + Down/Up to navigate between the dictionaries within a group. So, I have ten dictionaries in the group, and say I left off reading the dictionary content for the search word at dictionary number 5 - on my next search the results will start from the first dictionary in the group, but the next dictionary I get to read upon pressing Alt + Down will be dictionary number 6, instead of dictionary number 2.
Curiously, one can get around this problem if the result navigation pane is turned on, in which case Alt + Down navigation will follow the normal dictionary order from the first dictionary to second, third and so on. As I don’t want any panels on my screen, I’d like to be able to do the same without showing the result navigation pane.
One other thing that I’d like to see sorted out in the future version is the problem with the focus after hitting Enter to search for the word. I reported this bug before, and the developer kindly answered my request and the issue was partly resolved in the following versions. Up and down keys are now functional after pressing Enter, and I can browse the results without taking my hands off the keyboard. However, I still can’t go down the page using Page Down or Space button, without previously clicking somewhere on the page to regain the focus.
all external links are opened by browser in this version.
Thank you, I tried that, still same behaviour, as before next search starts from the first dictionary but Alt-Down will jump from it to the dictionary I last read on my previous search.
this has been fixed ,use the latest release.
Thank you so much! It works well now.
1、请问如何固定栏目的宽度?因为默认的面板宽度很窄,调整后,关闭软件再打开,又变成默认的宽度了。
2、最好有一个选项,能够设置打开软件的默认窗口模式,比如以最大化的形式打开软件
调整后,关闭软件再打开,又变成默认的宽度了。
最大化
在最近的版本上复现不出来,调整后关闭再打开应该会恢复上次关闭的状态。最大化的情况有点特殊,可以试一下不最大化能不能恢复上次关闭的状态。
恩好的!
我是从github上下载的最新版,解压缩后直接用的版本。不知面板栏目(查询面板、收藏、历史面板)的宽度在哪个配置文件里,我去调整一下
不知面板栏目(查询面板、收藏、历史面板)的宽度在哪个配置文件里,我去调整一下
所有的界面的状态在 config 里面的 mainWindowGeometry mainWindowState ,不过是一串特别的字符,没有办法直接手动调整的。如果界面状态恢复不了可能有 bug。
GoldenDict-ng is a open source, cross platform, multi formats, feature rich dictionary 是一个开源跨平台支持各种格式的字典程序
已增加
Recently, you have implemented multi-threading for full-text seach.
I wonder if it’s possible that you also implement multi-threading for rendering HTML of an entry. This would be very beneficial for an entry with long HTML source. This is in particular the case when we have many dictionaries. Indeed, I have an entry that take GD 9 seconds to fully render.
render html is webengine’s responsiblity.
Do you use qt5 version?
I’m using your latest version which is qt 6.5.1.
normally webengine will render only the current visible content.
If it takes too much time ,usually it is affected by other issues such as js etc.
handled in this fix: shortcut navigation through dictionary and page by xiaoyifang · Pull Request #1010 · xiaoyifang/goldendict-ng · GitHub
不知道为啥这个新版qt651启动的时候还是特别慢,等了很久,新加入了一部新词典,结果索引很久也不结束:
然后下次启动GD的时候还是特别慢。
从qt 650版本更新到这个qt651版本,是不是只需删除旧版本下content和portable以外的文件夹,然后把qt651版本的所有文件夹都复制过来就好了?
发现两位大大的qt 651和qt 652版本启动都特别慢,启动至少需要等待5分钟以上,不知道是什么原因 之前的版本包括qt 650版本基本上等几秒就能打开主界面了
启动界面的地方,索引的词典有变化吗
没有变化zsbd
把汉语委婉问语去掉呢
请教一下,我是从之前很老很老的版本解压覆盖的,从5月份某个版本到现在最新的版本 点 编辑 词典 的话程序就会闪退。
因为想给词典排序。今天全新解压索引后还是 闪退。 WIN 10最新系统。 不知道是不是我哪里的姿势不对
我的版本信息如下:
Goldendict-ng 23.07.23-GreatHeat.20230722.fbf82af1
Qt 6.5.1 Visual C++ Compiler 192930151windows winnt 10.0.19045 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT
别覆盖,直接用。
如果闪退,把dmp文件发上来。位置在配置文件夹里面的crash文件夹
谢谢,crash文件夹里面是空的。
另外,我刚才全新解压,没有添加词典,没有放portable文件夹。全新的, 点击 编辑 词典(F3)以后程序还是闪退。很奇怪。我重启电脑试试看
不用重启了,重启应该无用。
没有dmp比较奇怪。
去掉还是一样
全文索引关掉看下。
计算机管理-事件查看器-windows 日志-应用程序,看看有没有GoldenDict的日志。
谢谢,还真有。特意重现错误,发现了两个日志,一个是应用程序错误, 一个是windows error reporting
第一个:
错误应用程序名称: GoldenDict.exe,版本: 23.7.23.0,时间戳: 0x64bb2636
错误模块名称: qtexttospeech_winrt.dll,版本: 6.5.1.0,时间戳: 0x6469c564
异常代码: 0xc0000005
错误偏移量: 0x0000000000002c12
错误进程 ID: 0x23b8
错误应用程序启动时间: 0x01d9c052cf3fc6af
错误应用程序路径: D:\GoldenDict\GoldenDict.exe
错误模块路径: D:\GoldenDict\plugins\texttospeech\qtexttospeech_winrt.dll
报告 ID: 81d0e289-8e71-4f84-8409-ba0de40151f7
错误程序包全名:
错误程序包相对应用程序 ID:
第二个:
故障存储段 1990701882334067314,类型 4
事件名称: APPCRASH
响应: 不可用
Cab ID: 0
问题签名:
P1: GoldenDict.exe
P2: 23.7.23.0
P3: 64bb2636
P4: qtexttospeech_winrt.dll
P5: 6.5.1.0
P6: 6469c564
P7: c0000005
P8: 0000000000002c12
P9:
P10:
附加文件:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAE77.tmp.dmp
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAF33.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAF44.tmp.xml
可在此处获取这些文件:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_GoldenDict.exe_d0a625d5547f88b5c3440f73b32ea720e3bcc9_bfb96d1a_afdc7e0b-933b-4346-89da-7731e4dfed5b
分析符号:
重新检查解决方案: 0
报告 ID: 81d0e289-8e71-4f84-8409-ba0de40151f7
报告状态: 268435456
哈希存储段: 2dd5e628e88595bf8ba064d096393a72
Cab GUID: 0
用这个方法试下。
创建快捷方式 在快捷方式的启动栏里 goldendict.exe 后面添加 --no-tts 中间有空格 [image]
你的windows10估计也是精简版
YES.
搞定了,谢谢。这个问题困扰我很长时间了,今天终于解决了。
程序员V5
另外八卦一下,看你ID,是个厉害的女性程序员
Thank you for addressing the problem with the keyboard navigation! As for Alt + Down navigation between dictionaries is concerned, you might want to know that with the June and July versions the problem with this shortcut became worse - it works only on the first dictionary group - switching the group disables the shortcut altogether. For this reason I’m still on one of the May versions of the dictionary.
添加 --log-to-file 然后私发下gd_log.txt给我
更新qt6.5.2,链接:
FreeMdict Cloud - A FreeMdict Storage
与官方版本的区别(包括之前的几个版本):
Wonderful, works like a charm Great thanks to the developers!
是怎么添加呢? 知道了,快捷方式右键添加
请问作者可以添加基于正则表达式的全文搜索吗? 发现现在的全文搜索(无论是默认,纯文本还是通配符)在搜词组的时候(比如"consumed with")索引到的条目有不少根本没有我要搜的字符串…
版本Goldendict-ng 23.07.23-GreatHeat.20230722.fbf82af1
Qt 6.5.1 Visual C++ Compiler 192930151windows winnt 10.0.22621 x86_64-little_endian-llp64
感谢, 勾上选项重新创建了索引, 现在没问题了
最新的版本,macos上应该默认是fusion启动了。
Customize Dictionary - GoldenDict-NG (xiaoyifang.github.io)
用这个方法,可以将不需要的词典的全文索引单个关闭。
之前的版本也是1分钟启动吗,
你的词典有多少。
这个启动窗口的loading,此处只是显示,没有新增其他逻辑(原逻辑,启动的时候,会做一些词典的检验,计算等)。
大概300个左右词典,难道是太多了吗。但是之前用的是 6.1 正式版,启动时不会重新扫描;现在这个版本每次启动时都会重新扫描一遍 content 文件夹。(我用的是 potable 模式)
用 metadata.toml 文件给每部词典指定分组的设计很好,一劳永逸,迁移重装啥的都方便。进一步的,能否再考虑在 metadata.toml 增加一个组内词典排序的信息(比如 rank = 1 该词典置顶),这样组内排序在重装后就也不会乱。
当然,上面只是个人的设想,可能不是很好,或者有其它方法也行(比如单独搞个配置文件来整体排),总之就是希望能保留分组组内的词典排序信息。
词典排序应该已经记录到config文件了。
好吧,因为我之前是按文件夹分组,现在改成按元数据分组,发现要生效只能把旧的 config 文件删除,所以顺序全乱了
现在OK了,是支持在现有分组上更新的
现在的全文索引太大,可不可以在建立索引时用zstd之类的压缩一下,等用到的时侯再解压去调用呢
Release GoldenDict-ng-v23.07.25-alpha.230730.f7e43479 · xiaoyifang/goldendict-ng (github.com)
用这个版本试下
基于xapian做的,后续研究下。
没有QT5版的吗
有了,谢谢
扫描速度大幅提升,现在只需大概1-2秒
@hahaya 也用上面的版本试下。
试了这个版本,果然启动速度正常了,扫描界面也能正常显示了。
先记录吧,网站类的很难完美。各种网站的限制,cors,防链接的js等。
I think this a bug in UI design. In Preferences > Advanced
, there is a lack of space, i.e.,
嗯嗯 之前qt 6.5.0的版本,这些在线词典内容的高度是正常的
处理了。。。。。bz
I wonder if you can add a feature to check for update manually. For example, a function Check for update
when we right click on GD tray icon would be very nice.
把这本词典的索引删掉重建看下。
自从更新8月1号的版本之后,GD就不能编辑词典了。一按F3,不一会儿GD就自动退出。不知怎么回事。
用这个方法试下。 https://forum.freemdict.com/t/topic/20972/40?u=xiaoyifang 你的windows10估计也是精简版
用这个方式试下
这要怎么操作呢
新版(commit: ac8e79358c)在线词典两个问题:
2.dictionary.com的问题,上面 hahaya反馈过了。
目前使用了xapian自带的compact,体积减少了30%
xiaoyifang:staged
← xiaoyifang:fix/fts-compact
temp删除的问题,处理了fix: fts temp folder deletion by xiaoyifang · Pull Request #1043 · xiaoyifang/goldendict-ng · GitHub
在输入框里输入单词以后,切换词典分组,还是以前的查询内容。
需要回车才能查询。不知道算不算问题。
输入框里输入的关键词可以设置成:不同标签页可以保留不同的关键词吗
就是说,在一个标签页里输入框里是 abandon 切换到另一个标签页 输入框里是abate
目前的设置是,如果改了一个标签页下的关键词,切换到另一个标签页的时候,输入框里的关键词被同步改了
输入框里面的词没更改 但是查的词是以前的
在一个标签页下修改输入框里的词,然后不要回车,切换到另一个标签页。此时另一个标签页输入框里的关键词已经被改了(查询结果没有影响,只是不同标签页下,输入框里的关键词被篡改了),参考:
也就是目前的设置是:所有标签页共享同一个输入框关键词
能否改成:
每个标签页都可以有自己独立的输入框关键词,互不影响
目前是共用的。
再反馈一下另一个问题,我是从几个月前的版本升上来的,其实在出现上面的问题之前,goldendict-ng(最新release版,macOS)在索引我的词典时直接崩溃了,那次我是删掉了部分词典后才成功进主界面的
后来我用命令后启动,发现在崩溃前输出了下面内容:
qt.gui.icc: fromIccProfile: Failed to parse description
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: cHRM chunk does not match sRGB
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
[1] 4586 floating point exception goldendict
在崩溃时正在索引的是这个:
(研究社)日本語表現活用辞典.zip (893.0 KB)
删掉这个后,又在索引这个文件时崩溃:
(日本語NET)JLPT文法解説まとめ.zip (240.7 KB)
不知道是否 epistularum 制作的词典都会引起这种崩溃
希望上面信息对解决问题有帮助
可以改成每个标签页的输入框关键词互相独立吗?
词典分组已经独立了,感觉输入框关键词也设置为独立比较好
后续考虑下吧,目前感觉没什么用处。
谢谢。 关键词独立后,相当于goldendict多开,就像微信多开一样。相当于每个标签页都是一个独立的goldendict。方便同时进行多个单词的查询,彼此互不影响。感觉还是挺实用的
哪里有完整报告
一直有个疑惑,不知道是不是 GoldenDict 的问题,就是词典单词发音老会被吃掉前一部分(比如下面单词实际只听到 ˈɔːdɪnət
)。Mdict 也会吃音,但吃得比 GoldenDict 少。
记得最早的 GoldenDict 是不会吃音的,不晓得什么原因……
ctrl+c+c弹窗查词界面,修改输入框里面的关键词后,发送到主窗口。结果主窗口查询的不是修改后的关键词,而是修改之前的关键词(弹窗之前查的fancy,后改成fancy hotel,然后不要回车,直接发送到主窗口,结果主窗口出来的是fancy的查询结果)。
另外,主窗口查词的时候,也存在这种情况:修改输入框里的关键词后,不要回车,直接切换词典分组,那么不是查的修改后的关键词,而是修改前的
macos自带的异常弹窗
可能是音频本身就不全 保存后 用其他播放器试下
X大英明,果然是发音文件的问题
在牛津9OL版里,有些朋友遇到了些问题,这要就是发音文件不全或者是图片显示等问题。 在这里我再次分享一下正确的词典版本的链接 点击这里 提取码g5nu 作者是zzzz_sleep,海上1212,来自 hanyl05的例句 oald9.2.mdd为例句发音文件 oald9.1.mdd为单词发音文件 oald9.1.mdd.128为高清单词发音文件 oald9.mdd为字体,格式以及图…
估计是以前硬盘吃紧的时候少下文件了
之前论坛里发过,发现是音频本身的问题
好的。期待后面可以一并解决
关键词独立后,相当于goldendict多开,就像微信多开一样。相当于每个标签页都是一个独立的goldendict。
这个我反倒觉得就现在这样共用查询窗口是更好的,因为方便在不同的分组下都查同样的词,不用重新输入。
方便在不同的分组下都查同样的词
这个需求感觉可以直接在当前标签页切换分组即可
切换分组设置好快捷键,非常方便,比手动切换标签页要快多了
私信发你了,请查收
你是不是把mdx的文件名修改了? @RANP0
发现一个bug:
查词后,ctrl+f 页内查找,然后输入单词的时候,单词却输入到了查词的输入框,而不是页内查找的输入框里。可能跟焦点有关
p.s. 非必现。但经常碰到
windows没重现,没有macos,所以此类问题,只能看情况修改了。
一直是 GoldenDict-ng的忠实用户,之前换过新版,但是出现部分字词查不到的现象,后来才知道要重建索引。最近刚刚换到最新版。之前要添加新词典时,按编辑-字典,载入的时间是稍微比较长,但不曾打不开过。
新版到现在,查询速度,反应等都很满意,就只有每次按编辑-字典之后程序必定过载,完全不开启,之后整个GoldenDict会自动关闭这点有点头痛,因为进不去字典和群组的设定区。是字典过多还是内存太少?但用之前版本时电脑也是这样的配置啊。
xiaoyifang请指导我该怎么调整,才能避免这个状况,谢谢!
编辑:我蠢了,上述问题出现在Goldendict-ng 23.07.25-alpha.20230807.fd42f877
发文之后赫然发现有更新的 GoldenDict-ng-v23.07.25-alpha.230818.7c9bb9bb,换掉之后用了几回都正常了…还是留在这里给后来的朋友们参考,出现问题,发问前先确认一下有无更新吧…
尝试了一下新版,比老版 GoldenDict 体验提升不是一点点!但感觉还是用欧路词典比较舒服。
当前GD版本对于俺来说,已经很满足了,非常感谢xiaoyifan大神的编译制作。
我这里有一个现象,不知是不是我机器太老旧的原因,烦请众大神帮忙确认以下,即:6.5.1版本用 inspect 【F12】修改 css 内容可以即时生效,不用重启软件,但6.5.2 不能即时生效了,需要重启软件。小的经常犯完美强迫症,看到哪里不顺眼了就要修修改改,时常还是改来改去。本来6.5.2应该能戒掉俺的这个坏毛病,但老毛病一时半会儿还改不掉,哎,有点烦。。。
这个帖子太恐怖了,2.5k回复。
但怎么
1,怎么到第1帖呢?(我只想到首贴,看看下载最新版本的链接,怎么也到不了第一帖)
2,有没有只看楼主功能?(好像没有。)
最新版下载链接在github Releases · xiaoyifang/goldendict-ng · GitHub
你有么有使用自定义的样式之类的,或者可能是被词典中的样式影响了。
先换种风格,这个问题,后续看下。
版本号发下。Help->About
貌似qt5.15的版本出现过几次。具体原因未知,后续版本把这个图片缩小。
后续启用下,目前添加了个缓存的功能,估计是这个影响到了。
新添加一个选项用于词典调试
xiaoyifang:staged
← xiaoyifang:opt/developer-debug
Add an option to disable possible cache to make dictionary debug easier. ![im…
楼主你好,我在 GoldenDict 中添加了 The Little Dict,并且将该词典的配置文件config.ini中的自动发音关掉,并且在欧路词典中已经实验成功,但是在 GoldenDict 中还是自动发音,你知道怎么解决吗?
并没有勾上。
把你用的 The Little Dict 的词典文件用网盘发出来。config.ini 是欧路专用的配置文件,对其他软件无效。
这是我用的 The Little Dict 的词典文件
链接:https://pan.baidu.com/s/1j8_lZ0LNW_fhjJ2uibqRiQ?pwd=ljz8
提取码:ljz8
fy.js.zip (32.3 KB)
去掉了自动发音,解压文件后,使用 fy.js 替换原版的同名文件。
这会是由原因造成?mdict和DictTango都没发现问题
不知道有错误日志没有?
index同级目录crash文件夹里面看下。
可以尽量定位到时哪本词典造成的
更新ffmpeg5.1.3,将opus/fdk-aac/mp3lame/speex/vorbis等依赖库静态编译,并在编译时只启用audio decoder以减小最终的dll体积
编译脚本:
ffmpeg_msvc.txt (5.2 KB)
(ffmpeg 6.0 编译时链接失败了)
下载:
FreeMdict Cloud - A FreeMdict Storage
这个是Goldendict 的最新版本么?用一个词典的时候出了点问题,
这个版本解决我的问题了,多谢。
已经从外网找到了。Releases · xiaoyifang/goldendict-ng · GitHub
说是 GoldenDict-ng-v23.09.11-alpha.230911.1074a27a
下载了,能打开说文解字 综合9.12的那个下箭头了。
Goldendict-ng 23.09.08-WhiteDew.20230907.216505c9
Qt 6.5.2 Visual C++ Compiler 192930151 windows winnt 10.0.19044 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT
这个版本更改CSS,也需要ctrl+q退出重启,CSS才能生效。另收藏面板和历史面板单词没对齐。
这个版本更改CSS,也需要ctrl+q退出重启,CSS才能生效
调试词典css,开启这个。
另收藏面板和历史面板单词没对齐
收藏面板是支持多层嵌套的,新建文件夹的。以前也不对齐
有大神能提供GoldenDict的macOS 的最新版本么?请教一下在哪里下载
GoldenDict-ng is a open source, cross platform, multi formats, feature rich dictionary 是一个开源跨平台支持各种格式的字典程序
多谢,没法科学上网,登录不了github
使用github并不需要科学上网,使用各种改host的工具即可。
比如
https://www.dogfight360.com/blog/686/
https://gitdown.lanzouv.com/s/fetch-github-hosts
等
使用油猴脚本即可解决
高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)、添加 git clone 命令
搞定,学到了,多谢
我的也是,有时根本连不上。
不会呀,太高深了
什么地方不会,我提供的都是0基础可使用的工具
使用方法链接里都写的很清楚
再装上插件,下载速度就正常了,没啥差别
辛苦楼主了,下载看看如何!!
啥,没看懂
弱弱的问一句ng可以取词吗?怎么用
取词怎么用?
GoldenDict-ng is a open source, cross platform, multi formats, feature rich dictionary 是一个开源跨平台支持各种格式的字典程序
软件帮助可以回答大部分问题
Hi. I heard that you made the new Goldendict-ng. Pardon me, but you are incredible! Just imagine what your product can do and you made it free. I just wish there were more selfless people like you. Thank you, Sir, and may you continue to increase on all sides. With love from Nigeria.
mac版报错呃,那个版本是可以用的么?求呀
哪个版本。。。
Process: GoldenDict [3033]
Path: /Volumes/VOLUME/GoldenDict.app/Contents/MacOS/GoldenDict
Identifier: org.xiaoyifang
Version: 23.09 (???)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-09-23 18:35:58.8813 +0800
OS Version: macOS 13.4.1 (22F82)
Report Version: 12
Bridge OS Version: 7.5 (20P5060)
Anonymous UUID: E9915560-2135-8D85-8E8A-DBC7A2E620B5
Sleep/Wake UUID: BEE0D4AE-6864-4EFA-A384-FDBD6066DE95
6.4.3-GoldenDict_macos-13_homebrew_20230910 这是版本号
好的,我试一下,多谢
这个版本依然不行:6.4.3-GoldenDict_macos-13_homebrew_20230920
Process: GoldenDict [1581]
Path: /Volumes/VOLUME/GoldenDict.app/Contents/MacOS/GoldenDict
Identifier: org.xiaoyifang
Version: 23.09 (???)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-09-23 20:55:24.2180 +0800
OS Version: macOS 13.6 (22G120)
Report Version: 12
Bridge OS Version: 8.0 (21P365)
Anonymous UUID: E9915560-2135-8D85-8E8A-DBC7A2E620B5
Sleep/Wake UUID: B78F7B3B-A143-4D0C-9F39-2D24781F9C37
Time Awake Since Boot: 1500 seconds
Time Since Wake: 70 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Install instructions for Windows, macOS and Linux https://xiaoyifang.github.io/goldendict-ng/install/. Filename pattern (文件名模式): [Qt version]-GoldenDict-ng-[OS]-[release-date].[ext] Qt6.X is recomm...
同样安装失败,系统是13.5.2,原因是依赖缺失,临时解决:
brew install ffmpeg
错误消息:error.txt (933 Bytes)
链接到 /usr/local/Cellar/
这个路径的都有问题 deps.txt (231.7 KB)
PS:看了下仓库的提交记录,这个问题 xiaoyifang 已经修复了,等新版就好了。
mac air m1,6.4.3-GoldenDict_macos-13_homebrew_20230921.dmg 可以正常安装。但音频播放有点问题,得选用外部播放器,ffmpeg. mac版本不是每个版本都能正常安装使用。
音频选外部播放器,安装完ffmpeg后,地址输入:/opt/homebrew/Cellar/ffmpeg/6.0_1/bin/ffplay -nodisp -autoexit。音频就可以正常播放了。
Install instructions for Windows, macOS and Linux https://xiaoyifang.github.io/goldendict-ng/install/. Filename pattern (文件名模式): [Qt version]-GoldenDict-ng-[OS]-[release-date].[ext] Qt6.X is recomm...
麻烦用这个测试下。
安装的 6.6.0-GoldenDict_macos-13_homebrew_20230924
ffmpeg 的路径没问题了,但是 openssl 还是加载的用户本地路径:
/usr/local/Cellar/openssl@3/3.1.2/lib/libcrypto.3.dylib
/usr/local/Cellar/openssl@3/3.1.2/lib/libssl.3.dylib
6.4以上版本qt multimedia自带ffmpeg后端,并且在6.5作为默认后端,以后应该不需要单独的ffmpeg了
使用qt multimedia可以播放spx音频吗 如果可以的话 ffmpeg可以去掉了
/usr/local/Cellar/openssl@3/3.1.2/lib/libcrypto.3.dylib
/usr/local/Cellar/openssl@3/3.1.2/lib/libssl.3.dylib
多谢 我看下,这两个是被哪个引用的?
检查了下这个依赖没有问题,QT会优先加载本地已安装的OpenSSL,找不到会加载系统自带的SecureTransport。
经试用,内部播放器正常。ffmpeg确实不再必须安装了。
spx格式的音频吗
ffmpegmediaplugin.dll
嗯,后续6.5以上的版本,可以移除 ffmpeg了。ffmpeg关联太多了。
Does anyone have the 2023 update to the OED?
6.6版本有问题 换6.5
版本:macOS 13.5.2 / Qt 6.6.0 / Goldendict-ng 23.09.11-alpha.20230924.02918ef1
搜索框的字体大小/位置不正常,中英文的显示也有区别:
6.5.2的版本怎么样?
6.6.0的暂时还不打算处理,感觉这个版本还有点问题。
6.5.2 启动不了。
6.5.2-GoldenDict_macos-13_homebrew_20230926.dmg
链接:GoldenDict-ng-v23.09.11-alpha.230926.a540d28c
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @loader_path/libicudata.72.dylib
Referenced from: <356BAAE2-F819-3174-8E8C-E1BF834C8AA2> /Applications/GoldenDict.app/Contents/Frameworks/libicui18n.72.dylib
Reason: tried: '/Applications/GoldenDict.app/Contents/Frameworks/libicudata.72.dylib' (no such file), '/usr/local/lib/libicudata.72.dylib' (no such file), '/usr/lib/libicudata.72.dylib' (no such file, not in dyld cache)Library not loaded: @loader_path/libicudata.72.dylib
Referenced from: <C24D3C24-07C9-33D5-8C0C-F993A64D2DD5> /Applications/GoldenDict.app/Contents/Frameworks/libicuuc.72.dylib
Reason: tried: '/Applications/GoldenDict.app/Contents/Frameworks/libicudata.72.dylib' (no such file), '/usr/local/lib/libicudata.72.dylib' (no such file), '/usr/lib/libicudata.72.dylib' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)
谢谢,是字体的原因,界面里的字体改成PingFang SC就正常了,之前在macOS 11时字体一直是正常的,没注意到这个选项。
修改了,
新编译的版本。
Install instructions for Windows, macOS and Linux https://xiaoyifang.github.io/goldendict-ng/install/. Filename pattern (文件名模式): [Qt version]-GoldenDict-ng-[OS]-[release-date].[ext] Qt6.X is recomm...
多谢,这版本没问题了。
更新qt6.5.3
FreeMdict Cloud - A FreeMdict Storage
我还是那个4K屏幕不缩放的那个,我最近在Calibre上遇到了一样的情况,Calibre也是qt6的。
但Calibre在UI选项的字体里提供了一个可以设置字号的功能,我将字号改大后UI就正常了。
请问GoldenDict-ng也能提供这个功能吗?
根据我看Reddit之类的地方结果,qt6这个4k屏幕缩放各种软件都有类似的问题,全都是用这个方法解决。
楼主编译版比官方版兼容性高,盼望更新最新版
这个版本是在23.09.08基础上修改的吗
没做说明都是用的当天的代码,除了qtwebengine支持h264格式的视频,啥也没改,其他改的内容都提交给作者合并了
GoldenDict-ng-v23.09.29-MoonCake.230930.7f0f8778
别的发音词典正常,但hugh制作的那个1GB的发音词典却无法发音了
用的qt6版本吗,qt5现在应该是不能解析spx的
换了qt6之后,问题解决。
In the newest version, the scan popup shows up every time I press Ctrl + C. The option ‘Enable Scanning’ is always turned on every time my laptop turns on.
Could you have a check on this? Thank you so much!
It works perfectly fine. Thank you so much for your help!
调试词典css,开启这个。
问下开启这个选项以后,对性能有影响吗?或者有什么其他影响
如果不打开,mdx词典的js,css加载的时候,会用到缓存。略快些。
关注下这个问题。有可能修复吗?qrc://
和bres://
加载文件耗时太长了。
最近制作了一个图片词典,但有个问题困扰了我两天:整个词典1000多页,但其中有且仅有一页,只要打开它的链接,官版goldendict程序就崩溃,即使我将该页面的图片重新制作或更换为其他没有问题的图片,问题虽有些变化但依然存在(程序不崩溃,但图片无法加载等),为此我下载了xiaoyifang/goldendict的windows portable版本(5.15.2-GoldenDict.exe_wi…
有看,暂时没办法。
qrc是系统的。
bres是自定义的。
使用 Calibre 的时候,没有遇到类似问题,Qt 的版本是 6.4.2,应该不是版本问题。
我对比了下两边代码,GD这边处理资源请求,需要通过QNetworkAccessManager,Calibre 这边没有这玩意,是不是这个的问题?(我没有调试代码,可能离大谱。。
Calibre 对应代码:
xiaoyifang:staged
← xiaoyifang:opt/resource-performance
roughly the same ,no improvement.
在这个pr里有尝试QBuffer 效果跟现在的差不多,基本没提升。
。。。真奇怪,看不出区别来了。
从calibre的时间上看,确实多了1个数量级。不知道是哪个地方影响的。也可能是其他的一些配置造成的。
为什么我的电脑上运行不了QT6.X版本,打开正常,一安装词典,程序自动退出,试了很多次都不行。其他两个版本没有这个问题。请赐教。
是github上的程序吗,网盘的不是最新版
stalled 是浏览器这边的行为,应该不涉及资源解析,即读取mdx这边。
意思是浏览器相关的什么配置,造成的?
不过你看这个回复,即使 stalled 有问题,后面那个蓝色条,也就是资源下载时间也更有问题。
装了开发环境,启用词典调试,禁用浏览器缓存:
xiaoyifang:staged
← xiaoyifang:opt/request-stall
Before: 
在历史面板重复点击同一个词条,stalled 只有 1-2 ms,切换词条 stalled 变成 30-50 ms,我看这两种情况,资源都是重新加载的。
遇到过,感觉是窗口的焦点定位问题,不是很好定位,只能随缘了。
CORS问题,需要一个比较好的处理方式,来最终解决。
考虑几个方向:
workflow编译失败,不知道为啥
Run brew install pcre2 harfbuzz freetype
45Warning: pcre2 10.42 is already installed and up-to-date.
46To reinstall 10.42, run:
47 brew reinstall pcre2
48Warning: harfbuzz 8.2.1 is already installed and up-to-date.
49To reinstall 8.2.1, run:
150tkinter is no longer included with this formula, but it is available separately:
151 brew install python-tk@3.11
153gdbm (dbm.gnu
) is no longer included in this formula, but it is available separately:
154 brew install python-gdbm@3.11
155dbm.ndbm
changed database backends in Homebrew Python 3.11.
156If you need to read a database from a previous Homebrew Python created via dbm.ndbm
,
157you’ll need to read your database using the older version of Homebrew Python and convert to another format.
158dbm
still defaults to dbm.gnu
when it is installed.
160For more information about Homebrew and Python, see: Python — Homebrew Documentation
161Error: Process completed with exit code 1.
Run brew install pcre2 harfbuzz freetype
这三个看起来应该都不需要,删掉看看。
还是一样的错误。 根据错误提示,是不是升级Python版本造成的
Upgrading python
81 3.11.5 → 3.11.6
83==> Pouring python@3.11–3.11.6.ventura.bottle.tar.gz
84Error: The brew link
step did not complete successfully
85The formula built, but is not symlinked into /usr/local
86Could not symlink bin/2to3
python是哪里引入的,你编译的workflow的链接发下看看。
name: macos-homebrew
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- dev
- master
# - staged
paths-ignore:
- 'docs/**'
# - ".github/**"
- "howto/**"
- "*.md"
- ".clang-format"
jobs:
build:
name: Build
This file has been truncated. show original
把里面的python3@3.11去掉。看看
可以了
刚先搜索词典名,然后选中其中两个词典通过鼠标拖拽方式,添加到分组最后的时候,每次都崩溃了(添加到分组开头则不崩溃)
另外,先搜索词典名,选中两个词典,通过点击向右的箭头添加到分组的时候,没有崩溃,但也没有成功添加到分组。
但如果先清空分组里的所有词典,再添加选中的两个词典,则可以顺利添加到分组
后续调查下…
請問查詞時 Pop window 是否都無法彈出
GoldenDict - Qt5WebEngine 的版本顯示很模糊是正常的嗎?
GoldenDict - Qt5WebKit 則很清晰,但 Pop window 一樣無作用
开启取词弹窗试试(那个灯泡图标)
謝謝回覆
剛剛試了好久,已經可以了,需按鍵才能彈出視窗
另外請教一個問題,版本 GoldenDict.Qt5WebKit.Win64 詞典的目錄是否無法選擇
另外全文搜索好像一直找,但似乎無作用,是否是 mdx 詞典無法全文搜索,還是方法有錯,可有此全文搜索的說明
你要说清楚你使用的 GD 版本。旧版 Qt5WebKit 的问题,这个线程无法处理。NG 版本的全文检索是可以使用的,检查配置项里有没有启用全文检索,如果还是搜索不到换个关键词看看。
GoldenDict-ng is a open source, cross platform, multi formats, feature rich dictionary 是一个开源跨平台支持各种格式的字典程序
要快速全文检索,建议使用 NG 新版。
The Next Generation GoldenDict. Contribute to xiaoyifang/goldendict-ng development by creating an account on GitHub.
Windows 7好像裝不了這個版本 6.5.2-GoldenDict.exe_windows-2019_20230930.zip
GoldenDict-Windows.7f0f8778-131334 ,這個版本可以,速度很快,但解晰度差很多,無法全文搜索
尝试安装NG的qt5版本试试
5.15.2-GoldenDict.exe_windows-2019_20230930 這個版本可以,速度很快,但解晰度差很多,無法全文搜索
qt6最低支持版本为windows10+,所以你的电脑只能用qt5版本,另外webengine用的谷歌浏览器默认的字体渲染本来就比较虚,微软的edge就好点
ubuntu下没重现。
windows下也没重现。
这种偶发的,估计不好处理。
最近把macOS升级到了macOS Sonoma 14版本,有可能跟这个有关。先用着吧,不是很影响使用
Bug:
按文档夹分组,出来的对话框是依据语言分组。
语言是繁体中文。
版本: 23.10.01-alpha.20231008.e7cbf9fb
Qt 6.5.2
Qt 5.15.2
In portable mode GoldenDict works with some limitations:
You can’t select folders with dictionaries. All dictionaries should be placed in
content
folder beside the main program file and/or its subfolders. You can’t use sound files in separate folders.
请问这个限制有没有办法去掉?
这样测试不同版本可以都指向同一目录,
不必拷贝辞典档。
不用portable模式
或者符号链接,管理员权限用mklink
由于除了视频格式支持以外没有差异,以后不再发布个人编译版本,只提供qtwebengine的dll。
qt6.6.0 支持H264/H265视频格式的dll(非qt6.6版本不要下载):
FreeMdict Cloud - A FreeMdict Storage
6.5.3版本的dll在上一个版本中:FreeMdict Cloud
不用portable模式的缺省路径已经放了官方版的设置。
如果 ng 版也用同样路径,设置及全文索引会不会冲突到?
另外请问 ng QT5, QT6 可以共用一套设置及全文索引吗?
ng的qt5和qt6数据可以共用,原版的全文索引文件格式不一样,名称也不一样,理论上不会冲突,词典索引和设置可能会冲突
是个bug,后续修改。
Bug:
按文档夹分组,出来的对话框是依据语言分组。
语言是繁体中文。
是指官方版及 ng 版不会冲突?
请问qt6.6版本的GD哪里有下载呢?
FreeMdict Cloud - A FreeMdict Storage
10.13 exe: goldendict.exe.zip (2.5 MB)
@xiaoyifang qt6.6.0正式版前几天发布了,昨天Windows上测试正常,可以更新github action试下
感谢分享,我试试。。 ::
qt6.6.0 支持H264/H265视频格式
太好了,就是说qt6.6 的-ng版也默认支持视频播放了,是吧
一直都可以,其实就是改个编译参数而已,但是这东西太大了,我也懒得为这个专门去写个教程。官方不给的原因大概是开源协议的问题。
另一方面qt一直喜欢搞些“见不得人”的操作,比如windows上 qt5只提供32位的库,64位的还得自己去编;
还有LTS延迟开源了,也不放出编译好的库,qt5.15开源版本早就更新到5.15.11了
但社区里面大多还是5.15.2
作死之前请教一下,我的mac更新到macOS Sonoma 14.0后,现在用的这个GoldenDict的版本需要更新么?会不会出bug。
GoldenDict的版本信息如下:
Goldendict-ng 23.09.11-alpha.20230924.02918ef1
Qt 6.6.0 Clang 14.0.3 (clang-1403.0.22.14.1) macos darwin 22.6.0 x86_64-little_endian-lp64
新功能/流畅度/兼容性,三者不可能兼得。
对比测试了多个GD版本,现在的版本,包括基于qt 6.5.2、6.5.3、6.6.0的版本,在滚动浏览内容或切换到不同词库时都存在闪烁抖动的问题,有时甚至会出现画面撕裂的现象,而且在导航切换到不同词典时经常切不过去,要点好几次才能跳过去。其中qt 6.5.3、6.6.0的版本,目前对在线词典的支持度还不够好(好像之前说过是因为跨域问题没能解决),在线词典的排版无法正常显示或者图片发音按钮不加载等问题。qt 6.5.2版稍好些,只是词典高度太低,看内容很费劲。最后只好又用回某个qt 6.5.0的旧版,切换词库不闪烁抖动,在线词典排版也正常,更加稳定好用些。
现在的版本,包括基于qt 6.5.2、6.5.3、6.6.0的版本,在滚动浏览内容或切换到不同词库时都存在闪烁抖动的问题,有时甚至会出现画面撕裂的现象,而且在导航切换到不同词典时经常切不过去,要点好几次才能跳过去
怎么切换,词典组,还是右侧的导航?
在滚动浏览内容或切换到不同词库时都存在闪烁抖动的问题,有时甚至会出现画面撕裂的现象,而且在导航切换到不同词典时经常切不过去,要点好几次才能跳过去。
录个屏看看。
跨域我记得只有6.3以前的版本才是正常的
审查元素-停用缓存,看看你上面本地图片的 stalled 是多少?
通过右侧的导航切换词典,还有就是在浏览页面内容时,尤其是在点击带有js的词库中的展开折叠区域(比如ODE glance)时,瞬间有画面撕裂重叠的问题,这时在滚动下鼠标就又恢复。
用了 ODE 这本词典,没有复现。
这个应该还是http1.1的问题,韦氏那个http2就快多了
Http 延迟高,应该不是界面更新的问题了,你这个本地 stalled 的值很低了。我试了几台设备,发现设备越好,这个值越低,这个结论需要排除 Mandolin 的那台设备。。
那个网页大概是缺乏维护,也有图片加载不出来,我用谷歌浏览器访问都感觉体验很差
div.dictlink * {
display: inline;
}
This css rule will show gd’s auto-inserted js code:
(fɪʃ gdAudioLinks.first = gdAudioLinks.first || "gdau://5ff6791cd1fc2200c789015c3190068a/sounds/hwd_sounds/21162.mp3"; if(!gdAudioMap.has('5ff6791cd1fc2200c789015c3190068a')){ gdAudioMap.set('5ff6791cd1fc2200c789015c3190068a',"gdau://5ff6791cd1fc2200c789015c3190068a/sounds/hwd_sounds/21162.mp3"); }
solution => use
:not
selector => div.dictlink *:not(script)
问下安装最新版本之后,启动无反应是怎么回事呢?
系统是 Arch Linux, 从 AUR 安装了 goldendict-ng 和 goldendict-ng-git 两个版本都是这个问题。
删除掉原版 goldendict 的配置文件后解决
个人觉得没必要,目前的索引也不支持大小写的情况。
我倒是觉得微软雅黑挺清晰的(4k屏)。 之前装过黑苹果,mac不知道用了什么机制,字很粗很糊,字典里的各种字体都有种被加粗的感觉,后来找到设置关了,字体渲染表现也还是不如Windows里的。 linux系统找了几种字体,也还是雅黑更舒服,可能看习惯了吧
建议 GoldenDict 网页的默认字体样式修改为:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
修改前:
修改后:
看起来不错,可以来个PR
我这边不方便。
xiaoyifang:staged
← xiaoyifang:opt/css-default-font
在 article-style.css
旁边放一个 qt-style.css
#wordList,
#dictsPane,
#dictsList,
#historyPane,
#historyList,
#favoritesPane,
#favoritesTree {
background: #eaf0f8;
color: darkblue;
}
MainWindow #translateLine, MainWindow #wordList {
color: white;
background-color: #000;
}
https://xiaoyifang.github.io/goldendict-ng/topic_userstyle/
具体内容参考 qt-***.css
https://github.com/xiaoyifang/goldendict-ng/tree/staged/src/stylesheets
版本:Goldendict-ng 23.10.01-alpha.20231024.8905de63
Qt 6.6.0 Visual C++ Compiler 192930152 windows winnt 10.0.22621 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT NO_TTS_SUPPORT no_ffmpeg_player
最新版GoldenDict M大系列词典无法单击跳转。
VM407:1 Uncaught ReferenceError: gdMakeArticleActive is not defined
at <anonymous>:1:126
需要检查 gdMakeArticleActive
已经定义,或者延迟执行,有时候直接报错。
if(elem!=undefined){elem.scrollIntoView(true);} gdMakeArticleActive('%2',true);"
直接把下面这个文件解压放到词典文件的目录就可以了。
SW.js.zip (464 Bytes)
具体什么原因,后续我看能不能直接gd-ng支持
Goldendict 23.05.01-WuYi.230501.6c8b0c1c
macos darwin 23.0.0 Qt 6.4.3 arm64-little_endian-lp64
Clang 13.0.0 (clang-1300.0.29.30)
Flags: MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT
Mac 上这个版本没问题,应该是某些改动导致的。
应该跟事件执行的先后顺序也有点关系。
这个链接点击的时候,click中执行togPg的方法,然后又是个a链接。
如果a的链接执行的快(gd-ng有对a的链接额外注册点击事件),应该就显示正常。
如果是tgPage中的跳转location跳转先执行,效果上就是无法跳转。
修改方式,也可以直接置空togPg的方法。
function togPg(thisBtn, imgId) {
}
全文搜索功能不能用!
全文检索,能用吗?
我都更新了,还是不能用。怎么回事?
菜单配置项-全文搜索,勾选:允许对以下格式词典进行全文检索。
v3 格式的 mdx 词典,GD 不支持,在添加阿拉伯语汉语大词典后,索引界面显示『正在加载…』,但长时间无法自己结束,只能从进程管理器强制退出。
由于本人和同学工作都比较繁忙,又同时都在国外,网络很差,近来才把词典搞完。特把资源分享给大家,因为阿语本身语料库就少,又没有相关词典,真的挺折磨的,不知道那位大佬会不会介意因为他真的很久没出现了…而且应该不会有人再拿去又搞注册码再转卖吧… 链接:https://pan.baidu.com/s/1bhtxbEeW9i4gj1go_G7CHA?pwd=5678 …
可以用这本词典测试。
伊斯兰教法术语.mdx.zip (1.0 MB)
应该会有一个bad allocation的弹窗。估计被挡住了。
现在先简单跳过了。
xiaoyifang:staged
← xiaoyifang:fix/mdx-3.0
mac 上没有弹窗,我把所有窗口移开检查了下。简单跳过就可以了,感谢!
win10用藏文辞典,两个版本显示很不错,但是打开没几秒就崩溃了。
可以把导致崩溃的藏文辞典上传到网盘发出来。
可以私发词典给我,也可以。
我因为同时使用了十几个藏汉 藏英辞典,以及许多英汉词典,数量可能比较多,我把英汉词典全部停止使用后,只单独使用藏汉 藏英词典就没有崩溃了,不知道是什么缘故,然后我可能是在windows10上安装藏文字体过多等原因,之前两年用的goldendict都显示藏文没出现任何问题,最近出现一些显示上的问题。您的这个goldendict的版本显示上没有问题,但是在词条内部双击藏文的时候会出现检索失败的问题。
(藏文学习者的福利)多个藏文汉文英文梵文对照佛学辞典集合(学者们的智慧结晶,请勿用于任何商业用途。) 下载链接:https://pan.baidu.com/s/1zNOliOHXim8aR_pGjy1vUA 提取码:8888 新收集到与题目相关的词典也会加入到链接中 汉藏对照词典(第二版) 藏汉大辞典_201710藏汉大辞典 藏族传统文化辞典 格西曲扎藏文辞典 东嘎藏学大辞典 梵藏…
把wikipedia禁用看看。
这个百度网盘的词典包含至少两本v3格式的词典,GoldenDict是不支持的。
编译时候报错了,说找不到libzim.8.dylib文件
error: /Applications/Xcode_14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: GoldenDict.app/Contents/Frameworks/libzim.8.dylib (No such file or directory)
Error: Process completed with exit code 1.
了,说找不到libzim.8.
估计是libzim升级到9.0造成的。 更新下代码
百度网盘为您提供文件的网络备份、同步和分享服务。空间大、速度快、安全稳固,支持教育网加速,支持手机端。注册使用百度网盘即可享受免费存储空间
提取码: pimt
Windows 11,6.5.2-GoldenDict.exe_windows-2019_20231107,播放音频有明显卡顿。
更换为6.6.0-GoldenDict.exe_windows-2019_20231107,音频问题已得到解决。
请问如何判断是否是v3格式的呢
用文本编辑器,打开 mdx 文件,如果打不开,把 mdx 文件后缀改成 txt,如果文本内容包含 GeneratedByEngineVersion="3.0"
字样,就是 v3 格式。
估计是libzim升级到9.0造成的。 更新下代码
可以编译了。不过运行的时候崩溃了,错误信息:
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @loader_path/libicudata.73.dylib
Referenced from: <6063EA70-69AE-3733-8F20-FC9FC834FB95> /Applications/GoldenDict.app/Contents/Frameworks/libicui18n.73.dylib
Reason: tried: '/Applications/GoldenDict.app/Contents/Frameworks/libicudata.73.dylib' (no such file), '/usr/local/lib/libicudata.73.dylib' (no such file), '/usr/lib/libicudata.73.dylib' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)
完整log:
report.txt (33.1 KB)
try install bres install icu4c
重新安装了一下icu4c,还是一样的错误
网站类的词典,最近没修改过。有问题很正常。没好办法解决。
libicu的版本经常变动,暂时没找到通用的方法处理。
崩溃的异常报告发一下
嗯嗯 ~~~
这个崩溃没有出现异常报告的弹窗,在哪里可以获取这个报告(前面那个libicudata的崩溃有弹窗,可以获取到错误报告)
ps. 刚重新试了一下,崩溃以后重新打开goldendict 这个时候按删除键又不崩溃了… 再关闭goldendict然后重新再打开,按删除键又会崩溃。如此循环
Install instructions for Windows, macOS and Linux https://xiaoyifang.github.io/goldendict-ng/install/. Filename pattern (文件名模式): [Qt version]-GoldenDict-ng-[OS]-[release-date].[ext] Qt6.X is recomm...
这个版本试下
没重现。。。。bz
这个版本试下
这个版本正常,没有崩溃
github还不支持mac14
大佬大概什么时候可以添加Mac的ARM支持?
等到github支持的时候
Win10 LTL
Goldendict-ng 23.11.09-alpha.20231123.8ea4ef84
Qt 6.6.0 Visual C++ Compiler 192930153 windows winnt 10.0.14393 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT NO_TTS_SUPPORT no_ffmpeg_player
更新:
重新安装,重新索引,查词的时候还是黑屏,
右键审查元素,然后点了几下就正常,
但是关闭后再打开还是黑屏,
审查元素那提示:
Uncaught ReferenceError:gdMakeArticleActive is not defined at :1:126
能确定是哪个词典引起的吗,这个错误,之前有人反馈过。
还不清楚,要不试试折半查找看看能不能把它定位出来
是个办法。。。。bz
清空了index和cache,content里面没有词典,没有其他js文件等的时候,问题还是存在。
gd-builtin.js 貌似是自带的,
gdMakeArticleActive 字段在gd-builtin.js 里面
黑屏的情况和gdMakeArticleActive应该是两个独立的问题。
你有自定义样式吗,
现在还黑屏吗,
js 错误的问题,单独兼容处理了。
fix: js undefined error by xiaoyifang · Pull Request #1298 · xiaoyifang/goldendict-ng (github.com)
感谢
貌似黑屏和js错误还真是独立的两个问题
//具体哪本词典还没有定位出来.
更新:
黑屏问题可能出在索引的时候。
在索引的时候黑屏,按F12审查元素有一定概率恢复正常
// 比如新建群组之类需要重新索引的时候还是会黑屏,F12审查元素的时候触发了回来正常
Goldendict-ng 23.11.09-alpha.20231124.fb85f68b
win10
构词法,wik,网站,词典服务器停用了,
content文件夹下面也是空的时候
F12 提示:
DevTools failed to load source map: Could not load content for qrc:///scripts/iframeResizer.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
一个warning,没有什么副作用。
发现现在切换标签页的时候,每次都重新加载,可以设置成不重新加载吗
比如我在一个标签查看abandon词条,往下翻了好多页后,发现需要再开一个标签页去查abate,查完abate返回之前已经打开的abandon的标签页,结果abandon标签页重新加载了。之前翻的很多页,又需要重新翻
Back in October Qt 6.6 released with Qt Graphs being introduced, more robust Wayland support, various render enhancements, and more
用goldendict-ng好久了,真的非常感谢,有没有donation page啥的,想请你杯咖啡压压惊。
不用了 多谢
macos M2 13.6.1 安装之后 无法启动 app
哪个版本 有什么报错
是的,这是个bug,我以为是在缓存的目录。!!
修改了
将禁用的词典拖到词典列表的最底部的时候,goldendict崩溃了
重现步骤:
菜单:编辑-词典(F3)-词典-词典列表滚动到列表最底部-拖动之前被禁用的词典到上面的词典列表的最底部,然后就崩溃了
log:
log.txt (153.6 KB)
自己编辑的版本吗,tts的模块有启用吗
嗯,自己编译的,就是直接fork过来,然后改了一个词头长度限制,其他地方都没有改过
应该是和系统有关
win10 LTSC 160* 不加载词典启动黑屏
win10 LTSC 22H 加载词典也没问题
13上没有复现。
没升级14的时候,也没这么多问题
windows最新版似乎无法取消全文搜索和设置最大保留已查询词条数,设置无效
没复现,截几个图看下。
0 GoldenDict 0x1025b50d1 0x102597000 + 123089
1 GoldenDict 0x102793c0d DictionaryBar::setDictionaries(std::__1::vector<std::__1::shared_ptr<Dictionary::Class>, std::__1::allocator<std::__1::shared_ptr<Dictionary::Class>>> const&) + 1037
2 GoldenDict 0x1027fae76 ScanPopup::updateDictionaryBar() + 86
有没有特定的词典激发的这个崩溃
有没有特定的词典激发的这个崩溃
不确定是哪本
0x1025b50d1 0x102597000
0 GoldenDict 0x1025b50d1 0x102597000 + 123089
可以根据这些数字代码查到哪本词典吗
可以根据这些数字代码查到哪本词典吗
不能。
fix/possible-macos-crash ,你用下这个分支编译个版本看看。
fix/possible-macos-crash
试了几次,没崩溃
不过下面这种情况,goldendict-ng 还是一直崩溃
重现步骤:
菜单:编辑-词典(F3)-词典-词典列表滚动到列表最底部-拖动之前被禁用的词典到上面的词典列表的最底部,然后就崩溃了
就是无法取消啊,取消后重启就又恢复原状了。
分支编译个版本看看
这个版本刚发现个严重问题:
就是将任意词典添加到任意群组以后,确定。回到词典界面后,原来的分组不见了,现在的分组是“全部”,而且其他分组都消失不见了。重启goldendict-ng后分组恢复正常
回到词典界面后,原来的分组不见了
应该是Qt 6.6.1的锅,换成6.6.0就没这个问题了
6.6.1 除了上面的问题外,设置界面、ctrl+c+c查词界面等需要弹窗的界面,偶然会打不开,重启软件才行
无法复现。
是不是你的配置文件config被只读了。
搞好了,是我修改配置后没点确认
请问最近两次更新好像没有mac版?另外,mac版中的设置选项有点问题。要退出后才能选择,且只能一次。
试了下,开启以后有一些效果,但好像不是真正的最后效果,必须重启才能看到真正的css效果。很奇怪
Goldendict-ng 23.12.07-HeavySnow.20231208.b0086d5c
Qt 6.6.1 Visual C++ Compiler 192930153 windows winnt 10.0.19044 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT no_ffmpeg_player 非常感谢提高如此好的词典工具,目前查词的时候鼠标箭头在转圈圈。不知道哪一版开始的,我不知道如何设置
网页没加载完
对,以前可以边加载也不显示鼠标转圈圈的
配置-网络-勾选:禁止载入来自其它站点的内容。不确定行不行。
感谢解答,经探索,是因为程序那里的在线词典花的时间比较多。取消程序词典之后好多了。
我用的windows版,今天发现启动GoldendictNG后,系统的Ctrl+c无法使用。
建议用新版覆盖安装一下
你说的系统的 Ctrl+c 无法使用指的是什么?
如果是说在启动 GoldendictNG 后,系统的 Ctrl+c 不能复制的话无法复现
如果是热键翻译的话,需要开启取词弹窗(灯泡图标)
可能我没有表达清楚,具体问题是这样的:
GoldendictNG设置取词热键Ctrl+C, Ctrl+C后,在其他应用中,如浏览器、MS word、记事本中,均不能通过键盘热键的方式(Ctrl+C;Ctrl+V)复制粘贴文字,但是,可以通过鼠标选中,并用右键菜单复制命令成功操作复制。
这要你自己排除问题了,检查是否真的ng启动时不能复制,退出则正常
检查系统中所有使用Ctrl+c热键的软件……
ng以管理员模式启动 看下
刚ctrl+c+c查词崩溃的日志:
刚ctrl+C+C又崩溃了
log.txt (135.8 KB)
Release GoldenDict-ng-v23.12.08-alpha.240102.2892eac7 · xiaoyifang/goldendict-ng (github.com)
用这个版本看下,试着改了下。
Release GoldenDict-ng-v23.12.08-alpha.240102.2892eac7 · xiaoyifang/goldendict-ng (github.com)
修改的哪个分支的代码,我合并后测试一下,我这边不能直接下载dmg测试,因为默认词头长度是100的,我改了256长度
fix/possible-macos-crash
我这边怎么合并下面这个pull request到我的fork 找了好久没找到
xiaoyifang:staged
← xiaoyifang:fix/possible-macos-crash
我的fork:
A feature-rich dictionary lookup program, supporting multiple dictionary formats (StarDict/Babylon/Lingvo/Dictd) and online dictionaries, featuring perfect article rendering with the complete marku...
收藏了,昨天没找到照着手动改了。目前ctrl+c+c暂时没出现崩溃,后面继续反馈
之前的崩溃是必现,还是偶现
偶现,上午又出现了一次崩溃,忘了收集log了。
再用一段时间看看
有什么特别的词典或者操作吗
词典几十本,不知道是不是具体哪本导致的
又因为是偶现的,也不太好找出来
操作就是ctrl+c+c弹小窗查词
崩溃之后重启,重复之前的操作,小窗查相同的单词,如果复现不了,很可能就是GD的问题。
重复之前的操作,小窗查相同的单词,如果复现不了
是的,复现不了
好想法,目前只能看到是非法访问,感觉是 字典的变量 dictionaries 被回收了,不知道为什么
请问新版有没有支持视频播放的版本?
支持webm等开源视频格式。
If possible, please explain in help section how we can transfer configs and dictionary settings from a previous GD version to a newly installed version.
the config file will ne reused which means you do not have to do anything
I transfered the config from a previous version to new version after reinstalling windows and changing disk drive, but still I had to create dictionary groups again and sort everything. Config didn’t work.
For mdict, I only transfered the software and dictionaries to anther Disk and it’s woking without problem.
GoldenDict-ng-v23.12.07-HeavySnow version has some problems. In sound++ it shows extra entries from index.
Please give some example
Those enteries are not available in mdict, eudict and previous version of goldendict.
I use the latest stable version namely GoldenDict-ng-v23.12.07-HeavySnow. Probably it is resolved in Alpha versions.
try to reindex the dictionary
I don’t know how reindexing work but I removed the dictionary from the folder and added again, no difference. This version has other problems too, like renewing search while changing tabs.
用我之前发的6.6.0版本的dll就行了
removed the dictionary from the folder and added again
removed the dictionary from the folder ,quit gd-ng ,open gd-ng and added again
I did the same. and what I found strange is that after adding the dictionary to folder and reopening GD, the dictionary is in the same position as before amongst other dictionaries. It is not added to the end of dictionary list.
Some of the dictionaries cannot be indexed by this version. For example, Fernald’s English Synonyms and Antonyms.
I tried again and again, it just can’t detect this dictionary.
请问是哪一个呢?
maybe you should check remove invalid index after quit
or you need to delete the index file manually.
You are right, Again I tried and it indexed Fernard. Don’t know why it couldn’t before, or I missed noticing it… Thank you.
你好,你的问题解决了吗?我也有相同的问题,同样是使用ODEglance遇到的
就是查词的时候,会有画面撕裂的情况,或者空白。这时候只要滚动一下鼠标滚轮就能显示正常
感谢付出,尝试了下anki导出的功能,想问下sentence这一栏是基于什么抓取的呢,词典里的特定class吗?
例如我导出这本词典,Sentence部分生成了加粗的"reduction",不清楚是从哪里来的。另外抓取的目标可以自定义吗?
期待这部分能出更多可定制的功能。
没有解决,目前用的旧版qt 6.5.0的某个版本无此问题
下载的网址打不开
使用github并不需要科学上网,使用各种改host的工具即可。 比如 https://www.dogfight360.com/blog/686/ https://gitdown.lanzouv.com/s/fetch-github-hosts 等
看2714、2716楼
qt升到6.7.0了,6.6.0的失效了
安装了启动不了。
详细的异常,发上来看下。
崩溃日志.txt (31.0 KB)
QT6.6、QT6.7的都试了一下,还是崩溃。
找的文件是libicudata.73.2.dylib,实际上是这个libicudata.73.dylib,macdeployqt的bug。我看下有没有办法手工处理下。
Install instructions for Windows, macOS and Linux https://xiaoyifang.github.io/goldendict-ng/install/. Filename pattern (文件名模式): [Qt version]-GoldenDict-ng-[OS]-[release-date].[ext] Qt6.X is recomm...
再麻烦试下这个
这个可以正常启动 (macOS 14.2.1 )
速度上会有优势吗 相比intel
不方便测试,词典库都在256词头长度的intel版content目录下,arm只导入了一部词典测试的。
要导入所有词库测试速度的话,只能合并代码后,自己编译后运行(因为需要256词头的自定义版)
不知道stage代码库上是否已经更新了
更新了。。。。。
刚编译试了下这个版本 6.6.1-GoldenDict_macos-13_homebrew_20240119
速度应该有提升,至少查小词翻页的时候非常流畅连续,没有像前一个版本偶尔跳过几个词典。
不过后台查看进程的时候,怎么提示还是intel版本
安装下这个,GitHub Apps - FlyCI-prod · GitHub
编译的时候,用这个action编译
编译的时候,用这个action编译
刚发现确实用错了action…
现在重新编译arm版本
arm版性能上没毛病
不过之前在群组管理页面,搜索词典的时候,删除字符导致崩溃的现象仍然存在。不过貌似崩溃的范围小了一些:只有在删最后1个字符和最后3个字符的时候才会崩溃,比如下面的“语法”搜索关键词在删“法”字符的时候没有崩溃,删“语”的时候必崩溃。
log.txt (146.1 KB)
- // When inserting new rows, make the first of them current
- selectionModel()->setCurrentIndex( model.index( start, 0, parent ), QItemSelectionModel::NoUpdate );
把这两行删除后,看下
哪部分,没出来
好的 看起来是bug
把这两行删除后,看下
可以了,不再崩溃了,可以作为长期版本使用
没看出来原因。你手工 按一下 Ctrl+S 能否恢复正常
使用Ctrl+S确实能恢复正常。
看起来是qt6.7的bug
https://bugreports.qt.io/browse/QTBUG-120191
先移除6.7的版本。
win7系统是不是不能用?
不支持。。。。。
arm版第一次崩溃:
ctrl+c+c小窗查词的时候,崩溃的(重启软件后,再次ctrl+c+c没有再次崩溃)
log.txt (117.7 KB)
频繁吗。。。。有什么规律吗
没什么规律,很随机。也不频繁…
发现6系列的版本都容易闪退,浏览下滑到某字典闪退,或者点击右上角的字典会闪退,退到了5.15.2版本才稳定不闪退。
使用的哪个版本?具体不清楚你的错误。
6.5.2-GoldenDict.exe_windows-2019_20231107到6.6.1-GoldenDict.exe_windows-2019_20240122的正式版本都闪退
下了旧版本
6.5.2-GoldenDict.exe_windows-2019_20230930没有闪退,后面的正式版都闪退。
[sound++22]
这个问题我也遇到了,sound++出现一些不应该出现的内容,多次尝试删除索引重建无效
还有一个问题:
打开程序后鼠标不在输入框,直接crtl+v会在一个从没建立过的“help”组进行搜索,不知道是我这里配置的问题还是bug
版本:
Goldendict-ng 24.01.22-LoongYear.20240122.3dddb3be
Qt 6.6.1 Visual C++ Compiler 192930153 windows winnt 10.0.22631 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT no_ffmpeg_player
arm版本:
ctrl+f 页内查找的时候,直接ctrl+v,没有粘贴到页内查找的输入框里,反而直接查询了(相当于在查询页面直接ctrl+v,无视了焦点当时处于ctrl+f输入框:可能实际上焦点没有在输入框)
貌似bug。。。。。
打不开下载地址了
建立index花很久的時間,4+小時都未完成,因為一直拖慢windows運行,只能放棄。這正常嗎?
ps: GoldenDict-ng-v24.01.22-LoongYear.240122.3dddb3be
菜单-帮助-配置文件夹,查看下index目录的大小。如果配置项里开启了全文搜索,这个index目录体积可能会非常大,建议先关闭再重新索引。如果全文搜索已经关闭了,索引4小时未完成是不正常的。
解决了,感谢!
崩溃日志.txt (147.6 KB)
mac只要一编辑词典,无论是确定还是取消,都崩溃。
arm版词典分组管理页面,添加词典到分组后,点击“确定”,goldendict崩溃
请问 LDOCE5++ En-Cn V2.15 单字、例句都无法发音要如何解决?
其它辞典像是 Collins COBUILD overhaul V2.30 发音没问题。
版本: windows 23.12.07-HeavySnow Qt6.6.0
已经试过群组内只放 LDOCE5++,应该不是和其它辞典有冲突。
官方版 1.5 有声音。
这个问题挺影响使用的,导致无法添加词典到分组了
补一个log:
log.txt (148.5 KB)
应该是qt bug ,github上有人提了
https://bugreports.qt.io/browse/QTBUG-121716
请教作者关于深色模式图片反色的问题:
软件版本为基于QT6.6.1的24.01.22,启用了深色阅读模式,想在某些字典中使图片反色(如字源、说文解字),参考了#1893楼的语句,但效果不是很好
img { -webkit-filter: grayscale(1) invert(1); filter: grayscale(0.80) invert(0.94); }
加一行 background-color, 如下
img {
-webkit-filter: invert(80%);
filter: invert(80%) brightness(100%);
background-color: transparent !important;
}
谢谢大佬!问题解决了
刚下载了龙年新版,还是不能全文搜索。这是怎么回事呢?是覆盖安装不可以吗?必须卸载旧版(之前也不能全文搜索)的,再安装新版的?
你有打开全文索引吗,全文索引的配置页面发一下
我也是这个新版,就是不建立index索引。和以前的版本一样
有什么错误吗,实在不行,如果词典不多的话,index文件整个删除看下。
删过了,一动不动。是不是以前修改过注册表,把ng的建立索引功能禁用了?
没这个功能。。。。
好奇怪。我就装两个版的吧
不知從甚麼時候起,從 Goldendict 裡復製詞典內容到 TextEdit 和 Screvener,就都是亂碼,只有直接去除格式地粘貼在新文件中,或粘貼到 Plain Text 中才正常顯示。請問這是我的問題還是?如何才能解決呢?@xiaoyifang
详细的log发一下
log.txt (180.3 KB)
GoldenDict-ng(Linux/macOS/Windows)基于Qt5.15.2/Qt6.X版本 - #3058,来自 xiaoyifang 这个原因。
用最新编译的版本试一下。 qt6.6.2的。
谢谢 xiaoyifang 添加以前要求的功能。
opt: allow add directory in portable mode
回报一下 Bug。
[GoldenDict-ng-v24.02.16-alpha.240216.fbe5335e]
[ 6.6.2-GoldenDict.exe_windows-2019_20240216.zip ]
Bug: 添加的目录在关闭 GD 重新打开后就消失了。无法记忆。
处理了。。。、。、
查询错误:程序返回,退出代码为 255 , 这个是什么原因造成的?另外请问下flatpak版是否可以调用pthon脚本?
上面我提的有關剪貼出現亂碼的問題,能否幫我看一下?@xiaoyifang
我怀疑是编码问题,是所有词典都会乱码,还是某些词典乱码?单本词典测试下,不要有在线词典,如果复制仍然出现乱码,把操作系统版本,GoldenDict的版本都发下,再把出现乱码的词典文件,上传到论坛。
Monier Williams.zip (14.7 MB)
多謝囘應,我測了一下,所有詞典複製時都亂碼。
操作系統是macOS 14.3.1 (23D60),GD 是 GoldenDict-ng dictionary lookup program, version 24.01.22-LoongYear.20240122.3dddb3be,據我記得,在 macOS 13 和 GD 之前的版本中也已如此,只是當時沒得空來發貼。
我現在上傳了一個 Monier William 的梵英詞典,截圖中的亂碼就是從這個詞典中粘貼而發生的。
還請費心研究一下!
我这边没有出现乱码,还是要等 @xiaoifang 来看。(感觉是别的原因,不确定。。
===
GoldenDict-NG:v24.01.22-LoongYear.240122.3dddb3be
macOS: 13.6.4
截图:
不知道。。。。。
菜单-文件-保存文章,然后用别的浏览器,打开看看,试试复制有没有乱码。
6.6.2 webengine dll
添加h264等视频格式支持,官方版本默认因版权问题不启用
理论上qt只要前二位版本不变都不需要更新
update:qt6.6.1不兼容此dll,请更新最新prerelease或者用之前6.6.0的dll
FreeMdict Cloud - A FreeMdict Storage
出現了有趣的情況:保存 html 文件後,用 Chrome 打開,顯示正常,但粘貼到 Texteditor 或 Scrivener 中,就是亂碼;用 Safari 打開,顯示正常,粘貼到 Texteditor 或 Scrivener 中,仍然正常,沒有亂碼。
Safari 中編碼是 UTF-8,Chrome 裡我不知道怎麼看。當然,直接從 GD 粘貼到Texteditor 或 Scrivener 還是亂碼。。。
Chrome 和 GD 里的编码都是 UTF-8。你测试过别的词典吗?比如下面这本,如果单本测试的时候,复制出来还是乱码,就有可能是系统环境的问题,因为 Chrome 也是相同的表现。
最初由现汉5文本手动校对到6版,后面第7版出来后发现之前校对的文本还是有很多问题,7版也只是添加新词没有做校对工作,直到半年前把APP上的数据重新刷了一遍;由于众所周知的原因APP版不可用、不可信,经过大半年时间校对,目前已到了勉强能用的水平。 原始词条:70,101(合并后67,439) 繁体/异体字索引:4,683 部分词组(含有类推简化字)的繁体索引*:103 插图:126 凡例附…
果然,現漢7拷貝正常,沒有亂碼。其它如「生津四雙解切換2022秋季版」、SOED6 等也可以正常拷貝。而 OED now、etym2023 就出亂碼。
我在 article-style.css 開始加了,沒有作用。
有甚麼辦法能知道為甚麼「現漢7」、「生津四雙解切換2022秋季版」、SOED6不會出亂碼呢?
猜测是有样式或者有特殊标签干扰。我这边没法复现,只能你自己操作,前面保存html文件时,把生成的files目录全删除了,然后再用浏览器打开html文件,看看能不能正常复制了,如果没有乱码了,说明问题在goldendict的文件里,如果仍然有乱码,说明问题在词典的html文件里,仔细检查每个文件一行一行删除,看问题出现在哪一行。(老版的GoldenDict,如果文字大量使用letter-spacing样式,会把整个程序卡崩溃,也是这样试出来的。
反馈一个问题:
如果我打开Co-pilot(preview),GD-ng(版本Goldendict-ng 24.02.16-alpha.20240216.fbe5335e
Qt 6.6.2 Visual C++ Compiler 192930153 windows winnt 10.0.22631 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT NO_TTS_SUPPORT no_ffmpeg_player)会在我关闭Co-pilot卡住,不能正确响应键盘或鼠标动作,不能关闭窗口,只能最小化。通过系统拖盘里的图标退出程序后,再启动才能正常使用。
这是正常窗口
多謝。刪除了生成的files目錄,用 Chrome 打開 html,有的有亂碼,有的沒有亂碼(出現和不出現亂碼的詞典和直接從 GD 複製粘貼時相似)。
而用 Safari 打開 單獨的 html,所有詞典複製後都不出現亂碼。
也就是說是詞典的html文件裡。不過我不懂碼,看不出問題來。我把 html 傳給 AI Claude,它也說不出具體問題來。我把 html 傳在這裡,能不能幫忙大概看一下有無明顯問題?
Claude:
I looked over the HTML code you provided and there are a few potential issues that could be causing text corruption when pasting into TextEdit:
Some potential fixes:
nara.html.zip (5.6 KB)
GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...
下载不下来啊,谁在百度分流一个下载源?
自己动手,丰衣足食
使用github并不需要科学上网,使用各种改host的工具即可。 比如 https://www.dogfight360.com/blog/686/ https://gitdown.lanzouv.com/s/fetch-github-hosts 等
你上传的这个压缩包里的 nara.html
文件是保存的时候直接生成的吗?这里面的 html 文件的标签有问题,包含两条 charset
属性,如果你没有修改,就是 goldendict-ng 的问题。查询别的词头,保存文章,导出来检查下。
<meta charset="utf-8">
我沒有修改。先前在 article-style.css 裡有一行 ,現在去掉了。
現在從 GD 中直接複製,和從 Chrome 中複製,都是部分亂碼,與先前不完全一樣。
我實在看不出是甚麼原因,這是第一段的碼,最先出亂碼的是「veda」:
cat.html.zip (265.5 KB)
veda.html.zip (161.3 KB)
20240122版试用了下:
还是不支持:Vocabulary.com Dictionary (修订第三版 作者:bt4baidu)下的例句翻页功能
还是不支持词典内的视频播放,
视频播放上面不是有人发了文件吗?
6.6.2 webengine dll 添加h264等视频格式支持,官方版本默认因版权问题不启用 用过6.6.0版本的就没啥更新的必要,qt只要前二位版本不变都不需要更新
<meta charset="utf-8">
这个应该是gd-ng添加的。
就算是版权问题,上面的帖子我没看到,那应该在顶楼说明。
我第一个问题有人提吗? Vocabulary.com 这个语料库翻页功能之前的GoldenDict支持,Mdict也支持,
仔细对比了下,只要文本使用了 font 标签的,并且 font 标签内部包含其他标签,复制出来就是乱码。font 标签已经淘汰了,Web 标准规范 (链接) 已经不建议再使用,浏览器也不再支持了,所以有可能会出现奇怪的问题。
<font color="MediumBlue">
<i>cátati</i>
</font>
GoldenDict-NG 使用和谷歌浏览器相同的浏览器内核,这种问题需要你自己导出词典文件,用正则把 font 标签替换成 span 标签,如果你不会操作的话,或者反馈给原作者解决。
<span style="color:MediumBlue;">
<i>cátati</i>
</span>
应该不是,我这边只有一条 charset
,我估计乱码问题以后可能还会有别人遇到,有位产量大的词典作者很喜欢用 font 标签。
下载得到的webengine_6.6.2.7z压缩包里面三个文件替换掉原程序下同名三个文件吗?
可是我替换以后,GoldenDict运行起来就有问题,文件不配套,主程序还是6.6.1
那就换主程序是6.6.2的版本
我今天才下的Latest 版本就是6.6.1的,6.6.2发布了吗?
最近的pre-release都是的
QT更新这么频繁有什么实质性进步?
基本的功能怎么都砍掉了?
我就问: Vocabulary.com Dictionary (修订第三版 作者:bt4baidu)下的例句翻页功能,怎么就不支持了,之前的GoldenDict支持,Mdict也支持,@xiaoyifang
Voca 为什么不用2023的最新版?除了英音,需要支持mp4其他都正常,包括例句翻页也支持的。
碎碎念 可能是看到牛津高阶(第10版 英汉双解)V14.3可以像第8版一样加单词音节划分吗? - 资源求助 - FreeMdict Forum , 才坚定了自己做词典的想法. 从发布第一个词典 OALD 2023.03 online V2023.08.19 (不再单独更新, 请用双解版) - 英英 - FreeMdict Forum, 今天刚好满一个月. 感谢这一个月来反馈问题及捐赠的坛…
各大词典我也选最优秀的版本用啊,不是不用你这个Vocabulary,用这个词典最看重的是语料库能在线更新查看各大欧美报刊的句子,你这个连看都看不到,怎么用?发音也不行。
另外,mp4播放应该不能成为绊脚石,之前不是安装LAVFilters插件后解决大多数音视频播放吗?
你好,不知道为什么查某个字就会闪退,但是有的又不会闪退,是不是某个词典的问题?这是报错。mac最新版:
报错 0222.txt (200.1 KB)
不能翻页那个不是js问题就是网络问题,pda都有人解决过
应该是这个版本,想要修改CSS的可以自己动手。
开源软件需要遵守开源协议。我这边除了英音播放不了,其他都是正常的,作者仍然活跃,有问题可以去原贴下反馈,或者换别的版本。
我是说在GoldenDict-ng不能翻页,我在之前的GoldenDict当然可以翻页。@xiaoyifeng
我也没说不是ng啊
vocabulary.com,刷新后经常遇到加载失败,这一步有时不会被执行到:
又是innerText惹的祸,和之前 OED now无法点击的问题 一模一样
原因:
不过还是无法使用系统查看器打开图像
看了下,也是一样的问题
多謝!詞典原作者是找不到了,我自己學着去改吧。正則可以叫 chatgpt 去寫。解壓和打包 mdx,用甚麼工具比較好呢,尤其是 macOS 中。以前用過 mdxbuilder,一直報錯,說文件太大,就沒有再弄了⋯⋯
需要先安装 mdict-utils
python3 -m pip install mdict-utils
解压运行下面命令,有问题的话参考文档说明
mdict -x dict.mdx
打包的话,可以运行下面的命令,把上面解压出的文件重新打包,注意修改文件名
mdict --title title.html --description description.html -a dict.txt dict.mdx
MDict pack/unpack/list/info tool. Contribute to liuyug/mdict-utils development by creating an account on GitHub.
@xiaoyifang, 你好! 鉴于Vocabulary.com Dictionary (20170103修订第三版,作者:bt4baidu)(下载链接: 百度网盘 请输入提取码 提取码: Voca)在欧陆词典和原 GoldenDict-1.5.0_(QT_5123)上均运行正常,而贵版Goldend-ng(测试用6.6.2-GoldenDict.exe_windows-2019_20240221)不能在usage examples下点击Prev和Next,请给予解决!谢谢!
另外,发现屏幕取词已勾选【取启动程序时启动屏幕取词】,但是在PDF文件或文本文件中,鼠标所在英文单词无取词反应,不知道时何缘故?
另外,每次Ctrl+C 复制任何内容(无取词意向)都弹出屏幕取词窗口,这个违反常理。原官方版可以设置位Ctrl+C+C(连续两次按C键)才取词,否则不取词,而新版软件无法这样设置成功。请问有什么解决办法?
你检查下菜单-配置-网络-禁止载入来自其他站点的内容(封杀广告),注意前面的✓需要去掉。NG是可以在 Usage Examples 下点击 Prev 和 Next 的。
GoldenDict-ng is a open source, cross platform, multi formats, feature rich dictionary 是一个开源跨平台支持各种格式的字典程序
你看下官网的描述,取词弹窗触发的方式是通过复制文本,也就是 crtl+c 。(这块好像是因为通过其他方式不好实现)
而首选项中使用热键翻译剪贴板内容的默认热键是 crtl+c+c 。
因此会造成你说的这个情况,从使用方便的角度,目前这个设计确实有点不合逻辑,正常来说大家都习惯于开启屏幕取词就不需要额外按键了。
谢谢!的确时这样的。
我想问问,使用时用Portable模式好还是非portable模式好? 为什么我在非portable模式下见好分组信息后,改变相应config路径使其适用portabel模式,可是分组信息下的词典就全部丢失了? (反之依然,先在portable模式建好分组和词典信息的config文件到非portable模式下,词典项全部丢失),之前的GoldenDict,在portable模式和非portabe模式下,只用改边一下config里的词典路径,就可以正常用了。
另外,发现屏幕取词已勾选【取启动程序时启动屏幕取词】,但是在PDF文件或文本文件中,鼠标所在英文单词无取词反应,不知道时何缘故?
windows下不支持 鼠标取词。你可以结合其他取词软件使用
另外,每次Ctrl+C 复制任何内容(无取词意向)都弹出屏幕取词窗口,这个违反常理
把灯泡关掉
请问windows下用Portable模式好还是非portable模式好? 为什么我在非portable模式下见好分组信息后,改变相应config路径使其适用portabel模式,可是分组信息下的词典就不显示? (反之依然,先在portable模式建好分组和词典信息的config文件到非portable模式下,词典项全部丢失),之前的GoldenDict,在portable模式和非portabe模式下切换,只用改边一下config里的词典路径,就可以正常用了。
还有,反应下在线词典显示的问题,比如添加剑桥英汉词典(Cambridge English–Chinese (Simplified) Dictionary: English to Mandarin Chinese
。。。。。。
不要这样好不好,论事不论人。
多谢!但还是会报错,这是今天的报告,不知道是哪个词典还是什么设置出了问题,查单字的时候会出现这种情况,如果查词只出现部分词典,就不会:
0225报错.txt (169.2 KB)
不是设置问题,这两个日志文件里都是同一个错误,应该是有词典的mdd文件损坏了。建议单本单本词典测试下,应该很好复现。如果词典很多的话,可以创建一个新的分组,每次测试一半的词典。
有没有批量检测mdd是否损坏的工具
没有现成的工具,mdd需要提取所有文件才能确定文件是否损坏。
按我的理解,不同模式下的配置文件存储位置是不同的,具体我记不清了。所以只更改词典库的路径肯定不行的,分组信息应该是保存在当前的配置文件里的,改变模式首先得复制原配置文件,记得从传统模式变成Portable模式第一步就是要把原来在用户文件夹里的两个文件复制到Portable文件夹里
好的,谢谢!
解决了,删除了一本词典,瞬间就好了。
@xiaoyifang ,楼主好!目前个人发现个别问题,请助力攻克!
在非portable模式(传统模式)下见好分组信息后,改变相应config路径使其适用portabel模式,可是分组信息下的词典就不显示了 (反之依然,先在portable模式建好分组和词典信息的config文件到非portable模式下,词典项全部丢失)。
目前不支持来回切换。 知道原因,不方便修改。
在线词典显示不良,比如添加剑桥英汉词典(Cambridge English–Chinese (Simplified) Dictionary: English to Mandarin Chinese
在线词典的支持收到cors的影响。 这个在目前的模式下没法修改。后续可能会调整处理的方式。
经典的朗文词典LDOCE5++ En-Cn V2.15在显示窗口右下角的Longman图标时,总是显示在该词条的最下端,而不是窗口的右下角(比如在查词:about时。)
这个是受到一个css的特性的影响,contain-intrinsic-size - CSS: Cascading Style Sheets | MDN
一般的词典都没有这个的支持,后续看是否移除掉。这个内置css样式
或者你手工重写下也可以。参考 大神帮我看下,为啥我的goldenMDict老是闪退?一查字就闪退? - #12,来自 xiaoyifang
后续会只在 现代样式下 启用这个特性。
xiaoyifang:staged
← xiaoyifang:opt/css-instric-feature-remove
目前不支持来回切换
目前已经是portable模式了。想把mdx词库移到别的存储位置,这种情况应该不需要重新索引,是吗?
或者需要进行哪些设置可以保证修改词库位置后,不用重新索引,并且保留词典分组信息
现在。需要重新索引,
如果不想重新索引,可以更改词典计算dictionaryId的逻辑,计算的时候不要包含 词典所在目录的父目录信息。
这句话理解起来费力。
恕我冒昧,关于portable模式和非portable模式来回切换,原来的GoldenDict是可以的,为什么没有继承呢?
目前是不支持。
可以更改词典计算dictionaryId的逻辑,计算的时候不要包含 词典所在目录的父目录信息
后续新版本可以更改为这个逻辑吗?词典太多,不想重新索引一遍
包含 词典所在目录的父目录信息
感觉如果一定要包含父目录的信息,那就不是真正的portable模式了
可以考虑自动把索引后的索引文件,直接放在词库目录下面,这样不管词库目录以后移动到哪里,都不需要重新索引了
词典ID和索引的位置没关系,用的是词库的位置,只要词库位置固定就不需要重新索引。官方旧版逻辑也是这样的,所以当你想把mdx词库移到别的存储位置,索引会重新计算。这种好处是每次启动不用重新计算文件的哈希。只要确保词库的位置和文件时间没变化,就可以快速跳过启动时索引检查的阶段。
portable模式下没有包含,非portable模式下有包含,所以两个总计算方式的id不一样.
原版有额外的逻辑处理,只是我觉得这并不是常规的使用场景,所以就不再支持了
portable模式下没有包含
我现在就是portable模式。如果没有包含的话,我把词库目录设置个不同的位置是不是不用重新索引了?
反馈两个问题:
portable模式下吗,原则上是的,不过现在portable模式下默认的content目录应该没法删吧
具体一些ctrl+c+c? windows?
你点击的是托盘图标吗?可以直接打开的。
默认的content目录应该没法删
content目录不去动它。
现在设想的操作是:
把content目录里面的MDX词库移动到其他位置B,然后在菜单:“编辑”-“词典…”-“词典来源”设置里把上面的位置B添加为新的词典目录。
这样操作,会触发重新索引所有词典吗?
是macOS系统。
Goldendict-ng 24.02.16-alpha.20240216.fbe5335e
Qt 6.6.2 Clang 15.0.0 (clang-1500.0.40.1) macos darwin 23.3.0 arm64-little_endian-lp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT NO_TTS_SUPPORT no_ffmpeg_player
复制快捷键:command+C
你点击的是托盘图标吗?
我试了不行,点击托盘图标没有反应,console奔溃日志没有显示。我不知道为什么
反馈-录屏.7z.003 (18.1 MB)
反馈-录屏.7z.002 (19.1 MB)
反馈-录屏.7z.001 (19.1 MB)
你试下。。。。。。
OK… 我得先做好整个的备份,以防万一…
系统托盘是指界面右上角的那一排图标。我复现不了你的问题,看视频我好像没有在系统托盘图标的区域看到GD的图标,不确定是什么原因,我这边是正常的,macOS 13.6.1。
你好 我好奇为什么不支持监控剪贴板
按目前操作的话要按两下才能查询当前复制的词,太麻烦,而且复制途径可能不是热键,比如能检测剪贴板就可以结合 Umi-OCR开源、免费的离线OCR软件
当然我看帮助也有其他途径ocr:
今天才整明白GoldenDict-ng的使用,鉴于描述内容较长,特拟新帖: