Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: 背景启动器壁纸炸了 #1908

Closed
4 tasks done
twjmy opened this issue Aug 16, 2024 · 6 comments · Fixed by #1909
Closed
4 tasks done

[Bug]: 背景启动器壁纸炸了 #1908

twjmy opened this issue Aug 16, 2024 · 6 comments · Fixed by #1909
Assignees
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Milestone

Comments

@twjmy
Copy link

twjmy commented Aug 16, 2024

检查清单

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

Windows 版本

22631.4037

Snap Hutao 版本

1.11.0.0

设备 ID

4B6379FDA25D058C3FA50872BAB7D316

问题分类

用户界面

发生了什么?

背景选取官方启动器壁纸无法正常显示并且不断弹出404
image

你期望发生的行为?

正常显示启动器壁纸

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@twjmy twjmy added BUG priority:none Priority not set labels Aug 16, 2024
@dgp-bot dgp-bot bot moved this to 备忘录 in Snap Hutao Development Aug 16, 2024
@dgp-bot
Copy link

dgp-bot bot commented Aug 16, 2024

device_id: 4B6379FDA25D058C3FA50872BAB7D316

Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 58
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 152
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-ojn2q1oprwspc52p\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 115
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
Exception Data:
----------------------------------------
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
   at Snap.Hutao.UI.Shell.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconMethods.cs:line 68
   at Snap.Hutao.UI.Shell.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Shell\NotifyIconController.cs:line 58
   at Snap.Hutao.UI.Windowing.XamlWindowController.IsNotifyIconVisible() in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 153
   at Snap.Hutao.UI.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-rykohrnoth8m6jfx\src\Snap.Hutao\Snap.Hutao\UI\Windowing\XamlWindowController.cs:line 116
   at WinRT._EventSource_global__Windows_Foundation_TypedEventHandler_object__global__Microsoft_UI_Xaml_WindowEventArgs_.EventState.<GetEventInvoke>b__1_0(Object sender, WindowEventArgs args)
   at ABI.Windows.Foundation.TypedEventHandler`2.Do_Abi_Invoke[TSenderAbi,TResultAbi](Void* thisPtr, TSenderAbi sender, TResultAbi args)
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-c8o6jckupddiwjso\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-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\DailyNote\DailyNoteViewModel.cs:line 68
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\ViewModel\Abstraction\ViewModel.cs:line 38
   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-LifeCycle App生命周期问题 label Aug 16, 2024
@Masterain98
Copy link
Member

@Lightczx API 接口少了一个 -

原神启动器背景图的接口是:https://api.snapgenshin.com/wallpaper/genshin-launcher

HYP背景图的接口是:https://api.snapgenshin.com/wallpaper/hoyoplay

@Masterain98 Masterain98 added priority:medium User noticeable but effect is limited; new add-on feature request and removed priority:none Priority not set labels Aug 16, 2024
@Masterain98 Masterain98 linked a pull request Aug 16, 2024 that will close this issue
1 task
@Lightczx Lightczx added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Aug 16, 2024
@Lightczx
Copy link
Member

临时方案:#1924 (comment)
不使用原神启动器壁纸即可

@ghost
Copy link

ghost commented Aug 26, 2024

螢幕擷取畫面 (300)
bing正常使用中 可以暫時用這個

@dgp-bot dgp-bot bot added this to the 1.11.1 milestone Sep 4, 2024
@dgp-bot
Copy link

dgp-bot bot commented Sep 4, 2024

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

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Sep 4, 2024
@dgp-bot dgp-bot bot closed this as completed Sep 4, 2024
@github-project-automation github-project-automation bot moved this from 备忘录 to 完成 in Snap Hutao Development Sep 4, 2024
@dgp-bot dgp-bot bot removed the priority:medium User noticeable but effect is limited; new add-on feature request label Sep 4, 2024
Copy link

github-actions bot commented Oct 7, 2024

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 Oct 7, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
area-LifeCycle App生命周期问题 已完成 This issue is completed
Projects
Development

Successfully merging a pull request may close this issue.

3 participants