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
Fix crash when selecting same mod from different providers #1029
Conversation
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look okay. Need to test and reproduce the original issue though
If it helps this is the log from my other PR: #986 (comment) credits @DioEgizio |
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of duplicating a list of selected mods (which already exists on ResourceDownloadDialog), i think it would make more sense to differentiate between selected mods for download and already downloaded mods in IndexedPack
itself. Then, for some effects, like the selected indication, both types would have visual impact, whereas only the selected mods for download would show up in the confirmation page, for instance.
Note, however, that not only are you fixing a bug in this PR, you're also making a behavioral change in the downloader, by marking the already downloaded mods as selected. While I don't personally favor this feature, i'm not against it, but I think you should be more clear in what you're aiming to achieve in your PR.
Also, I'd like to ask you to please be careful to only clang-format the portions of the file you have actually touched, since it currently leaves a lot of noise when reviewing, due to the formatting changes :p
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Regarding the clang-format, I let my editor(vscode) handle all the formatting right now.
|
neither, you can use range-formatting to format only the selected lines, so you only format the lines you change (though idk if vscode has that option), or you can also, you don't have to cherry-pick commits from one branch to another if they aren't dependent. When one of them gets merged into develop, you can then merge (or rebase) develop into your other branch (e.g. you don't have to cherry-pick the commits from this branch into your other PR's branch) |
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Removed the need for an extra list in ResourceDownloadDialog, |
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cute-DUSET-2.mp4
This doesn't look quite right o.O
Qt 6.5.0, if it helps.
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
The repaint issue should be addressed. |
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Regarding the failing test, as I do not have a Windows machine, I cannot reproduce it. |
That Task test is unfortunately a bit wonky and randomly fails in the CI. code should be fine. |
@flowln please take a look again, once you find the time :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find any issues this time. Great job! :D
please stop formatting everything in the documents please
I'll squash since the merge commits will make the history annoying to read in the future. |
Fixes #1028