dialog icon indicating copy to clipboard operation
dialog copied to clipboard

Windows dialogs appear minimized

Open grount opened this issue 6 years ago • 4 comments

There are some OS's which it shows on top but in some cases, the dialog appears minimized.

grount avatar Jul 01 '19 07:07 grount

I don't understand this - windows is my main platform and I've never seen a dialog appear minimised. Can you elaborate?

sqweek avatar Jul 28 '19 10:07 sqweek

I'm experiencing this too. Interestingly it only occurs the first time that I run an executable after compiling. But not the second or third time, etc.

I can reliably reproduce it by making small changes to my script (e.g. adding comments), recompiling, and then running.

ryanavella avatar Sep 03 '19 04:09 ryanavella

Is your code public? If not, what sort of dialog are you spawning? Does your program use other GUI elements?

sqweek avatar Sep 04 '19 09:09 sqweek

Hmm, strangely enough I am no longer able to reproduce it. But here is the minimal example I was able to narrow it down to yesterday:

package main

import "github.com/sqweek/dialog"

func main() {
	filename, _ := dialog.File().Load()
	_ = filename // silence unused variable error
}

I'm using Go version go1.11.5 windows/amd64, and compiling and running from a msys2 terminal.

ryanavella avatar Sep 04 '19 15:09 ryanavella