-
Notifications
You must be signed in to change notification settings - Fork 72
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
After restarting the software, all localStorge data will be cleared. #1469
Comments
Describe bug After saving the data to localStorge, it will take effect without restarting. It will be cleared after restarting the software. Steps to reproduce bug
Desired results After exiting the software, localStorage data can still be saved. Relevant screenshots After writing, you can save normally without exiting. But after restarting the software, all data was cleared. System and software versions Goldendict-ng 23.12.07-HeavySnow.20231208.b0086d5c |
gd-ng用的webengine相当于是 隐私模式 的浏览方式。 应该不会持久保存相关信息 |
The webengine used by gd-ng is equivalent to the privacy mode browsing method. Relevant information should not be persisted |
https://doc.qt.io/qt-6/qtwebengine-features.html#local-storage 按照官方文档说明应该是支持的,看能否支持下 |
https://doc.qt.io/qt-6/qtwebengine-features.html#local-storage According to the official documentation, it should be supported. Let’s see if it can be supported. |
用在什么地方的? 如果确实有需要,后续可以开启看下 |
Where is it used? If you really need it, you can open it and check it out later. |
js中的自定义功能开关和配置 目前是单独做了词条配置页面,方便普通用户按需配置功能特性,可以不修改js文件,重启软件或者清除缓存让配置生效 |
Custom function switches and configurations in js At present, a separate entry configuration page is created to facilitate ordinary users to configure functions and features as needed. They can restart the software or clear the cache to make the configuration take effect without modifying the js file. |
描述 bug
保存数据到localStorge后,不重启可以生效,重启软件后会被清空
复现 bug 的步骤
期望的结果
退出软件后,仍然能保存localStorage数据
相关的截图
写入后,不退出可以正常保存
但重启软件后,所有数据都清空了
系统和软件的版本
Goldendict-ng 23.12.07-HeavySnow.20231208.b0086d5c
Qt 6.6.1 Visual C++ Compiler 192930153 windows winnt 10.0.22631 x86_64-little_endian-llp64
Flags:USE_XAPIAN MAKE_ZIM_SUPPORT USE_ICONV MAKE_CHINESE_CONVERSION_SUPPORT no_ffmpeg_player
The text was updated successfully, but these errors were encountered: