chadw75 / tunnelblick

Automatically exported from code.google.com/p/tunnelblick
0 stars 0 forks source link

"VPN Details" moves already visible window #244

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using 3.4beta18 on 10.6.8.

If the main window is open and you select VPN Details, it moves the main window 
back to center. I think it should just bring it (and the app) to front.

Original issue reported on code.google.com by kain...@gmail.com on 19 Dec 2013 at 9:29

GoogleCodeExporter commented 9 years ago
Hmmm. Thanks for this report. It is reproducible; I'll see what I can do.

Original comment by jkbull...@gmail.com on 19 Dec 2013 at 10:18

GoogleCodeExporter commented 9 years ago
Here's some code I've used before which lets you save the frame and center it 
the first time.

// Center the window, then set the autosave name. If the frame already has been 
saved, it'll override the centering.
[win center];
[win setFrameAutosaveName:@"MainWindow"];
// Show the window only after its frame has been adjusted.
[win makeKeyAndOrderFront:nil];

Original comment by kain...@gmail.com on 19 Dec 2013 at 10:57

GoogleCodeExporter commented 9 years ago
I've fixed this in the source code and the fix will be in the next release.

I have created a snapshot build (pre-release version) of Tunnelblick that fixes 
this problem (among others).

Email me at jkbullard at Gmail for a link to download it.

Original comment by jkbull...@gmail.com on 22 Dec 2013 at 4:12