Skip to content

When running for the second time in window.CenterOnScreen(), it will get stuck when running on the main thread #5766

@jinguihua

Description

@jinguihua

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

When running for the second time in window.CenterOnScreen(), it will get stuck when running on the main thread

How to reproduce

When running for the second time in window.CenterOnScreen(), it will get stuck when running on the main thread

Screenshots

When running for the second time in window.CenterOnScreen(), it will get stuck when running on the main thread

Example code

When running for the second time in window.CenterOnScreen(), it will get stuck when running on the main thread

Fyne version

2.6.1

Go compiler version

1.24.2

Operating system and version

mac os

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions