Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ziyuanding opened this issue Sep 22, 2024 · 3 comments · Fixed by #436
Closed

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

ziyuanding opened this issue Sep 22, 2024 · 3 comments · Fixed by #436

Comments

@ziyuanding
Copy link
Contributor

ziyuanding commented Sep 22, 2024

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
Copy link
Owner

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
Copy link
Owner

sanjacob commented Oct 22, 2024

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
Copy link
Owner

Fixed, release within a day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants