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

FileDialog freezing on CentOS 6 #3946

Open
2 tasks done
LidiYuan opened this issue Jun 4, 2023 · 4 comments
Open
2 tasks done

FileDialog freezing on CentOS 6 #3946

LidiYuan opened this issue Jun 4, 2023 · 4 comments
Labels
information-needed Further information is requested unverified A bug that has been reported but not verified

Comments

@LidiYuan
Copy link

LidiYuan commented Jun 4, 2023

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

Centos6 调用dialog.NewFileSave()后使用Show()方法会卡住,不能正常显示

How to reproduce

在centos6上使用 dialog.NewFileSave 和 dialog.show() 必现的

Screenshots

No response

Example code

func (app *config) saveasMenuAction(win fyne.Window) func() {
return func() {
filedia := dialog.NewFileSave(func(writer fyne.URIWriteCloser, err error) {

		if nil != err {
			dialog.NewError(err, win)
			return
		}

		if nil == writer {
			return
		}
		writer.Write([]byte(app.EditW.Text))
		app.CurFile = writer.URI()
		defer writer.Close()

		win.SetTitle(win.Title() + "-" + writer.URI().Name())
		app.SaveMenuItem.Disabled = false

	}, win)

	filedia.Show()
}

}

Fyne version

v2.3.4

Go compiler version

go 1.16.3

Operating system and version

centos6

Additional Information

No response

@LidiYuan LidiYuan added the unverified A bug that has been reported but not verified label Jun 4, 2023
@andydotxyz
Copy link
Member

Please use English for bug reports.

Google translate says this is the content:

After Centos6 calls dialog.NewFileSave(), using the Show() method will get stuck and cannot be displayed normally

@LidiYuan
Copy link
Author

LidiYuan commented Jun 5, 2023

Problem Description: After calling dialog. NewFileSave() in Centos6, using the Show() method may get stuck and not display properly

@Jacalz
Copy link
Member

Jacalz commented Jun 7, 2023

Please include a full code example that we can run. That is just part of an application. This is what the bug report template says about example code:

Add a short code snippet to help explain and simplify reproduction of the problem.
Please refrain from adding screenshots of code, links to other projects, attached `.zip` files containing source files, or very long code examples.
A good code example should be runnable and contain no more code than is necessary to reproduce the bug.

@Jacalz Jacalz changed the title FileDialog FileDialog freezing on CentOS 6 Jun 7, 2023
@Jacalz
Copy link
Member

Jacalz commented Aug 19, 2023

@LidiYuan Can you please provide a runnable code example so we can try to replicate this?

@Jacalz Jacalz added the information-needed Further information is requested label Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information-needed Further information is requested unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

3 participants