sanjacob / BlackboardSync

Download your Blackboard Learn content automatically
https://bbsync.app
GNU General Public License v2.0
34 stars 11 forks source link

[Bug Report]: cannot auto login after installed 0.17.0 #387

Closed ziyuanding closed 1 month ago

ziyuanding commented 2 months ago

BlackboardSync Version

0.17.0

BlackboardSync Release

by downloading Blackboard.Sync-0.17.0.exe from github release page and install

Python Version

No response

Operating System and Version

Windows 10 22H2 19045.4894

University Name

University of Western Australia

Problem Description

after received the update notification, I installed this latest version 0.17.0. However, I need to login every time I reopen this program. i guess cookie is not being correctly stored?

I don't think there is any changes happened on the LMS side as the old version of BBSync (0.11.2) could still work today, the only reason I moved to 0.17.0 is I cannnot find a way to disable the update notification. image

Log File Contents

the log file is empty.

sanjacob commented 2 months ago

The reason might be because of the update to Qt 6, as the cookie is not and was never manually stored by the app. I will see if there is a way to fix it.

Unfortunately there isn't a way to disable the notification in the app (maybe you can block all of our notifications on windows permissions).

sanjacob commented 1 month ago

You are correct that this is a new issue. I found this in the Qt changelog:

QWebEngineProfile::defaultProfile() Has been removed. The default profile is now an off-the-record profile, and only used if a QWebEnginePage is created without an explicit profile. To maintain Qt 5 like behavior, create a global profile called "Default" and use it when creating every QWebEnginePage.

Default Profile

The default profile is now off the record. To have a standard browser profile with disk-cache and cookies, we recommend creating your own profile and using that explicitly.

Source: https://doc.qt.io/qt-6/qtwebengine-changes-qt6.html

sanjacob commented 1 month ago

Fixed, release within a day