shyboy

Results 13 comments of shyboy

> Set the file priority to `DoNotDownload`: > > ```cs > TorrentManager torrent; > // ... > foreach(ITorrentFileInfo file in torrent.Files) > await torrent.SetFilePriorityAsync(file, Priority.DoNotDownload); > ``` Thank you for...

> There are a few options for this. > > 1. Call `TorrentManager.WaitForMetadataAsync`. When downloading using a magnet link, this method will return once the metadata has been received and...

> 谢谢你让我知道 文本框内输入中文字符的问题一直没有得到好的解决,文本的根本原因是什么?为什么原声的wpf和winform都没有问题?是否和区域有关?还是中文字体渲染有关?这个问题是阻止我使用avalonia 的主要原因。

> 谢谢你让我知道 The problem of inputting Chinese characters in the text box has not been solved. What is the root cause of the text? Why are there no problems with...

> @BoyFaceGirl What problem are you referring to? Are you using the Avalonia 11 preview? @Gillibald ![image](https://user-images.githubusercontent.com/8773178/191513469-fc00a5a1-ff69-4b6b-a94d-81ed57f89a35.png) By default, the textbox cannot input Chinese, nor can it copy and paste....

@smartcatboy I also encountered this bug ![image](https://user-images.githubusercontent.com/8773178/176382215-ac0fac47-d9fa-4832-b0ff-089b4166d5d8.png)

I have found a feasible solution by adding the following recursive method to NavigationViewItem. cs: ``` private void ClearActiveStatus(IList menuitems, NavigationView navigationView) { foreach (var item in menuitems) { var...

` this._MenuItems = new ObservableCollection() { new NavigationViewItem() { Content="游戏", Icon = new SymbolIcon { Symbol = SymbolRegular.CheckboxChecked24 }, Foreground=Brushes.Black, Background=Brushes.White, MenuItems = new ObservableCollection() { new NavigationViewItem() { Content="魔兽争霸",...

> I don't think that's possible, each TorrentManager handles its own trackers without input from ClientEngine. You need to do something like this: > > ```cs > foreach (var torrentManager...

> From an efficiency perspective, the existing API is probably as good as it gets. There's a certain amount of data that has to be stored on a per-torrent basis,...