Switching game in the screenshot viewing screen will cause the navigation button to be disappeared entirely.
Also reproducible on both the preview version and stable version.
Reproduction Steps
Open Starward.
Click the Navigation Button on the top left corner, select Screenshot.
Open any Screenshot.
Switch game.
Now the button disappeared. Had to restart the launcher.
[17:32:10.083] [INFO]
Welcome to Starward v0.9.0-preview.1
System: Microsoft Windows NT 10.0.22631.0
Command Line: D:\GAMES\Starward\app-0.9.0-preview.1\Starward.dll
[17:32:10.150] [INFO] Starward.Services.DatabaseService
Database path is 'D:\GAMES\Starward'
[17:32:10.182] [INFO] Starward.Services.DatabaseService
Database version is 6, target version is {DatabaseSqls.Count}.
[17:32:10.264] [INFO] Starward.Pages.MainPage
Select game region is hkrpg_global
[17:32:10.264] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_global
[17:32:10.317] [WARN] Starward.Services.LauncherService
Image file not found '"D:\GAMES\Starward\bg"'
[17:32:10.704] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_global: "D:\GAMES\Star Rail\Games"
[17:32:11.287] [INFO] Starward.Services.UpdateService
Start to check update (Preview: True, Arch: X64)
[17:32:11.848] [INFO] Starward.Services.UpdateService
Current version: "0.9.0-preview.1", latest version: "0.9.0-preview.1", ignore version: null
[17:32:15.746] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hkrpg_global
[17:32:15.814] [INFO] Starward.Pages.ScreenshotPage
Screenshot folder is "D:\GAMES\Star Rail\Games\StarRail_Data\ScreenShots"
[17:32:19.341] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn
[17:32:19.349] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hk4e_cn
[17:32:19.400] [WARN] Starward.Services.GameService
Game uninstalled (hk4e_cn)
[17:32:19.400] [WARN] Starward.Pages.ScreenshotPage
Cannot find screenshot folder
[17:32:20.665] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_global
[17:32:20.669] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hkrpg_global
[17:32:20.722] [INFO] Starward.Pages.ScreenshotPage
Screenshot folder is "D:\GAMES\Star Rail\Games\StarRail_Data\ScreenShots"
Additional Context
I noticed this bug while working on submitting issue #230. Maybe both have the same cause?
Description
Switching game in the screenshot viewing screen will cause the navigation button to be disappeared entirely.
Also reproducible on both the preview version and stable version.
Reproduction Steps
https://github.com/Scighost/Starward/assets/37470201/7e45330b-14e4-4d6d-a419-a6f9fd0d227e
Expected Behavior
The button still exists.
Screenshots
Starward Version
Stable 0.8.3 and 0.9.1 Preview 1
Windows Version
Windows 11 23H2 (Build 22631.2129)
Log
Additional Context
I noticed this bug while working on submitting issue #230. Maybe both have the same cause?