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

Explosive memory allocation when moving around window on Sway #632

Closed
badosu opened this issue Aug 10, 2023 · 12 comments
Closed

Explosive memory allocation when moving around window on Sway #632

badosu opened this issue Aug 10, 2023 · 12 comments

Comments

@badosu
Copy link

badosu commented Aug 10, 2023

I'm using manjaro-sway without much configuration (pretty much out of the box experience).

If I move the window to separate workspaces or do any operation that changes the window layout it freezes and starts allocation memory to a point I get oom freeze (recovering after the os kills notes).

Version I'm using is 2.2.0 packaged from here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=notes

@nuttyartist
Copy link
Owner

Can you try doing the same once without getting into the Kanban view and without clicking the 3 dots button and another time with and check if there's a difference?

Also, can you test on our AppImages? both the Qt6 and Qt5 versions. That would really help diagnoise the problem.

@zjeffer
Copy link
Collaborator

zjeffer commented Aug 10, 2023

I assume this is the same issue as #611 ?

@nuttyartist
Copy link
Owner

Oh I thought #611 is only a CPU issue, not memory. If that's the case then we can close this.

@badosu
Copy link
Author

badosu commented Aug 10, 2023

Can you try doing the same once without getting into the Kanban view and without clicking the 3 dots button and another time with and check if there's a difference?

I was able to reproduce it without getting into kanban view, by making it a float window and moving it by dragging the mouse. There might be other mechanisms to reproduce it (I don't remember dragging the last time)

@badosu
Copy link
Author

badosu commented Aug 10, 2023

Will check out the appimages later.

@nuttyartist
Copy link
Owner

Will check out the appimages later.

Can you check if it's the same issue as #611? Does the same happens when you maximize and restore the size of your app?

@badosu
Copy link
Author

badosu commented Aug 10, 2023

Using the qt5 image:

./Downloads/Notes_2.2.0-Qt5.15.2-x86_64.AppImage                                                                                                                              ✔  6s  
kf.windowsystem: Could not find any platform plugin
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

I installed qt5-base qt5-declarative qt5-quick3d qt5-xcb-private-headers

@badosu
Copy link
Author

badosu commented Aug 10, 2023

Exact same issue for the qt6 image

@zjeffer
Copy link
Collaborator

zjeffer commented Aug 10, 2023

Sadly we haven't found a way to include wayland support in the appimages. You should be able to run it with notes --platform xcb.

@badosu
Copy link
Author

badosu commented Aug 10, 2023

With --platform xcb the appimages don't reproduce the problem (although I didn't try too hard), I was still able to reproduce on my locally installed notes with this option.

@zjeffer
Copy link
Collaborator

zjeffer commented Aug 10, 2023

Yep, sounds like the same issue as #611. The issue is in the Qt6.5 release.

Closing as a duplicate. Thanks for reporting!

@zjeffer zjeffer closed this as not planned Won't fix, can't repro, duplicate, stale Aug 10, 2023
@badosu
Copy link
Author

badosu commented Aug 10, 2023

Thanks for the fast response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants