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

fix: add case independent startup_wm_class, name fallback #336

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

ryanabx
Copy link
Contributor

@ryanabx ryanabx commented Mar 10, 2024

This PR adds a "name" fallback and changes the startup_wm_class fallback to evaluate independent of case.

Some applications (like element desktop) have a app id capitalized e.g. "Element" when their startup_wm_class is lowercase e.g. "element".

The "name" fallback is separate from the startup_wm_class and appid conditions just in case an app is named something similar to another app's id.

Apps known by me to be fixed by the case insensitive wm_class fallback:

  • Element
  • RStudio
  • Steam
  • VLC

Apps known by me to be fixed by the name fallback:

  • ONLYOFFICE Desktop Editors

This should fix part (or potentially all) of this issue, this issue, and this issue

I believe this is similar to what other DEs do to handle problematic apps that don't register their app-id properly.

@ryanabx ryanabx force-pushed the fixes/more-appid-fallbacks branch 2 times, most recently from 4fe77d9 to 75ca322 Compare March 10, 2024 19:32
@ryanabx ryanabx changed the title fix: add lowercase startup_wm_class fallbacks and identify desktop fallbacks from exact match fix: add lowercase startup_wm_class, name fallbacks Mar 11, 2024
@ryanabx ryanabx changed the title fix: add lowercase startup_wm_class, name fallbacks fix: add case independent startup_wm_class, name fallbacks Mar 11, 2024
@ryanabx ryanabx changed the title fix: add case independent startup_wm_class, name fallbacks fix: add case independent startup_wm_class, name fallback Mar 11, 2024
@wash2 wash2 merged commit cbda93a into pop-os:master Mar 11, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

3 participants