Closed raveit65 closed 3 years ago
This one's important, we need to get this finished and merged before the next unstable point release
Yes, this also needs to be go in 1.24 branch.
IMHO, I don't think it's a good idea to remove the check to avoid adding the app if it already exists from append_app
method. I think we need to review the find_by_app
method where it compares the applications, as it currently compares the pointers of the objects instead of their content.
https://github.com/mate-desktop/mate-session-manager/blob/dcdc9927e3d0b7c3a3475c043693f5c3a933fba3/capplet/gsm-properties-dialog.c#L101
I only took that code from https://github.com/mate-desktop/mate-session-manager/issues/156#issuecomment-809557273 But feel free to find a better solution to fix that issue. Btw. i used that patch already in latest fedora package, in result the issue isn't reproducible with standard installation.
@rbuj again, I only took that code from #156 (comment) But feel free to find a better solution to fix that issue when you know it better.
Steps to reproduce the issue and testing the fix see https://github.com/mate-desktop/mate-session-manager/issues/156#issuecomment-808731386 and https://github.com/mate-desktop/mate-session-manager/issues/156#issuecomment-808893461