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

Adjusting code to account for the fact that the returned app_id no longer ends with the .desktop suffix #205

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

mattkae
Copy link
Contributor

@mattkae mattkae commented Oct 11, 2024

relies on canonical/mir#3629

What's new?

  • We dont' want a .desktop file suffix in the applicaiton id

@mattkae mattkae requested a review from a team as a code owner October 11, 2024 15:26
@mattkae mattkae requested a review from Saviq October 11, 2024 15:29
@AlanGriffiths
Copy link
Contributor

relies on canonical/mir#3629

We probably want to land code that works both with and without canonical/mir#3629 - otherwise we'd be be blocked from updating Frame without first releasing Mir

@Saviq
Copy link
Collaborator

Saviq commented Oct 18, 2024

@mattkae ping!

We just need to strip .desktop from the app id here, no?

@mattkae
Copy link
Contributor Author

mattkae commented Oct 18, 2024

@mattkae ping!

We just need to strip .desktop from the app id here, no?

Yup! That's what I did in this PR

@AlanGriffiths
Copy link
Contributor

Maybe I misunderstand, doesn't this still require the ".desktop" extension?

@mattkae
Copy link
Contributor Author

mattkae commented Nov 12, 2024

Maybe I misunderstand, doesn't this still require the ".desktop" extension?

On the frontend, we read all of the X.desktop files. The app id is X in this case, unless otherwise specified inside of the desktop file. We then resolve X instead of X.desktop

Copy link
Contributor

@AlanGriffiths AlanGriffiths left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, got it

@AlanGriffiths AlanGriffiths added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit 196d5c5 Jan 16, 2025
1 of 3 checks passed
@AlanGriffiths AlanGriffiths deleted the bugfix/mir-3608 branch January 16, 2025 10:55
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