1
Programming / Re: Qt6 Application Testing
« on: September 05, 2024, 01:09:51 pm »
Out of available low shared storage ?
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Remi
I just tried https://earthquakes.volcanodiscovery.com/ with latest qt6 and dooble. The result was that the page loaded enough to display then dooble closed with no log. Definitely a problem there as I tried that url 2 more times with the same result.
Regards
Pete
Hi Remi
I just tried https://earthquakes.volcanodiscovery.com/ with latest qt6 and dooble. The result was that the page loaded enough to display then dooble closed with no log. Definitely a problem there as I tried that url 2 more times with the same result.
Regards
Pete
Hi Pete, Hunspell uses the myspell dictionaries and I believe most have hunspell installed, Firefox and Thunderbird require it, SeaMonkey I accidentally used the intree version and then decided to leave it that way.
Anyways the ones I posted are likely more up to date and already converted.
I finally worked out (with help from Steven!) how to fix the compilation of Qt6 with a newer gcc. I've rebuilt all the libs except qtwebengine and it seems to work. I'm not really expecting this to fix anything, but it simplifies my deve environment by allowing me to standardise on gcc 14.2.0.
https://smedley.id.au/tmp/qt6-6.2.9-gcc14-qtwebengine-6.2.6-os2-20240901.zip
I've started a build of qtwebengine - but given the compilation time, it will be a couple of days before I have this all fully rebuilt with gcc14.
Cheers,
Paul
Edit: 4 build breaks in the first ~2000 objects. Started with 25763 to go, now 23441 to go.
Edit2: 20,000 files to go... I'm sure it will break as soon as I stop watching
I did a check removing QTwebengine only but not enough to resolve the problem.
To correct user agent detection, have to remove the qtwebengine and dooble from user agent setting (QT5 doesn't have them)
FWIW - dooble on Ubuntu behaves the same way with https://web.whatsapp.com/ - seems to be a whatsapp bug with how they interpret the useragent.
Other things I found:
Trying to use the google translate option, the processes link is set incorrectly.
Original link:
https://www.os2world.com/cms/
The issued link for google !
https://www-os2world-com.translate.goog//cms/?_x_tr_sl=auto&.........
A duplicate // before cms
Hmm, this did work, see the original posted picture referenced here, https://github.com/textbrowser/dooble/issues/200#issuecomment-1819629660 the picture clearly shows a double // and working.
It is easy enough to remove the / It needs more testing, so here is a test build if you want to put it through its paces.
Hi Dave,
This build corrects the double // for the google translate tool.
But, dictionaries aren't found (canot be accessed *.bdic) and the message when renaming the dictionary path start with:
"Please read K:/work/dooble-dry/source/...." this is your disk path
Something got wrong into this Dooble build.
Back to previous build, message is correct and after correcting the path name, dictionaries are found
Did the message say where in the source to read? Quickly looking, I can't find it.
set qtwebengine_dictionaries= does work here with the full path name including drive letter and using / instead of \ for directory separator.
Hi Remy,
After all your fun and games is there any advantage going to 5.1? At the moment I am quite happy with 5.0.7 that is working without problems on my 30 inch 2560x1600 monitor.
I'm going back from 6.2.9 to 6.2.8 which seems to be better.
Under 6.2.8, https://web.whatsapp.com is displayed, than medium cpu load and than the QR code is displayed to authorize whatsapp sync with mobile and conversations can start.
Under 6.2.9, https://web.whatsapp.com is displayed, than higher and longer cpu load, no QR code displayed and ends with a system hung and have to power off/on my tower computer.
Other things I found:
Trying to use the google translate option, the processes link is set incorrectly.
Original link:
https://www.os2world.com/cms/
The issued link for google !
https://www-os2world-com.translate.goog//cms/?_x_tr_sl=auto&.........
A duplicate // before cms
Hmm, this did work, see the original posted picture referenced here, https://github.com/textbrowser/dooble/issues/200#issuecomment-1819629660 the picture clearly shows a double // and working.
It is easy enough to remove the / It needs more testing, so here is a test build if you want to put it through its paces.
b. Chrome user agent isn't correctly indentified by web sites (this works under dooble qt5 after setting a version above 60) - test done using whatsapp online site
Are you able to post the results from dooble with qt5 and qt6 of https://www.whatismybrowser.com/detect/what-is-my-user-agent/
Ideally if you can check with simplebrowser.exe as well just to make sure it's not dooble futzing with the user agent...
dooble-qt6 reports: "Mozilla/5.0 (OS/2; OS/2 i386) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.2.6 Chrome/94.0.4606.126 Safari/537.36 Dooble/2024.08.20"
simplebrowser-qt6 reports: "Mozilla/5.0 (Unknown; OS/2 i386) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.2.6 Chrome/94.0.4606.126 Safari/537.36"
dooble-qt5 reports: "Mozilla/5.0 (Unknown; OS/2 i386) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36"
I must have an old dooble-qt5 installed that pre-dates: https://github.com/bitwiseworks/dooble-os2/commit/d03b9359c7f0816a7231f4adc03c25ba6c1a331f
Maybe I misunderstand the problem - are you saying you are OVERRIDING the user agent, and this isn't working?