forked from felixonmars/panda-topbar
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Menu is leaking memory big time.
How can we analyze this?
So far I found out:
void findAppsInside(QStringList locationsContainingApps, QMenu *m_systemMenu, QFileSystemWatcher *watcher);
leaks memory, especially (but not only) the icons that get set on the QActions. This can be seen by using Heaptrack.
- What is the best way to fix this?
- Do we need to refactor this functionality into a QObject?
Also, searching leaks a lot of memory. Unfortunately, this cannot be seen by using Heaptrack because Heaptrack stops profiling before we have a chance to operate the Search menu.
- Why does Heaptrack profiling stop prematurely?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed