Closed mmstick closed 1 year ago
I haven't been able to recreate https://github.com/pop-os/launcher/issues/169 (tested in GNOME on Pop!_OS with COSMIC Epoch installed, Pop!_OS without COSMIC Epoch installed, as well as on Ubuntu since the reporter mentioned Apport.)
This fix doesn't cause any problems in GNOME, but it seems to prevent the launcher from showing or searching open windows on COSMIC Epoch. That would be a regression? (Even though we're not shipping COSMIC Epoch yet.)
as well as on Ubuntu since the reporter mentioned Apport.)
I'm on Pop. I had to mask the Apport service to get rid of the lag.
I just tested it again. It doesn't happen on Pop XOrg, but happens on Pop Wayland. I have been using Wayland for so long I forgot to mention it, my apologies.
@jacobgkau What's your output for XDG_CURRENT_DESKTOP
in COSMIC? It should be pop:COSMIC
. Unless the launcher is running in an environment where this is not passed down to it.
Also yeah I've been having this issue in the Wayland session of Pop.
@jacobgkau I can also recreate the issue in COSMIC.
This change will ensure that the cosmic plugin is deactivated if the launcher is not in a COSMIC session. It checks if
XDG_CURRENT_DESKTOP
containsCOSMIC
to do so.Fixes #169