[BUG] 安卓新版本消息提示数字出现问题
描述问题
刚才有提示,我点开准备回帖,结果进入帖子里后显示加载失败,试了好几次刷新都不行 最后只能推到通知界面刷新后回复,结果返回首页发现数字出现了偏差
复现方法
复现问题的步骤:
- ...
期望的行为
清晰准确地说明你期待的效果
实际的行为
清晰准确地说明实际效果
截图
https://github.com/user-attachments/assets/41ce23a0-b521-4efe-8522-e336b084dfc5
日志
打开设置 > 调试 > 复制日志 或 导出日志后再上传
[debug] | 14:46:39 362ms | NotificationBloc: mark notice: RecordMarkNotice(uid: 1889734, nid: 9703903, alreadyRead: true)
[debug] | 14:46:39 362ms | NotificationBloc: update last fetch notification time to 2025-07-27 14:46:36
[debug] | 14:46:39 379ms | RootLocationCubit: enter page /thread/v1
[debug] | 14:46:39 379ms | build cookie with user info: null
[info] | 14:46:39 381ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 14:46:41 857ms | _ThreadPageState: save thread visit history tid=1242745
[debug] | 14:47:36 73ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:47:36 77ms | AutoNotificationCubit: auto fetch since 1753598797
[debug] | 14:47:36 78ms | build cookie with user info: null
[debug] | 14:47:38 518ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:47:38 518ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:47:36.073734
[debug] | 14:47:38 520ms | NotificationBloc: saving notification: notice=1 personalMessage=0 broadcastMessage=0 latestTime=2025-07-27 14:47:12
[debug] | 14:47:38 978ms | NotificationBloc: load local notification: notice=8335 personalMessage=33 broadcastMessage=2
[debug] | 14:47:38 989ms | NotificationInfoRepository: update auto sync info: NotificationAutoSyncInfoNotice(msg: alltimedepresse 回复了您的帖子 签到第2025天 查看, notice: 1, personalMessage: 0, broadcastMessage: 0, timestamp: 1753598858989)
[debug] | 14:47:38 992ms | NotificationBloc: update last fetch notification time to 2025-07-27 14:47:12
[debug] | 14:48:00 264ms | _PostListState: scroll to pid: 76147235
[debug] | 14:48:00 264ms | _PostListState: scroll to position: 12
[debug] | 14:48:06 786ms | RootLocationCubit: enter page <editor>
[debug] | 14:48:06 791ms | ReplyBarController: update reply action
[debug] | 14:48:21 286ms | build cookie with user info: null
[info] | 14:48:22 970ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 14:48:23 583ms | RootLocationCubit: leave page <editor>
[debug] | 14:48:24 154ms | RootLocationCubit: leave last page
[debug] | 14:48:24 154ms | RootLocationCubit: leave page /thread/v1
[debug] | 14:48:24 884ms | dispatch url: https://www.tsdm39.com/forum.php?mod=redirect&goto=findpost&ptid=1243769&pid=76147242
[debug] | 14:48:24 885ms | NotificationBloc: mark notice: RecordMarkNotice(uid: 1889734, nid: 9703904, alreadyRead: true)
[debug] | 14:48:24 886ms | NotificationBloc: update last fetch notification time to 2025-07-27 14:47:12
[debug] | 14:48:24 909ms | RootLocationCubit: enter page /thread/v1
[debug] | 14:48:24 910ms | build cookie with user info: null
[info] | 14:48:24 912ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 14:48:26 421ms | _ThreadPageState: save thread visit history tid=1243769
[debug] | 14:48:26 439ms | _PostListState: scroll to pid: 76147242
[debug] | 14:48:26 439ms | _PostListState: scroll to position: 2
[debug] | 14:48:34 38ms | RootLocationCubit: enter page <editor>
[debug] | 14:48:34 46ms | ReplyBarController: update reply action
[debug] | 14:48:38 72ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:48:38 74ms | AutoNotificationCubit: auto fetch since 1753598833
[debug] | 14:48:38 74ms | build cookie with user info: null
[debug] | 14:48:39 530ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:48:39 530ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:48:38.072312
[debug] | 14:48:39 531ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:48:39 640ms | NotificationBloc: load local notification: notice=8335 personalMessage=33 broadcastMessage=2
[debug] | 14:48:43 355ms | build cookie with user info: null
[info] | 14:48:44 648ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 14:48:45 404ms | RootLocationCubit: leave page <editor>
[debug] | 14:48:45 971ms | RootLocationCubit: leave last page
[debug] | 14:48:45 972ms | RootLocationCubit: leave page /thread/v1
[debug] | 14:48:46 193ms | RootLocationCubit: leave last page
[debug] | 14:48:46 194ms | RootLocationCubit: leave page /notice
[debug] | 14:49:39 74ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:49:39 84ms | AutoNotificationCubit: auto fetch since 1753598919
[debug] | 14:49:39 85ms | build cookie with user info: null
[debug] | 14:49:41 342ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:49:41 342ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:49:39.075561
[debug] | 14:49:41 344ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:49:41 746ms | NotificationBloc: load local notification: notice=8335 personalMessage=33 broadcastMessage=2
[debug] | 14:50:41 73ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:50:41 77ms | AutoNotificationCubit: auto fetch since 1753598980
[debug] | 14:50:41 77ms | build cookie with user info: null
[debug] | 14:50:42 790ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:50:42 790ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:50:41.074143
[debug] | 14:50:42 792ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:50:43 149ms | NotificationBloc: load local notification: notice=8335 personalMessage=33 broadcastMessage=2
[debug] | 14:51:42 73ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:51:42 76ms | AutoNotificationCubit: auto fetch since 1753599042
[debug] | 14:51:42 76ms | build cookie with user info: null
[debug] | 14:51:43 581ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:51:43 581ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:51:42.073883
[debug] | 14:51:43 582ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:51:43 880ms | NotificationBloc: load local notification: notice=8335 personalMessage=33 broadcastMessage=2
[debug] | 14:52:43 76ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:52:43 79ms | AutoNotificationCubit: auto fetch since 1753599103
[debug] | 14:52:43 79ms | build cookie with user info: null
[debug] | 14:52:44 476ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:52:44 476ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:52:43.077146
[debug] | 14:52:44 477ms | NotificationBloc: saving notification: notice=2 personalMessage=0 broadcastMessage=0 latestTime=2025-07-27 14:52:36
[debug] | 14:52:44 818ms | NotificationBloc: load local notification: notice=8337 personalMessage=33 broadcastMessage=2
[debug] | 14:52:44 827ms | NotificationInfoRepository: update auto sync info: NotificationAutoSyncInfoNotice(msg: alltimedepresse 回复了您的帖子 【﹒⟢♡⸝⸝‧₊°⋅✦⋆⊹.】【..., notice: 2, personalMessage: 0, broadcastMessage: 0, timestamp: 1753599164827)
[debug] | 14:52:44 829ms | NotificationBloc: update last fetch notification time to 2025-07-27 14:52:36
[debug] | 14:52:47 265ms | _HomePageState: push to notice page already in it
[debug] | 14:52:47 339ms | RootLocationCubit: enter page /notice
[debug] | 14:53:44 73ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:53:44 76ms | AutoNotificationCubit: auto fetch since 1753599157
[debug] | 14:53:44 77ms | build cookie with user info: null
[debug] | 14:53:45 153ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:53:45 153ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:53:44.074015
[debug] | 14:53:45 155ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:53:45 635ms | NotificationBloc: load local notification: notice=8337 personalMessage=33 broadcastMessage=2
[debug] | 14:54:45 73ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:54:45 75ms | AutoNotificationCubit: auto fetch since 1753599225
[debug] | 14:54:45 76ms | build cookie with user info: null
[debug] | 14:54:46 299ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:54:46 299ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:54:45.073497
[debug] | 14:54:46 301ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:54:47 509ms | NotificationBloc: load local notification: notice=8337 personalMessage=33 broadcastMessage=2
[debug] | 14:55:46 81ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:55:46 88ms | AutoNotificationCubit: auto fetch since 1753599286
[debug] | 14:55:46 90ms | build cookie with user info: null
[debug] | 14:55:47 620ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:55:47 621ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:55:46.083669
[debug] | 14:55:47 622ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:55:48 257ms | NotificationBloc: load local notification: notice=8337 personalMessage=33 broadcastMessage=2
[debug] | 14:56:47 73ms | AutoNotificationCubit: running auto fetch...
[debug] | 14:56:47 76ms | AutoNotificationCubit: auto fetch since 1753599347
[debug] | 14:56:47 76ms | build cookie with user info: null
[debug] | 14:56:48 216ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 14:56:48 216ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-27 14:56:47.073654
[debug] | 14:56:48 217ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 14:56:48 563ms | NotificationBloc: load local notification: notice=8337 personalMessage=33 broadcastMessage=2
[
环境
平台
根据实际情况勾选
- [ ] Android
- [ ] iOS
- [ ] Linux
- [ ] macOS
- [ ] Windows
系统版本
写上系统版本
应用信息
点击设置 -> 关于 -> 右上角按钮后,讲剪切板的内容复制到这里
备注
任何你觉得有助于解决问题的东西都可以写到这里
这是已知问题,有解决方法但那种方式并不好
这是已知问题,有解决方法但那种方式并不好
原来如此
最新测试版消息提醒界面,如果不点击未读内容的链接文字而是别的区域,回复后再返回消息提醒界面则未读数字不消失
该问题只有新的未读消息才可以触发,已读转为未读无法触发
https://github.com/user-attachments/assets/b6440320-895b-4154-b7de-1f82340f72cd
- 说点击别的区域是哪里?看不出点的是哪里。
- 可能是点进消息以后,在返回消息页之前,正好碰上了定时拉取消息导致的,最新版修复了一些future相关的问题,异步顺序和之前不一样,但按说不应该和定时拉取冲突。点进去以后等不到一秒就返回呢?(这个问题和回复帖子没有关系,复现问题的时间尽量少做别的操作吧),不和定时拉取撞在一起的话是否还有这个问题?
我现在难以判断,不在拉取时间那时候点偶尔也这样。。。我录屏开了点击区域,是个有点透明得白色圆圈
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2025年11月26日 01:50 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [realth000/tsdm_client] [BUG] 安卓新版本消息提示数字出现问题 (Issue #316) | realth000 left a comment (realth000/tsdm_client#316) 说点击别的区域是哪里?看不出点的是哪里。 可能是点进消息以后,在返回消息页之前,正好碰上了定时拉取消息导致的,最新版修复了一些future相关的问题,异步顺序和之前不一样,但按说不应该和定时拉取冲突。点进去以后等不到一秒就返回呢?(这个问题和回复帖子没有关系,复现问题的时间尽量少做别的操作吧),不和定时拉取撞在一起的话是否还有这个问题?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
- 说点击别的区域是哪里?看不出点的是哪里。
- 可能是点进消息以后,在返回消息页之前,正好碰上了定时拉取消息导致的,最新版修复了一些future相关的问题,异步顺序和之前不一样,但按说不应该和定时拉取冲突。点进去以后等不到一秒就返回呢?(这个问题和回复帖子没有关系,复现问题的时间尽量少做别的操作吧),不和定时拉取撞在一起的话是否还有这个问题?
目前按照2点情况测试确实有这个情况 不和定时拉取撞一起的话我在注意下