Open sisi399 opened 4 months ago
I've managed to compile successfully, but despite hours of effort i haven't had any success as I have no idea what I'm doing, lmao.
Here are some of my attempts:
I tried commenting out this.ImportList.ResetAutoSortProperty();
in DependenciesGui\DependencyWindow.xaml.cs
to prevent the column sort from resetting when switching between different modules after manually sorting by the "PI" column.
I attempted to manually add util:GridViewSort.AutoSort=True
properties in some .xaml files.
I also experimented with replacing Wpf.Util.GridViewSort.RemoveSort(this.Items, this);
at Line 89 in DependenciesGui\DependencyImportList.xaml.cs
with Wpf.Util.GridViewSort.ApplySort
. However, I encountered compilation issues, likely due to incorrect specification of the four arguments required.
I found a question on Stack Overflow from 8 years ago that addresses the exact same issue using the same library. There’s even an answer provided. I still wasn't able to do it myself.
https://stackoverflow.com/questions/31458719/implementing-initial-sort-on-listview-using-a-class
Tagging some individuals who have contributed to Dependencies or maintain their own forks: @VirusCamp @lhak @sonyps5201314 @wekoil @DawmosTomie @himeshsameera @neeraj9 @sj6219
I apologize for the unsolicited tag. Your assistance would be greatly appreciated.
I have done a new ticket for @lucasg to migrate this repository into an organization to continuous the development:
Hello,
I am using the Dependencies tool and have a feature request that I hope someone can help me with. Currently, when I click on a module with missing imports, the default view in the imports section does not prioritize the missing imports. I have to click the sortable column header twice to sort the missing imports to the top. Here are some screenshots illustrating the current behavior and the desired outcome:
Default view: Kernel32.dll has missing imports, but these are scattered throughout the "PI" column.
Double-clicking the "PI" column header (indicated by the red arrow) sorts the column so that the missing imports appear at the top. See Picture 2.
Picture 2
I would love for Dependencies to automatically show the missing imports at the top by default when I click on a module. Unfortunately, I do not have experience with C# or XAML, so I am unsure how to make this change myself.
It would be wonderful if someone with a coding experience could modify the source code so I can compile it myself. Alternatively, is there a fork that already has this modification implemented?
Thank you in advance for your help.