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]: 右键消息转图片选项不显示 #231

Closed
3 of 4 tasks
jhqwqmc opened this issue May 13, 2024 · 5 comments
Closed
3 of 4 tasks

[Bug]: 右键消息转图片选项不显示 #231

jhqwqmc opened this issue May 13, 2024 · 5 comments
Labels
bug Something isn't working compatible 插件兼容问题

Comments

@jhqwqmc
Copy link
Contributor

jhqwqmc commented May 13, 2024

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已尝试在仅安装轻量工具箱的情况下问题依旧存在。
  • 该问题是由多个插件之间互不兼容引起的。
  • 我已经尝试过删除插件的配置文件并重启 QQ,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的 issue。

QQNT 版本

9.9.9-23159

LiteLoaderQQNT 版本

1.1.1

轻量工具箱 版本

2.28.2

运行环境

Windows

已安装插件列表

No response

重现步骤

开启功能然后右键消息

期望的结果是什么?

有此选项

实际的结果是什么?

image

补充说明(可选)

No response

@jhqwqmc jhqwqmc added the bug Something isn't working label May 13, 2024
@xiyuesaves
Copy link
Owner

需要更多信息

  1. 所有启用了的插件列表
  2. 错误是出现在群聊还是私聊还是都有?
  3. 此问题是偶尔发生还是该功能完全不可用?
  4. 开启轻量工具箱的 调试功能>渲染进程调试 将报错信息的上下日志一同截图,注意打码隐私信息 或者直接将截图发送到我的邮箱 xiyuesaves@gmail.com

@jiongjiongJOJO
Copy link
Contributor

我刚刚尝试复现的时候,发现有个插件与这个功能冲突:LiteLoaderQQNT-Markdown 但是现象不一样,我没有遇到上文提到的报错信息,可能不是同一个问题,先提供个现象辅助分析。

@jhqwqmc
Copy link
Contributor Author

jhqwqmc commented May 15, 2024

我刚刚尝试复现的时候,发现有个插件与这个功能冲突:LiteLoaderQQNT-Markdown 但是现象不一样,我没有遇到上文提到的报错信息,可能不是同一个问题,先提供个现象辅助分析。

确实安装了这个插件,有可能我测试下

@jhqwqmc
Copy link
Contributor Author

jhqwqmc commented May 15, 2024

禁用LiteLoaderQQNT-Markdown后就没有此问题了

@xiyuesaves xiyuesaves added the compatible 插件兼容问题 label May 16, 2024
@xiyuesaves xiyuesaves closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
@jhqwqmc
Copy link
Contributor Author

jhqwqmc commented May 26, 2024

分析了下问题所在

const msgEl = messageEl.querySelector(".message-content__wrapper .text-element");

如果安装了LiteLoaderQQNT-Markdown会导致这里返回null
只需在返回null时这样

let msgEl = messageEl.querySelector(".message-content__wrapper .text-element");
if (!msgEl) {
  msgEl = messageEl.querySelector(".message-content__wrapper .markdown-rendered");
}

修改即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatible 插件兼容问题
Projects
None yet
Development

No branches or pull requests

3 participants