port to qt5.15.2 with qwebenginewidgets#1400
port to qt5.15.2 with qwebenginewidgets#1400xiaoyifang wants to merge 120 commits intogoldendict:masterfrom
Conversation
|
Currently main funcitons work. |
|
there is error with building with LLVM/Clang-13 |
|
which qt version do you use ?
seems like some os platform error. ,you are using unix? the LC_ALL is define in locale.h . |
|
Gentoo. 5.15.2.9999.
that works |
|
context menu item "Inspect" and hotkey F12 is not work, no error message |
it seems that the inspect function has changed from webkit to webengine.I intend to remove this function. |
try again. |
|
Search in tab (Ctrl+F) started working. Excellent. |
747ce72 to
8e2eac0
Compare
1a17673 to
5860e81
Compare
|
Access to font at 'bres://64a1092…/lang.ttf' from origin 'gdlookup:' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, https. |
|
发现三个小问题: Google translate
Baidu translate
|
|
Failed to decode downloaded font: bres://64a109269d8b6490c042851acf641508/lang.ttf Request URL: bres://64a109269d8b6490c042851acf641508/lang.ttf |
is the font file corrupted? |
|
font file ok, 链接: https://pan.baidu.com/s/1AxhTevyArlIymw5wmFNCPg |
It's more like a chrome issue. |
1 ,fixed. |
|
2, can not reproduce ,need more detailed steps. can you upload the dict file. dict file 1、query word apple, |
should be fixed now. |
|
Nice progress! One more bug found: GoldenDict is no longer able to deal with gdprg:// URI for programs. E.g. if my program ID is efdf4bba08230a5fe68d5a041d6127e5 and my word is "sportbatis", then full URI would be |
|
this will be closed ,but will leave open for a few days just for reference. |
OK, no problem.
Sort by Recently updated: https://github.com/goldendict/goldendict/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed |
thanks. |
|
move to #1447 |


I have little background in qt programming(now have a little). help need to fix bug and test.
NOTE:other developers are recommend to use dev branch .this branch has modified according PR request .
parallel branches
web caching optimize resources web cache.feature/winlib win specific: 1,remove submodule;2 upload the precompiled library. 3.remove some old useless lib. Users should be able to download this branch and build in windows directly without trouble.merged into devhigh dpi high dpi imagesmerged into devDone:(all the changes existed in dev branch.)
replace webkit with webenginewidgets
clean old code.
if 0code sectionrename qt4x5.hh to utils.hh,for the name is not proper now.
remove iconv partly,use qtextcodec instead.
fix the old bug Goldendict compiled for Windows from source does not work with DSL and MDX dictionaries. #1322 by the way
remove dependency of iconv lib completely,use qtextcodec instead. has not merge into this PR yet. in this branch https://github.com/xiaoyifang/goldendict/tree/remove-iconv-lib
bug, found dictionaries panel show all the dictionaries which is not correct.
bug,F12 inspect function.
bug ,double click event.in webengineview widget. the mouse event was eated by child widget.
bug,bword link (hunspell dictionary) navigation error.
single click to select the word
(work inside iframe)Fix:open image url in external viewer. (only worked with external images)
bug:relative url cause about:blank#block in GD.
bug:Right context menu not display the dictionary list
improvement: include jquery
improvement: add webchannel.
improvement:stylesheet css file.use external link instead of embed.
by using external file syntax.the browser can cache the file.improve web performance in a way.
improvement:seperate javascript file from cpp code.
improvement:mediawiki request will hang forever,if can not access .
improvement:large mdd file support on windows from @csg2008
fix: a mdd file chunk overlap problem from @csg2008 (this is an old bug also existed in official release).
imp. add high dpi support replace png icon with svg
fix: improper maked mdx file embed css files in which embed font's url such as './font.woff' can not be parsed.
imp. add clear:both articleseperator in the article css style. to avoid collapse banner overlap with dictionary content.
imp. zoomfactor cause web page flicker during loading the content. ease this situation in some way.
In Progressing:
how to use with ocr
prerelease version auto generated by github action (both windows and linux appimage)
https://github.com/xiaoyifang/goldendict/releases