Skip to content
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

[Bug] Matching desktop entries sometimes returns the wrong result or nothing #243

Open
DataM0del opened this issue Sep 29, 2024 · 3 comments

Comments

@DataM0del
Copy link

DataM0del commented Sep 29, 2024

Note

This isn't just Spotify.
This seems to not happen using Amberol.
The icon and the details changes whenever the title changes.

  • I use the Flatpak version of Spotify, installed from GNOME Software.
  • I use spicetify
  • I have forced Spotify to run natively under Wayland (using the flags from the Arch Linux article).
  • This bug doesn't happen with GNOME, so it should be an issue with this.

The cause is:

&[&info.app_id, &info.title],

I think it's probably better to just remove the window_title from the patterns.

"What IP":
image
image
Wi-Fi settings: image
Mouse settings: image
Sound settings: image
Appearance settings: image
Steam: image
Xwayland X11 server: image
IBUS Anthy thing: image
CLion: image
Embellish: image
typing booster thing: image
Android Studio: image
Firefox Nightly masquerading as Spotify in search menu: image
Firefox Nightly: image
Mullvad Browser: image
Fedora Media Writer: image
GTK Demo: image
And sometimes, it just doesn't show.
image
image
image
image
image
image
image

this changes with the window title, and sometimes also removes it from the Alt + Tab menu entirely.

@DataM0del DataM0del changed the title [Bug] Spotify window uses "What IP" app icon & description [Bug] Spotify window uses a random app's icon & description Sep 29, 2024
@DataM0del DataM0del changed the title [Bug] Spotify window uses a random app's icon & description [Bug] Spotify window uses a random app's icon & description or just doesn't appear Sep 29, 2024
@DataM0del DataM0del changed the title [Bug] Spotify window uses a random app's icon & description or just doesn't appear [Bug] Spotify window uses a random app's icon & description or isn't listed Sep 29, 2024
@DataM0del
Copy link
Author

this only happens while it's playing, which is when the title changed.

@DataM0del
Copy link
Author

DataM0del commented Sep 30, 2024

Useful command in case you want to take screenshots of system UIs that disappear after releasing keys (which, you need to press print screen in order to take screenshots):

# waits 5 seconds and then opens the screenshot tool,
# adjust the time as much as you want, as long as you are comfortable with it.
sleep 5 & cosmic-screenshot

@DataM0del DataM0del changed the title [Bug] Spotify window uses a random app's icon & description or isn't listed [Bug] some window use a random app's icon & description or isn't listed Sep 30, 2024
@DataM0del DataM0del changed the title [Bug] some window use a random app's icon & description or isn't listed [Bug] some windows use a random app's icon & description or isn't listed Sep 30, 2024
@DataM0del
Copy link
Author

I thought it was gonna be an issue in cosmic-launcher, and not this repository (launcher), but cosmic-launcher uses this launcher for the getting the icon.
So, it's an issue with this repository.

@DataM0del DataM0del changed the title [Bug] some windows use a random app's icon & description or isn't listed [Bug] Obtaining desktop entries via window title sometimes returns the wrong result Sep 30, 2024
@DataM0del DataM0del changed the title [Bug] Obtaining desktop entries via window title sometimes returns the wrong result [Bug] Matching desktop entries sometimes returns the wrong result or nothing Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant