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]: 在收起消息后会遮挡部分按钮 #1832

Closed
4 tasks done
DuckDuckStudio opened this issue Jul 17, 2024 · 7 comments
Closed
4 tasks done

[Bug]: 在收起消息后会遮挡部分按钮 #1832

DuckDuckStudio opened this issue Jul 17, 2024 · 7 comments
Labels
area-UserInterface 用户界面 已完成 This issue is completed
Milestone

Comments

@DuckDuckStudio
Copy link

检查清单

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

Windows 版本

22631.3880

Snap Hutao 版本

1.10.7.0

设备 ID

876B52225C8ABBB67B7156DDD1C9509E

问题分类

用户界面

发生了什么?

在收起消息时可能会遮挡部分无法调整位置的按键,例如下面这个遮挡了“启动游戏”按键
image

你期望发生的行为?

在收起消息时,不会遮挡按键,或者被遮挡的按键可以轻松的移出遮挡位置
可以将消息放在左下或右下,这里的按键基本上都可以通过滚动调整位置。

最后一步

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

dgp-bot bot commented Jul 17, 2024

device_id: 876B52225C8ABBB67B7156DDD1C9509E

Exception Data:
[string]:Description:某个异步操作没有正常启动。

[string]:RestrictedDescription:Only a single ContentDialog can be open at any time.
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x80000019): 某个异步操作没有正常启动。

Only a single ContentDialog can be open at any time.
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.UI.Xaml.Controls.IContentDialogMethods.ShowAsync(IObjectReference _obj)
   at Microsoft.UI.Xaml.Controls.ContentDialog.ShowAsync()
   at Snap.Hutao.Factory.ContentDialog.ContentDialogFactory.CreateForConfirmCancelAsync(String title, String content, ContentDialogButton defaultButton) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Factory\ContentDialog\ContentDialogFactory.cs:line 53
   at Snap.Hutao.ViewModel.TitleViewModel.DoCheckUpdateAsync() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 93
   at Snap.Hutao.ViewModel.TitleViewModel.InitializeUIAsync() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\ViewModel\TitleViewModel.cs:line 61
   at Snap.Hutao.ViewModel.Abstraction.ViewModel.OpenUIAsync() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\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.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.Core.Windowing.NotifyIcon.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconMethods.cs:line 70
   at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconController.cs:line 54
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 107
   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.Core.Windowing.NotifyIcon.NotifyIconMethods.GetRect(Guid id, HWND hWND) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconMethods.cs:line 70
   at Snap.Hutao.Core.Windowing.NotifyIcon.NotifyIconController.GetRect() in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\NotifyIcon\NotifyIconController.cs:line 54
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-tcflcdmg8p089xaq\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 107
   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)

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

清空消息即可

@Lightczx Lightczx closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Jul 18, 2024
@DuckDuckStudio
Copy link
Author

DuckDuckStudio commented Jul 18, 2024

清空消息即可

部分时候可能清空消息不太好(有些时候希望保留消息而不是清空)

如果直接清空消息可以应对所有情况,那为什么还要做“收起信息”呢?

@SSB-ARFCN
Copy link

在對話方塊右邊加個X試試?

Lightczx added a commit that referenced this issue Jul 23, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jul 23, 2024

e7bcc6e 已修复此问题

@dgp-bot dgp-bot bot added 已完成 This issue is completed 等待发布 This issue fix is going to be applied in the next release labels Jul 23, 2024
@Lightczx Lightczx reopened this Jul 23, 2024
@dgp-bot dgp-bot bot added the priority:none Priority not set label Jul 23, 2024
@dgp-bot dgp-bot bot added this to the 1.11.0 milestone Aug 13, 2024
@dgp-bot
Copy link

dgp-bot bot commented Aug 13, 2024

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

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Aug 13, 2024
@dgp-bot dgp-bot bot closed this as completed Aug 13, 2024
@dgp-bot dgp-bot bot removed the priority:none Priority not set label Aug 13, 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 Sep 13, 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
Development

No branches or pull requests

3 participants