[BUG] 安卓新版本出现消息提示跳转问题
描述问题
安卓新版本偶尔会出现点击消息提示卡片后进入软件首页而不是通知页面,第二次出这问题是攒了三条信息没读了,单条未读消息跳转正常,多条未读消息跳转才出问题 28号刚才一条消息,点击卡片后还是转到首页了
复现方法
复现问题的步骤:
- ...
期望的行为
清晰准确地说明你期待的效果
实际的行为
清晰准确地说明实际效果
截图
https://github.com/user-attachments/assets/24e55451-55c3-41f9-8229-015b20e73b90
日志
打开设置 > 调试 > 复制日志 或 导出日志后再上传
[debug] | 19:00:16 107ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:00:16 111ms | AutoNotificationCubit: auto fetch since 1753700356
[debug] | 19:00:16 113ms | build cookie with user info: null
[debug] | 19:00:17 226ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:00:17 227ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:00:16.107698
[debug] | 19:00:17 228ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:00:17 561ms | NotificationBloc: load local notification: notice=8504 personalMessage=33 broadcastMessage=2
[debug] | 19:01:17 107ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:01:17 112ms | AutoNotificationCubit: auto fetch since 1753700417
[debug] | 19:01:17 112ms | build cookie with user info: null
[debug] | 19:01:18 349ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:01:18 349ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:01:17.108703
[debug] | 19:01:18 351ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:01:18 660ms | NotificationBloc: load local notification: notice=8504 personalMessage=33 broadcastMessage=2
[debug] | 19:02:18 106ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:02:18 109ms | AutoNotificationCubit: auto fetch since 1753700478
[debug] | 19:02:18 110ms | build cookie with user info: null
[debug] | 19:02:19 527ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:02:19 528ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:02:18.107209
[debug] | 19:02:19 529ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:02:19 849ms | NotificationBloc: load local notification: notice=8504 personalMessage=33 broadcastMessage=2
[debug] | 19:03:19 107ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:03:19 111ms | AutoNotificationCubit: auto fetch since 1753700539
[debug] | 19:03:19 112ms | build cookie with user info: null
[debug] | 19:03:20 607ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:03:20 608ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:03:19.108679
[debug] | 19:03:20 609ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:03:20 997ms | NotificationBloc: load local notification: notice=8504 personalMessage=33 broadcastMessage=2
[debug] | 19:04:20 107ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:04:20 109ms | AutoNotificationCubit: auto fetch since 1753700600
[debug] | 19:04:20 110ms | build cookie with user info: null
[debug] | 19:04:21 388ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:04:21 392ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:04:20.107601
[debug] | 19:04:21 393ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:04:21 832ms | NotificationBloc: load local notification: notice=8504 personalMessage=33 broadcastMessage=2
[debug] | 19:05:21 106ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:05:21 109ms | AutoNotificationCubit: auto fetch since 1753700661
[debug] | 19:05:21 110ms | build cookie with user info: null
[debug] | 19:05:22 769ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:05:22 769ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:05:21.107530
[debug] | 19:05:22 771ms | NotificationBloc: saving notification: notice=1 personalMessage=0 broadcastMessage=0 latestTime=2025-07-28 19:04:22
[debug] | 19:05:23 174ms | NotificationBloc: load local notification: notice=8505 personalMessage=33 broadcastMessage=2
[debug] | 19:05:23 188ms | NotificationInfoRepository: update auto sync info: NotificationAutoSyncInfoNotice(msg: 月光呀月光 回复了您的帖子 【﹒⟢♡⸝⸝‧₊°⋅✦⋆⊹.】【蓬松,柔软,蠕动!这..., notice: 1, personalMessage: 0, broadcastMessage: 0, timestamp: 1753700723188)
[debug] | 19:05:23 194ms | NotificationBloc: update last fetch notification time to 2025-07-28 19:04:22
[debug] | 19:05:25 509ms | _HomePageState: do not push to notice page already in it
[debug] | 19:05:28 265ms | RootLocationCubit: enter page /notice
[debug] | 19:05:28 946ms | dispatch url: https://www.tsdm39.com/forum.php?mod=redirect&goto=findpost&ptid=1242745&pid=76155533
[debug] | 19:05:28 947ms | NotificationBloc: mark notice: RecordMarkNotice(uid: 1889734, nid: 9705420, alreadyRead: true)
[debug] | 19:05:28 948ms | NotificationBloc: update last fetch notification time to 2025-07-28 19:04:22
[debug] | 19:05:28 976ms | RootLocationCubit: enter page /thread/v1
[debug] | 19:05:28 976ms | build cookie with user info: null
[info] | 19:05:28 987ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 19:05:30 753ms | _ThreadPageState: save thread visit history tid=1242745
[debug] | 19:05:30 779ms | _PostListState: scroll to pid: 76155533
[debug] | 19:05:30 779ms | _PostListState: scroll to position: 2
[debug] | 19:05:34 841ms | RootLocationCubit: enter page <editor>
[debug] | 19:05:34 847ms | ReplyBarController: update reply action
[debug] | 19:05:52 778ms | build cookie with user info: null
[info] | 19:05:54 334ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 19:05:55 240ms | RootLocationCubit: leave page <editor>
[debug] | 19:05:55 894ms | RootLocationCubit: leave last page
[debug] | 19:05:55 895ms | RootLocationCubit: leave page /thread/v1
[debug] | 19:05:56 164ms | RootLocationCubit: leave last page
[debug] | 19:05:56 165ms | RootLocationCubit: leave page /notice
[debug] | 19:06:22 109ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:06:22 113ms | AutoNotificationCubit: auto fetch since 1753700663
[debug] | 19:06:22 114ms | build cookie with user info: null
[debug] | 19:06:24 178ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:06:24 179ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:06:22.109832
[debug] | 19:06:24 180ms | NotificationBloc: saving notification: notice=1 personalMessage=0 broadcastMessage=0 latestTime=2025-07-28 19:06:17
[debug] | 19:06:24 536ms | NotificationBloc: load local notification: notice=8506 personalMessage=33 broadcastMessage=2
[debug] | 19:06:24 543ms | NotificationInfoRepository: update auto sync info: NotificationAutoSyncInfoNotice(msg: 月光呀月光 回复了您的帖子 【﹒⟢♡⸝⸝‧₊°⋅✦⋆⊹.】【蓬松,柔软,蠕动!这..., notice: 1, personalMessage: 0, broadcastMessage: 0, timestamp: 1753700784543)
[debug] | 19:06:24 545ms | NotificationBloc: update last fetch notification time to 2025-07-28 19:06:17
[debug] | 19:06:34 283ms | _HomePageState: do not push to notice page already in it
[debug] | 19:06:38 592ms | RootLocationCubit: enter page /notice
[debug] | 19:06:39 242ms | dispatch url: https://www.tsdm39.com/forum.php?mod=redirect&goto=findpost&ptid=1242745&pid=76155650
[debug] | 19:06:39 243ms | NotificationBloc: mark notice: RecordMarkNotice(uid: 1889734, nid: 9705422, alreadyRead: true)
[debug] | 19:06:39 245ms | NotificationBloc: update last fetch notification time to 2025-07-28 19:06:17
[debug] | 19:06:39 264ms | RootLocationCubit: enter page /thread/v1
[debug] | 19:06:39 264ms | build cookie with user info: null
[info] | 19:06:39 270ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 19:06:41 731ms | _ThreadPageState: save thread visit history tid=1242745
[debug] | 19:06:41 746ms | _PostListState: scroll to pid: 76155650
[debug] | 19:06:41 746ms | _PostListState: scroll to position: 6
[debug] | 19:06:45 266ms | RootLocationCubit: enter page <editor>
[debug] | 19:06:45 276ms | ReplyBarController: update reply action
[debug] | 19:06:52 109ms | build cookie with user info: null
[info] | 19:06:53 746ms | _GzipEncodingChecker: removing gzip encoding in request
[debug] | 19:06:54 517ms | RootLocationCubit: leave page <editor>
[debug] | 19:06:55 65ms | RootLocationCubit: leave last page
[debug] | 19:06:55 66ms | RootLocationCubit: leave page /thread/v1
[debug] | 19:06:55 590ms | RootLocationCubit: leave last page
[debug] | 19:06:55 590ms | RootLocationCubit: leave page /notice
[debug] | 19:06:56 365ms | RootLocationCubit: enter page /settings
[debug] | 19:06:59 323ms | RootLocationCubit: enter page /debugLog
[debug] | 19:07:24 108ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:07:24 123ms | AutoNotificationCubit: auto fetch since 1753700778
[debug] | 19:07:24 124ms | build cookie with user info: null
[debug] | 19:07:25 868ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:07:25 868ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:07:24.112871
[debug] | 19:07:25 870ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:07:27 421ms | NotificationBloc: load local notification: notice=8506 personalMessage=33 broadcastMessage=2
[debug] | 19:08:25 108ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:08:25 121ms | AutoNotificationCubit: auto fetch since 1753700845
[debug] | 19:08:25 122ms | build cookie with user info: null
[debug] | 19:08:26 790ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:08:26 790ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:08:25.114597
[debug] | 19:08:26 791ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:08:28 460ms | NotificationBloc: load local notification: notice=8506 personalMessage=33 broadcastMessage=2
[debug] | 19:09:26 106ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:09:26 226ms | AutoNotificationCubit: auto fetch since 1753700906
[debug] | 19:09:26 226ms | build cookie with user info: null
[debug] | 19:09:27 817ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:09:27 818ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:09:26.107398
[debug] | 19:09:27 820ms | NotificationBloc: saving notification: notice=1 personalMessage=0 broadcastMessage=0 latestTime=2025-07-28 19:09:23
[debug] | 19:09:28 143ms | NotificationBloc: load local notification: notice=8507 personalMessage=33 broadcastMessage=2
[debug] | 19:09:28 152ms | NotificationInfoRepository: update auto sync info: NotificationAutoSyncInfoNotice(msg: 月光呀月光 回复了您的帖子 【﹒⟢♡⸝⸝‧₊°⋅✦⋆⊹.】【蓬松,柔软,蠕动!这..., notice: 1, personalMessage: 0, broadcastMessage: 0, timestamp: 1753700968152)
[debug] | 19:09:28 157ms | NotificationBloc: update last fetch notification time to 2025-07-28 19:09:23
[debug] | 19:10:27 107ms | AutoNotificationCubit: running auto fetch...
[debug] | 19:10:27 116ms | AutoNotificationCubit: auto fetch since 1753700964
[debug] | 19:10:27 117ms | build cookie with user info: null
[debug] | 19:10:28 696ms | AutoNotificationCubit: auto fetch finished with data
[debug] | 19:10:28 697ms | AutoNotificationCubit: update last fetch notification time to started time 2025-07-28 19:10:27.109762
[debug] | 19:10:28 698ms | NotificationBloc: saving notification: notice=0 personalMessage=0 broadcastMessage=0 latestTime=null
[debug] | 19:10:30 115ms | NotificationBloc: load local notification: notice=8507 personalMessage=33 broadcastMessage=2
环境
平台
根据实际情况勾选
- [x] Android
- [ ] iOS
- [ ] Linux
- [ ] macOS
- [ ] Windows
系统版本
写上系统版本
应用信息
点击设置 -> 关于 -> 右上角按钮后,讲剪切板的内容复制到这里
备注
任何你觉得有助于解决问题的东西都可以写到这里
重启可以解决这个问题,但之后还会出现,一旦出现这问题就会一直存在
问题大概知道什么原因了。
不好改,我之后想想怎么改吧
问题大概知道什么原因了。
不好改,我之后想想怎么改吧
辛苦了
可以观察观察这个问题还存不存在,之前去掉了部分经常出问题的判断当前页面在哪里的机制。
好的,我之后观察一下。
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2025年10月04日 11:51 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [realth000/tsdm_client] [BUG] 安卓新版本出现消息提示跳转问题 (Issue #318) | realth000 left a comment (realth000/tsdm_client#318)
可以观察观察这个问题还存不存在,之前去掉了部分经常出问题的判断当前页面在哪里的机制。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>