jcoliz / LogoSlideMaker

Logo Slide Maker is a Windows Desktop application to build, preview, and generate PowerPoint presentations containing logos with text.
https://apps.microsoft.com/detail/9p09gnvhnl72
MIT License
0 stars 0 forks source link

[UI] [Bug] Sometimes UI never draws #22

Open jcoliz opened 3 months ago

jcoliz commented 3 months ago

Occasionally, the window just stays entirely blank.

Interesting that closing the window does NOT close the application in this case.

Logs

2024-07-04 12:59:02.533 -07:00 [INF] ----------------------------------
2024-07-04 12:59:02.860 -07:00 [INF] Starting
2024-07-04 12:59:02.865 -07:00 [DBG] Hosting starting
2024-07-04 12:59:02.881 -07:00 [INF] Application started. Press Ctrl+C to shut down.
2024-07-04 12:59:02.883 -07:00 [INF] Hosting environment: Production
2024-07-04 12:59:02.885 -07:00 [INF] Content root path: ...
2024-07-04 12:59:02.885 -07:00 [DBG] Hosting started
2024-07-04 12:59:03.015 -07:00 [DBG] Main Window: OK
2024-07-04 12:59:03.098 -07:00 [INF] LoadDefinition: OK Sample Slides
2024-07-04 12:59:03.115 -07:00 [DBG] Create Resources: No resource load needed at this time
2024-07-04 12:59:03.145 -07:00 [DBG] Create Resources: Loading...
2024-07-04 12:59:03.198 -07:00 [DBG] LoadDefinitionAsync: Launched
2024-07-04 12:59:03.200 -07:00 [DBG] Main Window: Reload OK

Call stack

Looks like we're in LoadBitmapAsync:

                var result = await CanvasBitmap.LoadAsync(resourceCreator, randomAccessStream);
jcoliz commented 2 months ago

Happened again. This time it drew the command bar, and stuck on loading spinner for the canvas.

Logs below. Also, since was in the debugger, a few more interesting bits included here.

[15:55:34 DBG] Main Window: OK
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.FrameworkUdk.dll!00007FF8364A31A8: (caller: 00007FF8364A464D) ReturnHr(1) tid(5ae4) 80004002 No such interface supported
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.FrameworkUdk.dll!00007FF8364A31A8: (caller: 00007FF8364A464D) ReturnHr(2) tid(5ae4) 80004002 No such interface supported
[15:55:34 INF] LoadDefinition: OK Sample Slides
Exception thrown at 0x00007FF859A7BA99 (KernelBase.dll) in LogoSlideMaker.WinUi.exe: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x000000DEAE57C6D0).
Exception thrown at 0x00007FF859A7BA99 (KernelBase.dll) in LogoSlideMaker.WinUi.exe: 0x40080202: WinRT transform error (parameters: 0x000000008000000B, 0x0000000080070490, 0x0000000000000014, 0x000000DEAE57C6D0).
[15:55:34 DBG] Create Resources: No resource load needed at this time
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.FrameworkUdk.dll!00007FF8364A31A8: (caller: 00007FF8364A464D) ReturnHr(3) tid(5ae4) 80004002 No such interface supported
[15:55:34 DBG] Create Resources: Loading...
[15:55:35 DBG] LoadDefinitionAsync: Launched
[15:55:35 DBG] Main Window: Reload OK
onecoreuap\windows\frameworkudk\warppal.cpp(783)\Microsoft.Internal.FrameworkUdk.dll!00007FF8364A31A8: (caller: 00007FF8364A464D) ReturnHr(4) tid(44ec) 80004002 No such interface supported
Microsoft.ui.xaml.dll!00007FF81FB4FCC2: CallContext:[\ImageDecodeActivity] 80070057 - E_INVALIDARG
Microsoft.ui.xaml.dll!00007FF81FB4FCC2: CallContext:[\ImageDecodeActivity] 80070057 - E_INVALIDARG
Microsoft.ui.xaml.dll!00007FF81FB4FCC2: CallContext:[\ImageDecodeActivity] 80070057 - E_INVALIDARG
[15:55:36 INF] Create Resources: OK