Okay, I managed to get rid of the “window misplacement” by updating my Nvidia driver (to the latest-and-greatest “game ready” release), but now I see a totally different “bug” (?)…
Firstly, the values get saved:
Moved the window around, quit Syncthing-GTK, looked into regedit
use_old_header = 0x0
window_position_0 = 0x310
window_position_1 = 0x1b5
window_position_size = 0x2
Started it again, enabled “Traditional”, moved the window again, quit Syncthing-GTK, looked into regedit
use_old_header = 0x1
window_position_0 = 0x237
window_position_1 = 0x5c
window_position_size = 0x2
BUT … upon firing it up again the “old” decoration doesn’t show up!
See this screenshot
Look at the main window behind the “UI Settings” - that’s the “Linux/GTK style decoration” (and I swear that I did quit it after setting “use_old_header” and start it anew).
I uninstalled Syncthing-GTK, cleared out the registry, re-installed from scratch, and ran the test again with the same result you see in the screenshot - while “use_old_header” is enabled the window shows the other way around. Am still not entirely sure that it’s a bug, but I think I better leave it to you to rule it out.
EDIT: I’m tempted to believe the decoration issue could be a Windows bug because… when I open/hide the Syncthing-GTK window it randomly shows with the top left/right corner of the main window being edges instead of rounded corners. I’d say this looks like dwm messing up compositing the window; Windows (Vista/7/8.x) has a history with GTK/Glade based applications having issues.
I guess when I have a some time to spare I’ll try to get a C# based port rolling so you have a native Windows version (especially now that Microsoft is giving away Visual Studio as a “Community Edition” that’s en-par feature-wise with VS Pro) - if that idea is fine with you. /EDIT