ani
ani copied to clipboard
在远程桌面和本地切换时,UI会报错闪退
问题描述
报错如下
复现步骤
原始桌面分辨率38402160 远程桌面分辨率19201080
1、在本地打开Animeko 2、远程桌面的方式连接电脑,Animeko触发这个弹窗,点击确定直接退出 3、反之亦然
Ani 版本号
5.0.0-Alpha03
操作系统
Windows
应用日志
包含崩溃前和重启后的部分
2025-09-09 17:40:04,598 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: MediaSourceSubscriptionUpdater.updateAllOutdated
2025-09-09 17:40:04,599 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: Updating subscription: https://sub.creamycake.org/v1/bt1.json
2025-09-09 17:40:05,871 [INFO ] app.domain.foundation.HttpClientProvider: GET https://sub.creamycake.org/v1/bt1.json : 200 in 1.255271700s
2025-09-09 17:40:05,915 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: updateSubscription diff: Diff(removed=)
2025-09-09 17:40:06,042 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: Updating subscription: https://sub.creamycake.org/v1/css1.json
2025-09-09 17:40:06,330 [INFO ] app.domain.foundation.HttpClientProvider: GET https://sub.creamycake.org/v1/css1.json : 200 in 275.899500ms
2025-09-09 17:40:06,370 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: updateSubscription diff: Diff(removed=)
2025-09-09 18:40:06,444 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: MediaSourceSubscriptionUpdater.updateAllOutdated
2025-09-09 18:40:06,444 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: Updating subscription: https://sub.creamycake.org/v1/bt1.json
2025-09-09 18:40:06,891 [INFO ] app.domain.foundation.HttpClientProvider: GET https://sub.creamycake.org/v1/bt1.json : 200 in 432.173800ms
2025-09-09 18:40:06,914 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: updateSubscription diff: Diff(removed=)
2025-09-09 18:40:06,979 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: Updating subscription: https://sub.creamycake.org/v1/css1.json
2025-09-09 18:40:07,241 [INFO ] app.domain.foundation.HttpClientProvider: GET https://sub.creamycake.org/v1/css1.json : 200 in 252.207400ms
2025-09-09 18:40:07,294 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: updateSubscription diff: Diff(removed=)
2025-09-09 19:40:08,502 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: MediaSourceSubscriptionUpdater.updateAllOutdated
2025-09-09 19:40:08,504 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: Updating subscription: https://sub.creamycake.org/v1/bt1.json
2025-09-09 19:40:10,046 [INFO ] app.domain.foundation.HttpClientProvider: GET https://sub.creamycake.org/v1/bt1.json : 200 in 1.534394900s
2025-09-09 19:40:10,052 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: updateSubscription diff: Diff(removed=)
2025-09-09 19:40:10,067 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: Updating subscription: https://sub.creamycake.org/v1/css1.json
2025-09-09 19:40:10,335 [INFO ] app.domain.foundation.HttpClientProvider: GET https://sub.creamycake.org/v1/css1.json : 200 in 261.243400ms
2025-09-09 19:40:10,346 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: updateSubscription diff: Diff(removed=)
2025-09-09 20:16:58,424 [INFO ] app.ui.update.AppUpdateViewModel: Checking latest version, updateSettings=UpdateSettings(autoCheckUpdate=true, releaseClass=stable, autoDownloadUpdate=false, inAppDownload=true, _placeholder=0)
2025-09-09 20:16:59,120 [INFO ] app.ui.update.UpdateChecker: Got latest version from global server: null
2025-09-09 20:19:29,183 [INFO ] app.platform.AppStartupTasks: Ani started. platform: Windows x86_64, version: 5.0.0-alpha03, isDebug: false
2025-09-09 20:19:29,185 [INFO ] Ani: dataDir: file://C:\Users\snowm\AppData\Roaming\Him188\Ani\data
2025-09-09 20:19:29,185 [INFO ] Ani: cacheDir: file://C:\Users\snowm\AppData\Local\Him188\Ani\cache
2025-09-09 20:19:29,185 [INFO ] Ani: logsDir: file://C:\Users\snowm\AppData\Roaming\Him188\Ani\data\logs
2025-09-09 20:19:29,404 [INFO ] app.desktop.WindowsSingleInstanceChecker: Application is running with mutex to prevent double instances: AniAppSingleInstanceMutex
2025-09-09 20:19:29,576 [INFO ] app.platform.SystemProxyDetector: Detected system proxy: null
2025-09-09 20:19:29,581 [INFO ] app.torrent.anitorrent.AnitorrentLibraryLoader: Loading anitorrent library
2025-09-09 20:19:29,580 [INFO ] Ani: [JCEF init] waiting for anitorrent load
2025-09-09 20:19:29,582 [INFO ] app.torrent.anitorrent.AnitorrentLibraryLoader: java.library.path: D:\Program Files\Ani;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Program Files\VMware\VMware Workstation\bin\;C:\Program Files\Microsoft\jdk-21.0.7.6-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Users\snowm\AppData\Local\Microsoft\WindowsApps;C:\Users\snowm\AppData\Local\XPipe\bin;C:\Users\snowm\AppData\Local\Programs\Microsoft VS Code\bin;D:\Program Files\Ani\app;.
2025-09-09 20:19:29,588 [INFO ] app.domain.torrent.TorrentManager: TorrentManager base save dir: C:\Users\snowm\AppData\Roaming\Him188\Ani\data\media-downloads
2025-09-09 20:19:29,588 [INFO ] app.torrent.anitorrent.AnitorrentLibraryLoader: Loading anitorrent library: success (from java.library.path)
2025-09-09 20:19:29,598 [INFO ] app.domain.torrent.TorrentManager: HttpMediaCacheEngine base save dir: C:\Users\snowm\AppData\Roaming\Him188\Ani\data\media-downloads\web-m3u
2025-09-09 20:19:29,626 [DEBUG] app.domain.torrent.DefaultTorrentManager: Anitorrent upload rate limit: 2.0 MB/s
2025-09-09 20:19:29,626 [DEBUG] app.domain.torrent.DefaultTorrentManager: Anitorrent upload rate limit: 2.0 MB/s
2025-09-09 20:19:29,627 [INFO ] app.domain.torrent.AbstractTorrentEngine: Loaded libraries for AnitorrentEngine
2025-09-09 20:19:29,631 [INFO ] app.torrent.anitorrent.AnitorrentTorrentDownloader: Creating a new AnitorrentTorrentDownloader
2025-09-09 20:19:29,638 [INFO ] app.domain.mediasource.subscription.MediaSourceSubscriptionUpdater: MediaSourceSubscriptionUpdater.updateAllOutdated
2025-09-09 20:19:29,639 [INFO ] utils.httpdownloader.KtorHttpDownloader: KtorHttpDownloader initialized.
2025-09-09 20:19:29,642 [INFO ] app.torrent.anitorrent.AnitorrentTorrentDownloader: AnitorrentTorrentDownloader created
2025-09-09 20:19:29,651 [INFO ] utils.httpdownloader.KtorPersistentHttpDownloader: Restored 1 downloads from DataStore
2025-09-09 20:19:29,652 [DEBUG] app.domain.media.cache.storage.DataStoreMediaCacheStorage: Restoring persisted torrent caches on startup.
2025-09-09 20:19:29,657 [DEBUG] app.data.repository.user.SettingsRepository: Updating preference 'oneshotActionConfig' with lambda
2025-09-09 20:19:29,663 [DEBUG] app.domain.session.SessionManager: SessionManager: maintainAccessTokenLoop started with session: AccessTokenSession(tokens=AccessTokenPair(bangumiAccessToken.hashCode=-1663931669, aniAccessToken.hashCode=832297568, expiresAtMillis=1787997027657))
2025-09-09 20:19:29,664 [DEBUG] app.domain.session.SessionManager: SessionManager: access token is valid, will refresh in 346d 21h 30m 57.993s ms
2025-09-09 20:19:29,708 [INFO ] app.domain.media.cache.storage.DataStoreMediaCacheStorage: Restoring media cache, cache count in datastore: 1
2025-09-09 20:19:29,709 [INFO ] app.domain.media.cache.storage.DataStoreMediaCacheStorage: Restoring media cache, cache count in datastore: 27
compose bug