altairwei / WizNotePlus

A community-driven cross-platform note-taking client.
https://altairwei.github.io/WizNotePlus/
Other
578 stars 87 forks source link

Ubuntu 升级到 22.04后,WizNotePlus 出问题了 #224

Closed grassvalley closed 2 years ago

grassvalley commented 2 years ago

今天把 ubuntu 升级到 22.04 后,发现 WizNotePlus 出问题了。具体表现是,笔记内容显示不出来,是一片空白,只能看到笔记标题和创建时间、更新时间之类的简要信息,下面显示内容的地方是一片空白。

altairwei commented 2 years ago

你打开 "帮助" 里面的 消息控制台,看看有啥报错信息。

grassvalley commented 2 years ago
2022-04-21T13:23:11: set server :  "https://api.wiz.cn/"
2022-04-21T13:23:11: set user id for token ;  "mlyppw@163.com"
2022-04-21T13:23:11: QWidget::setLayout: Attempting to set QLayout "" on QMainWindow "", which already has a layout
2022-04-21T13:23:11: QFont::setPixelSize: Pixel size <= 0 (-5)
2022-04-21T13:23:11: find group root:  "财务交流"
2022-04-21T13:23:11: 0
2022-04-21T13:23:13: new server "https://vipkshttps14.wiz.cn"
2022-04-21T13:23:14: [Sync] syncing all started, thread: 0x7f9e9b7fe640
2022-04-21T13:23:14: client version: QTLINUX(2.10.2)
2022-04-21T13:23:14: [Sync] "----------同步开始----------"
2022-04-21T13:23:14: [Sync] "连接服务器"
2022-04-21T13:23:14: [Sync] "登录"
2022-04-21T13:23:14: [Sync] Syncing all notes...
2022-04-21T13:23:14: [Sync] "获取企业群组信息"
2022-04-21T13:23:14: [Sync] "获取群组信息"
2022-04-21T13:23:14: downloader start to download :  "mlyppw@163.com"
2022-04-21T13:23:15: [CWizDatabaseManager] Group info downloaded...
2022-04-21T13:23:15: [Sync] "数据库数目: 2"
2022-04-21T13:23:15: [Sync] "下载设置"
2022-04-21T13:23:15: [Sync] "下载消息"
2022-04-21T13:23:15: [Sync] "上传消息"
2022-04-21T13:23:15: get modified messages , size ;  0
2022-04-21T13:23:15: [AvatarHost]avatar file exists , remove it : true
2022-04-21T13:23:15: [AvatarHost]fetching finished, guid:  "mlyppw@163.com"
2022-04-21T13:23:15: [AvatarHost]download pool is clean, thread:  0x7f9f62232900
2022-04-21T13:23:15: [Sync] "同步群组用户"
2022-04-21T13:23:15: [Sync] "----------同步个人笔记----------"
2022-04-21T13:23:15: [Sync] "当前数据库编号: 0"
2022-04-21T13:23:15: [Sync] "开始群组: "
2022-04-21T13:23:15: [Sync] "连接服务器"
2022-04-21T13:23:15: [Sync] "获取服务器信息"
2022-04-21T13:23:15: [Sync] "获取已删除列表"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传已删除列表"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传标签"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传样式"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传笔记"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "同步设置"
2022-04-21T13:23:15: [Sync] "上传附件"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载标签"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载样式"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载笔记"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "同步设置"
2022-04-21T13:23:15: [Sync] "同步设置"
2022-04-21T13:23:15: [Sync] "下载笔记参数"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载附件"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "完成群组: "
2022-04-21T13:23:15: [Sync] "----------同步群组----------"
2022-04-21T13:23:15: [Sync] "当前数据库编号: 1"
2022-04-21T13:23:15: [Sync] "----------同步群组: 财务交流----------"
2022-04-21T13:23:15: [Sync] "开始群组: c8bc44f6-d92e-4610-819f-b2a44a6c338d"
2022-04-21T13:23:15: [Sync] "连接服务器"
2022-04-21T13:23:15: [Sync] "获取服务器信息"
2022-04-21T13:23:15: [Sync] "获取已删除列表"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传已删除列表"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传标签"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传样式"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "上传笔记"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "同步设置"
2022-04-21T13:23:15: [Sync] "上传附件"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载标签"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载样式"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载笔记"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "同步设置"
2022-04-21T13:23:15: [Sync] "同步设置"
2022-04-21T13:23:15: [Sync] "下载笔记参数"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "下载附件"
2022-04-21T13:23:15: [Sync] "未改动,跳过"
2022-04-21T13:23:15: [Sync] "完成群组: c8bc44f6-d92e-4610-819f-b2a44a6c338d"
2022-04-21T13:23:15: [Sync] "群组 财务交流 同步完成"
2022-04-21T13:23:15: [Sync] "----------下载笔记内容----------"
2022-04-21T13:23:15: [Sync] "当前数据库编号: 1"
2022-04-21T13:23:15: [Sync] "----------同步完成----------"
2022-04-21T13:23:17: oldSize:  QSize(-1, -1) , newSize:  QSize(1282, 998)
2022-04-21T13:23:26: [Sync] syncing all started, thread: 0x7f9e9b7fe640
2022-04-21T13:23:26: client version: QTLINUX(2.10.2)
2022-04-21T13:23:26: [Sync] Syncing all notes...
2022-04-21T13:23:26: [Sync] "----------同步开始----------"
2022-04-21T13:23:26: [Sync] "连接服务器"
2022-04-21T13:23:26: [Sync] "登录"
2022-04-21T13:23:26: [Sync] "获取企业群组信息"
2022-04-21T13:23:26: [Sync] "获取群组信息"
2022-04-21T13:23:26: downloader start to download :  "mlyppw@163.com"
2022-04-21T13:23:26: [CWizDatabaseManager] Group info downloaded...
2022-04-21T13:23:26: [Sync] "数据库数目: 2"
2022-04-21T13:23:26: [Sync] "下载设置"
2022-04-21T13:23:26: [Sync] "下载消息"
2022-04-21T13:23:26: [AvatarHost]avatar file exists , remove it : true
2022-04-21T13:23:26: [AvatarHost]fetching finished, guid:  "mlyppw@163.com"
2022-04-21T13:23:26: [AvatarHost]download pool is clean, thread:  0x7f9f62232900
2022-04-21T13:23:26: [Sync] "上传消息"
2022-04-21T13:23:26: get modified messages , size ;  0
2022-04-21T13:23:27: [Sync] "同步群组用户"
2022-04-21T13:23:27: [Sync] "----------同步个人笔记----------"
2022-04-21T13:23:27: [Sync] "当前数据库编号: 0"
2022-04-21T13:23:27: [Sync] "开始群组: "
2022-04-21T13:23:27: [Sync] "连接服务器"
2022-04-21T13:23:27: [Sync] "获取服务器信息"
2022-04-21T13:23:27: [Sync] "获取已删除列表"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传已删除列表"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传标签"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传样式"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传笔记"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "同步设置"
2022-04-21T13:23:27: [Sync] "上传附件"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载标签"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载样式"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载笔记"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "同步设置"
2022-04-21T13:23:27: [Sync] "同步设置"
2022-04-21T13:23:27: [Sync] "下载笔记参数"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载附件"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "完成群组: "
2022-04-21T13:23:27: [Sync] "----------同步群组----------"
2022-04-21T13:23:27: [Sync] "当前数据库编号: 1"
2022-04-21T13:23:27: [Sync] "----------同步群组: 财务交流----------"
2022-04-21T13:23:27: [Sync] "开始群组: c8bc44f6-d92e-4610-819f-b2a44a6c338d"
2022-04-21T13:23:27: [Sync] "连接服务器"
2022-04-21T13:23:27: [Sync] "获取服务器信息"
2022-04-21T13:23:27: [Sync] "获取已删除列表"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传已删除列表"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传标签"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传样式"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "上传笔记"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "同步设置"
2022-04-21T13:23:27: [Sync] "上传附件"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载标签"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载样式"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载笔记"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "同步设置"
2022-04-21T13:23:27: [Sync] "同步设置"
2022-04-21T13:23:27: [Sync] "下载笔记参数"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "下载附件"
2022-04-21T13:23:27: [Sync] "未改动,跳过"
2022-04-21T13:23:27: [Sync] "完成群组: c8bc44f6-d92e-4610-819f-b2a44a6c338d"
2022-04-21T13:23:27: [Sync] "群组 财务交流 同步完成"
2022-04-21T13:23:27: [Sync] "----------下载笔记内容----------"
2022-04-21T13:23:27: [Sync] "当前数据库编号: 1"
2022-04-21T13:23:27: [Sync] "----------同步完成----------"
2022-04-21T13:24:07: [Sync] quick download messages started, thread: 0x7f9e9b7fe640
2022-04-21T13:24:07: [Sync] "Quick download messages"

============================================================================================ 好像没有提示啥问题

altairwei commented 2 years ago

试试反复打开关闭笔记,看下有没有什么报错信息。

grassvalley commented 2 years ago

WizNote_32587455_2022-04-22.txt 发现新问题,打开的标签页无法关闭,点击 x 不行,右键选关闭也没有动静。无法通过系统通知区的图标上的退出来退出应用程序。至于输出信息,你自己看吧

altairwei commented 2 years ago

等我开个虚拟机试试

grassvalley commented 2 years ago

发现 deepin-wine-wechat 上公众号文章打开后是一片黑,不知道这两件事有关系没有?

altairwei commented 2 years ago

发现 deepin-wine-wechat 上公众号文章打开后是一片黑,不知道这两件事有关系没有?

有关系,这两者本质上都是网页。

altairwei commented 2 years ago

抱歉啊,我这边因为条件有限开不了虚拟机,你能否在你的电脑上测试一下虚拟机中的 WizNotePlus 呢?

grassvalley commented 2 years ago

今天下午在虚拟机上全新安装了 ubuntu 22.04 ,问题依旧

grassvalley commented 2 years ago

./WizNotePlus-linux-v2.10.2.AppImage QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.

[WARNING]: QWidget::setLayout: Attempting to set QLayout "" on QMainWindow "", which already has a layout ((null):0, (null)) [WARNING]: QFont::setPixelSize: Pixel size <= 0 (-5) ((null):0, (null))

上面是在命令行启动时的提示信息,不知道有用没有?

altairwei commented 2 years ago

./WizNotePlus-linux-v2.10.2.AppImage QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.

[WARNING]: QWidget::setLayout: Attempting to set QLayout "" on QMainWindow "", which already has a layout ((null):0, (null)) [WARNING]: QFont::setPixelSize: Pixel size <= 0 (-5) ((null):0, (null))

上面是在命令行启动时的提示信息,不知道有用没有?

没有用,不相关。

altairwei commented 2 years ago

Ubuntu 22.04 好像默认使用了 Wayland?

altairwei commented 2 years ago

估计是这个因素引起的。

grassvalley commented 2 years ago

应该和 wayland 没有关系。我在 x.org 和 wayland 模式下来回切换过。而且还加装 budgie-desktop、kubuntu-desktop、cinnonam 三个桌面环境环境套件,来回切换,问题依旧。

grassvalley commented 2 years ago

会不会和 firefox 变成 snap 包有关系呢?

altairwei commented 2 years ago

会不会和 firefox 变成 snap 包有关系呢?

不会。WizNotePlus 的网页是基于 Qt 的 QtWebEngine 模块构建的,里面自带了 Chrome 内核,与 FireFox 无关。

grassvalley commented 2 years ago

今天发现一个问题,在 Mint 20.3(基于 Ubuntu 20.04)版本上使用 WizNotePlus,本来一切正常。但是,只要运行了 麟卓xDroid (一款安卓模拟器/运行环境)之后,就会出现和上述一样的问题。笔记内容页面是空白。即便退出这个 麟卓xDroid 也不行。必须注销或者重启才行。 麟卓xDroid下载地址 https://www.linzhuotech.com/Product/download 也许不是少了什么东西,而是多了什么东西。

altairwei commented 2 years ago

是不是 麟卓xDroid 设置了什么环境变量?

grassvalley commented 2 years ago

这个就不太清楚了。 难道其他人没有遇到这个问题吗?

altairwei commented 2 years ago

@grassvalley 这个问题修复了,试试 https://github.com/altairwei/WizNotePlus/actions/runs/2366186903

下载 Artifacts 中的 Linux_Dist

grassvalley commented 2 years ago

昨天尝试了,问题已经解决 ✌👏

altairwei commented 2 years ago

已在 v2.11 中修复。