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]: 存在频繁的自启行为 #2390

Closed
1 task done
Alirea10 opened this issue Jan 19, 2025 · 4 comments
Closed
1 task done

[Bug]: 存在频繁的自启行为 #2390

Alirea10 opened this issue Jan 19, 2025 · 4 comments
Labels
area-LifeCycle App生命周期问题

Comments

@Alirea10
Copy link

Windows 版本

22631.4602

Snap Hutao 版本

1.13.0.0

设备 ID

905A3A3B3C84796BB8C1C89908DDFC70

问题分类

安装和环境

发生了什么?

胡桃在我电脑上会反复自启动,无论是:
直接退出胡桃(右上角x)
右键任务栏中胡桃选择退出
通过任务管理器关闭进程

他都会在一段时间后以非管理员模式自己启动出来

对于这个问题我感觉很疑惑,这是在我的其中一台电脑上出现的,在我的另一台装有胡桃的电脑却没有出现,触发的实在频繁且只有胡桃会如此故发个issue抛砖引玉。
没有设为开机启动项,我略微怀疑是更新版本时下载安装新版本完毕后的那个启动可能有问题,因为胡桃似乎只有这个地方会涉及“启动胡桃自己且不是管理员”,但是我没有证据。

你期望发生的行为?

No response

最后一步

  • 我认为上述的描述已经足以详细,以允许开发人员能复现该问题
@Alirea10 Alirea10 added the priority:none Priority not set label Jan 19, 2025
@dgp-bot
Copy link

dgp-bot bot commented Jan 19, 2025

device_id: 905A3A3B3C84796BB8C1C89908DDFC70

Exception Data:
----------------------------------------
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: g.AttachUid'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
   at Snap.Hutao.Service.Game.GameDbService.GetGameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameDbService.cs:line 23
   at Snap.Hutao.Service.Game.Account.GameAccountService.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Account\GameAccountService.cs:line 25
   at Snap.Hutao.Service.Game.GameServiceFacade.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 31
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.OpenUIAsync() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 39
   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:
----------------------------------------
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: 'no such column: g.AttachUid'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()
   at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
   at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
   at Snap.Hutao.Service.Game.GameDbService.GetGameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameDbService.cs:line 23
   at Snap.Hutao.Service.Game.Account.GameAccountService.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\Account\GameAccountService.cs:line 25
   at Snap.Hutao.Service.Game.GameServiceFacade.get_GameAccountCollection() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\Service\Game\GameServiceFacade.cs:line 31
   at Snap.Hutao.ViewModel.Game.LaunchGameViewModelSlim.OpenUIAsync() in D:\Projects\Snap.Hutao\src\Snap.Hutao\Snap.Hutao\ViewModel\Game\LaunchGameViewModelSlim.cs:line 39
   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()

@dgp-bot dgp-bot bot added the area-LifeCycle App生命周期问题 label Jan 19, 2025
@Lightczx
Copy link
Member

参考 #2303

@dgp-bot dgp-bot bot removed the priority:none Priority not set label Jan 20, 2025
@Masterain98

This comment has been minimized.

@Lightczx
Copy link
Member

关闭实时便笺自动刷新

Image

高版本是刷新与低版本不同,低版本残留的任务必须手动删除

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-LifeCycle App生命周期问题
Projects
None yet
Development

No branches or pull requests

3 participants