j6t / git-gui

Tcl/Tk based UI for Git
12 stars 8 forks source link

GUI Window stops appearing due to odd geometry values in config #4

Open kotoezh opened 2 days ago

kotoezh commented 2 days ago

Using version 0.21 Windows 64: In one of my repositories GitGUI window stopped appearing (just showed a taskbar icon ). In other repositories it was alright. Found no problems in repository with git bash and TortoiseGit Then found that the issue was caused by odd values in the config file:

[gui]
    wmstate = normal
    geometry = 144x1+-32000+-32000 0 0

After I replaced geometry values with the screen coordinates from a "healthy" repository, window appeared. Suppose this is a bug and such numbers should not be written in the config at all or should be checked on load.