pop-os / cosmic-launcher

WIP
GNU General Public License v3.0
104 stars 58 forks source link

Typing "lib" and variations of "scr" causes crashes #213

Open TheKamboy opened 1 month ago

TheKamboy commented 1 month ago

I wanted to check if my system had libreoffice installed, so I searched it through cosmic launcher, which caused a crash when typing "lib". Typing "scr" or replacing the r with certain letters also causes a crash. If anyone can tell me how to get backtraces working with this, since I can't figure out how to get backtraces to work with cosmic launcher.

Oh yeah, at the time of writing this, "sc" also causes crashes now as well. Wonderful.

mmstick commented 1 month ago

Which version of pop-launcher and cosmic-launcher?

smsteward commented 1 month ago

I have this issue as well, but with different character combinations. If I type "pr" or "po" into cosmic-launcher (usually to open Proton apps or Portmaster), cosmic-launcher exits immediately. I'm only able to launch those apps via the launcher by typing just the first character, and scrolling through the resulting menu or by pressing the Ctrl+number from the launcher menu. I'm using cosmic-launcher-git and pop-launcher-git from the AUR.

$ pacman -Qi cosmic-launcher-git
Name            : cosmic-launcher-git
Version         : 1.0.0.alpha.2.r3.g27ab200-1
Description     : Layer Shell frontend for Pop Launcher.
Architecture    : x86_64
URL             : https://github.com/pop-os/cosmic-launcher
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : cosmic-launcher
Depends On      : hicolor-icon-theme  libxkbcommon  pop-launcher-git  wayland
Optional Deps   : None
Required By     : cosmic-session-git
Optional For    : None
Conflicts With  : cosmic-launcher
Replaces        : None
Installed Size  : 22.15 MiB
Packager        : Unknown Packager
Build Date      : Thu 24 Oct 2024 10:24:48 PM EDT
Install Date    : Thu 24 Oct 2024 10:25:49 PM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

$ pacman -Qi pop-launcher-git
Name            : pop-launcher-git
Version         : 1.2.4.r0.gfca3b25-1
Description     : Modular IPC-based desktop launcher service
Architecture    : x86_64
URL             : https://github.com/pop-os/launcher
Licenses        : MPL-2.0
Groups          : None
Provides        : pop-launcher
Depends On      : dbus  fd  libqalculate  libegl  libxkbcommon  pop-icon-theme-git  sh
                  xdg-utils
Optional Deps   : pop-shell-plugin-system76-power
Required By     : cosmic-launcher-git
Optional For    : None
Conflicts With  : pop-launcher
Replaces        : None
Installed Size  : 9.76 MiB
Packager        : Unknown Packager
Build Date      : Fri 18 Oct 2024 06:28:59 PM EDT
Install Date    : Fri 18 Oct 2024 06:29:46 PM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None
TheKamboy commented 1 month ago

Which version of pop-launcher and cosmic-launcher?

I'm using the git versions of both programs, which I installed from the Chaotic AUR.

pop-launcher:

Name            : pop-launcher-git
Version         : 1.2.4.r0.gfca3b25-1
Description     : Modular IPC-based desktop launcher service
Architecture    : x86_64
URL             : https://github.com/pop-os/launcher
Licenses        : MPL-2.0
Groups          : None
Provides        : pop-launcher
Depends On      : dbus  fd  libqalculate  libegl  libxkbcommon  pop-icon-theme-git  sh  xdg-utils
Optional Deps   : pop-shell-plugin-system76-power
Required By     : cosmic-launcher-git
Optional For    : None
Conflicts With  : pop-launcher
Replaces        : None
Installed Size  : 9.67 MiB
Packager        : Garuda Builder <team@garudalinux.org>
Build Date      : Fri 18 Oct 2024 10:57:02 AM PDT
Install Date    : Fri 18 Oct 2024 06:15:55 PM PDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : SHA-256 Sum  Signature

cosmic-launcher:

Name            : cosmic-launcher-git
Version         : 1.0.0.alpha.2.r3.g27ab200-1
Description     : Layer Shell frontend for Pop Launcher.
Architecture    : x86_64
URL             : https://github.com/pop-os/cosmic-launcher
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : cosmic-launcher
Depends On      : hicolor-icon-theme  libxkbcommon  pop-launcher-git  wayland
Optional Deps   : None
Required By     : cosmic-session-git
Optional For    : None
Conflicts With  : cosmic-launcher
Replaces        : None
Installed Size  : 22.20 MiB
Packager        : Garuda Builder <team@garudalinux.org>
Build Date      : Wed 23 Oct 2024 08:38:27 AM PDT
Install Date    : Thu 24 Oct 2024 05:05:14 PM PDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : SHA-256 Sum  Signature
TheKamboy commented 1 month ago

I have this issue as well, but with different character combinations. If I type "pr" or "po" into cosmic-launcher (usually to open Proton apps or Portmaster), cosmic-launcher exits immediately. I'm only able to launch those apps via the launcher by typing just the first character, and scrolling through the resulting menu or by pressing the Ctrl+number from the launcher menu. I'm using cosmic-launcher-git and pop-launcher-git from the AUR.

$ pacman -Qi cosmic-launcher-git
Name            : cosmic-launcher-git
Version         : 1.0.0.alpha.2.r3.g27ab200-1
Description     : Layer Shell frontend for Pop Launcher.
Architecture    : x86_64
URL             : https://github.com/pop-os/cosmic-launcher
Licenses        : GPL-3.0-or-later
Groups          : None
Provides        : cosmic-launcher
Depends On      : hicolor-icon-theme  libxkbcommon  pop-launcher-git  wayland
Optional Deps   : None
Required By     : cosmic-session-git
Optional For    : None
Conflicts With  : cosmic-launcher
Replaces        : None
Installed Size  : 22.15 MiB
Packager        : Unknown Packager
Build Date      : Thu 24 Oct 2024 10:24:48 PM EDT
Install Date    : Thu 24 Oct 2024 10:25:49 PM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

$ pacman -Qi pop-launcher-git
Name            : pop-launcher-git
Version         : 1.2.4.r0.gfca3b25-1
Description     : Modular IPC-based desktop launcher service
Architecture    : x86_64
URL             : https://github.com/pop-os/launcher
Licenses        : MPL-2.0
Groups          : None
Provides        : pop-launcher
Depends On      : dbus  fd  libqalculate  libegl  libxkbcommon  pop-icon-theme-git  sh
                  xdg-utils
Optional Deps   : pop-shell-plugin-system76-power
Required By     : cosmic-launcher-git
Optional For    : None
Conflicts With  : pop-launcher
Replaces        : None
Installed Size  : 9.76 MiB
Packager        : Unknown Packager
Build Date      : Fri 18 Oct 2024 06:28:59 PM EDT
Install Date    : Fri 18 Oct 2024 06:29:46 PM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

Interestingly, I don't have the same issue.

TheKamboy commented 2 weeks ago

I also discovered that gim and gn also causes cosmic-launcher to crash.

wash2 commented 2 weeks ago

This seems like a bug from an older version of the launcher. Could you try using the latest version of the launcher? The AUR version seems like it was last updated before the fix https://github.com/pop-os/launcher/commit/476a8fb44564b7075adf2c3b74bad758f6582747

TheKamboy commented 2 weeks ago

This seems like a bug from an older version of the launcher. Could you try using the latest version of the launcher? The AUR version seems like it was last updated before the fix https://github.com/pop-os/launcher/commit/476a8fb44564b7075adf2c3b74bad758f6582747

I will when I can, as I'm currently busy with school. Thanks for letting me know.

TheKamboy commented 2 weeks ago

@wash2 The latest version didn't seem to do anything.

TheKamboy commented 2 weeks ago

Ok, for some reason, sometimes it doesn't bug out when trying to search for gimp, but still has issues with trying to search for libreoffice