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]: 内嵌米游社网页无法回退 #1023

Closed
4 tasks done
BTMuli opened this issue Oct 17, 2023 · 4 comments
Closed
4 tasks done

[Bug]: 内嵌米游社网页无法回退 #1023

BTMuli opened this issue Oct 17, 2023 · 4 comments
Assignees
Labels
area-UserPanel 用户面板 area-WebView 网页视图 BUG 非外部问题导致的应用程序异常 已完成 This issue is completed

Comments

@BTMuli
Copy link

BTMuli commented Oct 17, 2023

检查清单

  • 我已阅读 Snap Hutao 文档中的常见问题常见程序异常,我的问题没有在文档中得到解答
  • 我知道文档站的导航栏中有搜索功能,且已经搜索过相关关键词
  • 我的问题不是已修复的问题也不是一个别人已发布的重复的问题

Windows 版本

22621.2428

Snap Hutao 版本

1.7.9.0

设备 ID

No response

问题分类

用户界面

发生了什么?

胡桃没有对内嵌的米游社客户端做部分特殊处理,导致进行如下操作时会出现异常:

以下步骤为个人产生异常进行步骤,其余同类型步骤亦可能导致程序异常

  1. 左侧菜单栏选中用户,弹窗选中“我的角色”
  2. 点击窗口右上角分享按钮即可

至此,实现“我的角色”页面异常

尝试如下方式,未能使其返回正确页面:

  1. 退出子窗口,选择领取签到奖励,退出,再次打开我的角色窗口

尝试如下方式,正确返回页面但是用户信息错误:

  1. 退出子窗口,切换当前用户,再次打开我的角色窗口
    此时,所打开角色数据并非选中用户角色数据,而是米游社设置中的默认角色数据

尝试如下方式,正确返回页面:

  1. 应用重启

你期望发生的行为?

  1. 提供正确 callback,使其完成操作后正常回退
  2. 提供回退/跳转模拟按键,回退或强制跳转回首页

在上述测试过程中,发现了切换用户导致的 与 #1003 不同的新 Bug

尝试如下方式,正确返回页面但是用户信息错误:

  1. 退出子窗口,切换当前用户,再次打开我的角色窗口
    此时,所打开角色数据并非选中用户角色数据,而是米游社设置中的默认角色数据

个人认为出现原因与本 issue 等同,故不再新提

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@BTMuli BTMuli added the BUG 非外部问题导致的应用程序异常 label Oct 17, 2023
@dgp-bot dgp-bot bot added the area-UserInterface 用户界面 label Oct 17, 2023
@Lightczx Lightczx added area-UserPanel 用户面板 area-WebView 网页视图 and removed area-UserInterface 用户界面 labels Oct 17, 2023
@Masterain98 Masterain98 added the priority:high User noticeable and affect features or security issue label Oct 18, 2023
@Lightczx Lightczx self-assigned this Oct 19, 2023
@dgp-bot
Copy link

dgp-bot bot commented Oct 20, 2023

c1ee37b 已修复此问题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release and removed priority:high User noticeable and affect features or security issue labels Oct 20, 2023
@Lightczx
Copy link
Member

  1. 退出子窗口,切换当前用户,再次打开我的角色窗口
    此时,所打开角色数据并非选中用户角色数据,而是米游社设置中的默认角色数据

需要在米游社内切换,目前没有在程序内执行相关的切换真实选中角色的逻辑

@dgp-bot
Copy link

dgp-bot bot commented Oct 30, 2023

包含解决该问题的程序版本 1.7.13 已发布。

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Oct 30, 2023
Lightczx added a commit that referenced this issue Oct 30, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-UserPanel 用户面板 area-WebView 网页视图 BUG 非外部问题导致的应用程序异常 已完成 This issue is completed
Projects
Archived in project
Development

No branches or pull requests

3 participants