"Git Sync..." > "Compare tags" does not properly clear state from previous actions
When using "Git Sync..." > "Compare tags", the state from other actions of the "Git Sync..." dialog is not properly cleared. This might actually affect more than just "Compare tags".
What steps will reproduce the problem?
- Clone https://github.com/octocat/test-repo1
- Open "Git Sync..."
- Perform "Fetch" (left upper button)
- Perform "Compare tags" (left upper button)
❌ An empty "Log" tab is shown - Perform "Push", and cancel any shown authentication dialogs
ℹ Note: The action should fail and the Windows task bar icon should now have a red background color - Perform "Compare tags" (left upper button)
❌ The Windows taskbar icon still has the red "error" background color even though "Compare tags" was successful
What is the expected output? What do you see instead?
"Compare tags" should clear the state of previous actions, this includes:
- Either removing the "Log" tab from previous actions, or (in case the log output is empty) it should automatically open the "Compare tags" tab.
Note that when performing "Compare tags" as first action, there is no "Log" tab and the "Compare tags" output tab is shown directly. - The "error" state indicated by the Windows taskbar icon should be cleared
What version of TortoiseGit and Git are you using? On what operating system?
Microsoft Windows [Version 10.0.19043.1466]
TortoiseGit 2.12.0.0
git version 2.34.1.windows.1
Edited by Marcono1234