Skip to content

Memory leaks & Focus loss of Latest Version #970

@NullTar

Description

@NullTar

Please confirm the following:

  • Be sure to check out FAQ
  • I have carefully read the README
  • I have searched through the issues page but couldn't find a solution.(Including issue that has been closed)
  • Easydict has been upgraded to the latest version
  • I understand and agree to the above, and understand that the project maintainer has limited energy, issues that do not follow the rules may be ignored or closed directly

Problem description

Thank you for your work.

It can be used normally on MacOS Tahoe 26.0 (25A353)
But on version 2.15.0, there will be a loss of focus, and severe memory leaks like over 1g
the beta feature is not enabled

Is the issue consistently reproducible?

Reproducible

Steps to Reproduce

open input translate window, paste something, it probably loss focus, and make it slow
Or open settings window, when the window is cancelled by other operations, it is not released normally, which will cause more memory to be consumed

Screenshot

Image Image

Runtime log(zip file)

com.izual.Easydict 2025-09-15--08-10-09-016.log.zip

Expected result

Fix memory leaks and missing focus

Proposed solution (optional)

If use swift window management, be sure to ensure that its life cycle is normal. Swift windows are always easy to leak memory

Device type and OS version

MacOS 26 Tahoe

Are you willing to submit a PR to fix this issue?

  • I'm willing to submit a PR to fix this issue

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed in next releaseThe issue will be closed once next release is available

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions