-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add parent detection #300
Add parent detection #300
Conversation
Hi, thanks a lot for the PR! |
I worry only that the hardcoded "org.gnome.Shell" will not be useful on other desktop managers. |
Interestingly, my use case appears to have disappeared as Proton Mail is using the correct cgroups now... |
That's interesting indeed. It's still a useful feature though, surely Proton Mail isn't the only app affected by this.
I think that's okay for now as it doesn't harm Resources on other DEs. I'd export "org.gnome.Shell" into an array to make it easier to extend later. I've got a commit ready, I'd push it to your branch if that's okay with you. |
Go ahead, Im waiting for #305 anyway |
Side-by-side, current flatpak vers is identical to this PR. the other app, |
Do you think this is ready for merging? |
Im not confident to merge this until I can produce a solid example of this working. I think I will have to design my own app to do it. |
@nokyan do you see any other examples of this PR fixing any apps? if so, and youre fine with the changes, then im fine undrafting and merging. |
I haven't yet found other apps that might benefit from this. Though I am fine with the changes and a tree view for Processes is on the roadmap at some point as well, so keeping track of a process' parent already is useful as well. |
Ok, ill resolve the merge conflict when i get the chance and then unmark draft |
Sorry, I kinda forgot about this PR 😅 |
Fixes #299
before & after. Proton mail has its children accounted for.
I've done three things:
org.gnome.Shell
, lets try to lookup our parent before invariably being resolved toorg.gnome.Shell
some
for performanceI don't expect this to be the final revision, so opening as draft to encourage discussion