[Bug] 复读消息为图片会渲染选择效果
- Dominant language
- Java
- Stars
- 5.7k
- Forks
- 416
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 4
Description
### Steps to reproduce/复现步骤
长按任意一条文字(或图文并排)消息,然后使用该功能
### Expected behaviour/预期行为
不渲染选中效果
### Actual behaviour/实际行为
渲染选中效果
### Xposed Framework you used/你使用的Xposed框架
NPatch 0.6.1
### Your Android version/你使用的安卓系统版本
12S
### QQ(TIM)版本/QQ(TIM) Version
9.0.0
### Module Version/模块版本
bb6260d3cfc0d2644bff67728c9c4e1ce0002aa9
### Version and Other Requirements/版本和其他要求
- [X] I am using latest debug CI version of QAuxiliary and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志
- [X] The QQ I am using is an official release version, not a modified or beta version/我使用的 QQ 是官方发布的正式版本,而非修改版或测试版
- [X] 我已经在 [Issue Tracker](https://github.com/cinit/QAuxiliary/issues) 中找过我要提出的问题,没有找到相同问题。重复问题会被关闭。
- [X] 我已知晓并同意,此处仅用于汇报主程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。
- [X] 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。
### Logs/日志
```
1.5.1.r2248.bb6260d
QQ9.0.0(5282)
PID: 15091, UID: 10452
me.hd.hook.menu.RepeatToImg
isInitialized: true
isInitializationSuccessful: true
isEnabled: true
isAvailable: true
isPreparationRequired: false
errors: 0
```
### 补充说明(可选)
延迟一段时间后渲染应该可以解决这个问题
Contributor guide
Research direction
Start with the me.hd.hook.menu.RepeatToImg entry point named in the log and reproduce the issue by long-pressing a text or mixed text-and-image message. Trace when the repeat-to-image action is rendered relative to the message selection state. Done means using the feature no longer renders the selection effect, including after the relevant delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100