Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows dialogs appear minimized #34

Open
grount opened this issue Jul 1, 2019 · 4 comments
Open

Windows dialogs appear minimized #34

grount opened this issue Jul 1, 2019 · 4 comments
Labels
win32 specific to the windows implementation

Comments

@grount
Copy link

grount commented Jul 1, 2019

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

@grount grount closed this as completed Jul 4, 2019
@grount grount reopened this Jul 4, 2019
@sqweek
Copy link
Owner

sqweek commented Jul 28, 2019

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

@ryanavella
Copy link

ryanavella commented Sep 3, 2019

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.

@sqweek
Copy link
Owner

sqweek commented Sep 4, 2019

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

@ryanavella
Copy link

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.

@sqweek sqweek added the win32 specific to the windows implementation label Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
win32 specific to the windows implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants