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]: 背景图片官方启动器壁纸选项问题 #1688

Closed
4 tasks done
twjmy opened this issue Jun 5, 2024 · 15 comments
Closed
4 tasks done

[Bug]: 背景图片官方启动器壁纸选项问题 #1688

twjmy opened this issue Jun 5, 2024 · 15 comments
Assignees
Labels
area-UserInterface 用户界面 已完成 This issue is completed
Milestone

Comments

@twjmy
Copy link

twjmy commented Jun 5, 2024

检查清单

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

Windows 版本

22631.3672

Snap Hutao 版本

1.10.2.0

设备 ID

4B6379FDA25D058C3FA50872BAB7D316

问题分类

用户界面

发生了什么?

背景图片选取官方启动器壁纸选项时,只有英文而没有其他选项,但实则有对应其他语言的背景美术图

你期望发生的行为?

显示与胡桃或官方启动器相匹配的语言,找出或供用户选取官方启动器背景图文件路径取用资源

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@twjmy twjmy added BUG priority:none Priority not set labels Jun 5, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 5, 2024

device_id: 4B6379FDA25D058C3FA50872BAB7D316

Exception Data:
----------------------------------------
System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   at Snap.Hutao.Service.User.UserCollectionService.GetUserAndUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\Service\User\UserCollectionService.cs:line 101
   at Snap.Hutao.Service.DailyNote.DailyNoteService.GetDailyNoteEntryCollectionAsync(Boolean forceRefresh, CancellationToken token) in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\Service\DailyNote\DailyNoteService.cs:line 83
   at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModelSlim.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModelSlim.cs:line 35
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   at Snap.Hutao.Service.User.UserCollectionService.GetUserAndUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\Service\User\UserCollectionService.cs:line 101
   at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 59
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-tqhe3gyf3yfdt2ql\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 35
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
Exception Data:
----------------------------------------
System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
   at Snap.Hutao.Service.User.UserCollectionService.GetUserAndUidCollectionAsync() in D:\appveyor\project\Snap.Hutao.Project-m2qnyjlfvcfi05e5\src\Snap.Hutao\Snap.Hutao\Service\User\UserCollectionService.cs:line 101
   at Snap.Hutao.ViewModel.DailyNote.DailyNoteViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-m2qnyjlfvcfi05e5\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 59
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-m2qnyjlfvcfi05e5\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 32
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

@dgp-bot dgp-bot bot added the area-UserInterface 用户界面 label Jun 5, 2024
@Lightczx
Copy link
Member

Lightczx commented Jun 5, 2024

@Masterain98 FYI

@Masterain98 Masterain98 added feature request priority:low Not user noticeable; brand new feature request and removed BUG priority:none Priority not set labels Jun 10, 2024
@Masterain98
Copy link
Member

Masterain98 commented Jun 10, 2024

@Masterain98
Copy link
Member

@twjmy 你是在中国内地使用的胡桃或者使用了中国内地的网络代理吗?

@twjmy
Copy link
Author

twjmy commented Jun 10, 2024

@twjmy 你是在中国内地使用的胡桃或者使用了中国内地的网络代理吗?

我是在台湾玩国际服,没用代理,语言是繁中
补充:游戏本体是在谷歌载的

@Masterain98
Copy link
Member

Masterain98 commented Jun 10, 2024

@twjmy 你是在中国内地使用的胡桃或者使用了中国内地的网络代理吗?

我是在台湾玩国际服,没用代理,语言是繁中

麻烦在 PowerShell 中输入并执行 nslookup api.snapgenshin.com 并提供一下返回的数据

@twjmy
Copy link
Author

twjmy commented Jun 10, 2024

@twjmy 你是在中国内地使用的胡桃或者使用了中国内地的网络代理吗?

我是在台湾玩国际服,没用代理,语言是繁中

麻烦在 PowerShell 中输入并执行 nslookup api.snapgenshin.com 并提供一下返回的数据

@Masterain98

PS C:\Users\VJ> nslookup api.snapgenshin.com
伺服器:  UnKnown
Address:  192.168.0.1

未經授權的回答:
名稱:    cl-glbd9c040d.gcdn.co
Addresses:  2a03:90c0:999c::12
          81.28.12.12
Aliases:  api.snapgenshin.com

@Masterain98
Copy link
Member

image

@Lightczx 客户端请求后端的时候没有添加 language 参数

@twjmy
Copy link
Author

twjmy commented Jun 10, 2024

@Lightczx 客户端请求后端的时候没有添加 language 参数

会是这里吗

public const string WallpaperGenshinLauncher = $"{ApiSnapGenshin}/wallpaper/genshin-launcher";

@Lightczx
Copy link
Member

@Masterain98 我加language code 还是 generic api 改成语言无关的?

@Masterain98
Copy link
Member

@Masterain98 我加language code 还是 generic api 改成语言无关的?

你加 language code 吧,无字版本单独列成 HYP 背景选项

@dgp-bot dgp-bot bot removed the priority:low Not user noticeable; brand new feature request label Jun 10, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 11, 2024

99b3613 已修复此问题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Jun 11, 2024
@Lightczx Lightczx reopened this Jun 11, 2024
@Masterain98
Copy link
Member

image

热更新了一次,现在已经换成了无字的版本

@dgp-bot dgp-bot bot added this to the 1.10.4 milestone Jun 19, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jun 19, 2024

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

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Jun 19, 2024
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 Jul 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-UserInterface 用户界面 已完成 This issue is completed
Projects
Archived in project
Development

No branches or pull requests

3 participants