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]: 在高分屏上运行旅行工具时窗口非常小 #1795

Closed
4 tasks done
CryoMarshal opened this issue Jul 6, 2024 · 5 comments
Closed
4 tasks done

[Bug]: 在高分屏上运行旅行工具时窗口非常小 #1795

CryoMarshal opened this issue Jul 6, 2024 · 5 comments
Labels
area-UserInterface 用户界面 BUG 非外部问题导致的应用程序异常 已完成 This issue is completed
Milestone

Comments

@CryoMarshal
Copy link

CryoMarshal commented Jul 6, 2024

检查清单

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

Windows 版本

19045.4598

Snap Hutao 版本

1.10.5.0

设备 ID

2A4F4282F42EA1ABA439829F606E5813

问题分类

用户界面

发生了什么?

使用2560x1600 200%的分辨率,打开旅行工具时窗口比较小。虽然可通过调整至1440x900 100%的方式临时解决,但代价就是会影响整体观感。
image

你期望发生的行为?

能加入对于高DPI的支持,使在200%等缩放下的窗口也能像100%一样有正常内容大小。

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@CryoMarshal CryoMarshal added BUG 非外部问题导致的应用程序异常 priority:none Priority not set labels Jul 6, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jul 6, 2024

device_id: 2A4F4282F42EA1ABA439829F606E5813

Exception Data:
[string]:Description:因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

[string]:RestrictedDescription:因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010D): 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at ABI.Microsoft.Windows.AppNotifications.IAppNotificationManagerMethods.Show(IObjectReference _obj, AppNotification notification)
   at Microsoft.Windows.AppNotifications.AppNotificationManager.Show(AppNotification notification)
   at Snap.Hutao.Extension.AppNotificationBuilderExtension.Show(AppNotificationBuilder builder, AppNotificationManager manager) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Extension\AppNotificationBuilderExtension.cs:line 18
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-c8o6jckupddiwjso\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 108
   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:
[string]:Description:无法找到与此错误代码关联的文本。

[string]:RestrictedDescription:Layout cycle detected.  Layout could not complete.
[string]:RestrictedErrorReference:
[string]:RestrictedCapabilitySid:
[WinRT.ExceptionHelpers+__RestrictedErrorObject]:__RestrictedErrorObjectReference:WinRT.ExceptionHelpers+__RestrictedErrorObject
[bool]:__HasRestrictedLanguageErrorObject:True
----------------------------------------
Microsoft.UI.Xaml.LayoutCycleException: 无法找到与此错误代码关联的文本。

Layout cycle detected.  Layout could not complete.
Exception Data:
[]:Description:
[]:RestrictedDescription:
[]:RestrictedErrorReference:
[]:RestrictedCapabilitySid:
[]:__RestrictedErrorObjectReference:
[bool]:__HasRestrictedLanguageErrorObject:False
----------------------------------------
System.Runtime.InteropServices.COMException (0x8001010D)
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
   at Windows.UI.Notifications.ToastNotification._IToastNotificationFactory.CreateToastNotification(XmlDocument content)
   at Windows.UI.Notifications.ToastNotification..ctor(XmlDocument content)
   at CommunityToolkit.WinUI.Notifications.ToastContentBuilder.Show(CustomizeToast customize)
   at CommunityToolkit.WinUI.Notifications.ToastContentBuilder.Show()
   at Snap.Hutao.Core.Windowing.XamlWindowController.OnWindowClosed(Object sender, WindowEventArgs args) in D:\appveyor\project\Snap.Hutao.Project-t183meqdaei7jimw\src\Snap.Hutao\Snap.Hutao\Core\Windowing\XamlWindowController.cs:line 109
   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 6, 2024
@Masterain98
Copy link
Member

image
确实有这问题

@dgp-bot
Copy link

dgp-bot bot commented Jul 6, 2024

e230d7a 已修复此问题

@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:none Priority not set labels Jul 6, 2024
@dgp-bot dgp-bot bot added this to the 1.10.6 milestone Jul 6, 2024
@dgp-bot
Copy link

dgp-bot bot commented Jul 6, 2024

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

@dgp-bot dgp-bot bot removed the 等待发布 This issue fix is going to be applied in the next release label Jul 6, 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 Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-UserInterface 用户界面 BUG 非外部问题导致的应用程序异常 已完成 This issue is completed
Projects
Development

No branches or pull requests

2 participants