[SOLVED] Selecting Help Tab in StartPage causes 100% progess bar

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

[SOLVED] Selecting Help Tab in StartPage causes 100% progess bar

Post by turn211 »

Start FreeCAD. Go to Startpage. Select Help tab. 100% progress bar usage is displayed in lower bottom right. Will not go away until something is reloaded.

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Canada (en_CA)

Edited: Grammar
Last edited by turn211 on Tue Oct 12, 2021 4:06 pm, edited 2 times in total.
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Selecting Help Tab in StartPage causes 100% progess bar

Post by bitacovir »

I confirm.
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.24693 (Git)
Build type: Release
Branch: master
Hash: e01f0d25d5f3ef9ceb66aa087212121e9f2f2e8b
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by wmayer »

IIRC we had this issue in the past and the problem was the missing openssl dll. Can you check on your system if your FreeCAD installation provides the file and if there that it's loaded at runtime? The latter can be easily tested with the utility Process Explorer which lists all loaded dlls of an application.
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by turn211 »

wmayer wrote: Thu Apr 15, 2021 9:07 am IIRC we had this issue in the past and the problem was the missing openssl dll. Can you check on your system if your FreeCAD installation provides the file and if there that it's loaded at runtime? The latter can be easily tested with the utility Process Explorer which lists all loaded dlls of an application.
Ok. My system, FreeCAD 0.19.1 and the Developement builds don't have openssl.dll. Obviously it's not loaded. Realthunders latest build has openssl.dll and it's not loaded at runtime and still exhibits the bug.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by sgrogan »

wmayer wrote: Thu Apr 15, 2021 9:07 am IIRC we had this issue in the past and the problem was the missing openssl dll.
The problem as I remember is that Python and QT used different ssl
I think it's ssleay32.dll and libeay32.dll
I'll look into it.
"fight the good fight"
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by wmayer »

This was the old thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=19419

Inside my LibPack I have ssleay32.dll and libeay32.dll but when checking the loaded DLLs with the Process Explorer they are not loaded when Qt's web engine loads the start page.

The DLLs will be loaded when using Qt's network module:

Code: Select all

from PySide2.QtNetwork import *
from PySide2.QtCore import *

mgr = QNetworkAccessManager()
reply = mgr.get(QNetworkRequest(QUrl("https://ipinfo.io/ip")));
reply.error()
content = reply.readAll()
content.data()
When I remove ssleay32.dll, libeay32.dll and _ssl.pyd then the start page or external pages still load fine for me. So, the problem must be something else.
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by turn211 »

Maybe this helps. Selecting help tab in Startpage to cause 100% progress bar one can get rid of it by applying Edit>Preferences>Ok
User avatar
turn211
Posts: 162
Joined: Mon Feb 01, 2021 11:37 pm

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by turn211 »

The bug seems to only present itself from the StartPage. Example: Create New from Startpage causes 100% Progress Bar. File > New does not
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by chennes »

I can't figure out the underlying cause of the "failure", but since there doesn't appear to be any useful way to figure out what QtWebEngine thinks went wrong, I propose that regardless of the "OK" status of the operation, when the load is finished, we hide the progress bar. See PR 5107.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [BUG] Selecting Help Tab in StartPage causes 100% progess bar

Post by chennes »

Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply