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

Launcher: ports the _stop fix in the Launcher kivy App to handle_url Popup App #4213

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

qwint
Copy link
Collaborator

@qwint qwint commented Nov 19, 2024

What is this fixing or adding?

When handling a url for a game that has a url-handling component (ex. launcher.py "archipelago://test:@localhost?game=The Messenger") the popup gives you an option between text client and game-specific component, staying open to allow the user to open both if desired
The issue is if you open a Kivy app (like text client) with that popup closing the popup window without closing all the spawned kivy apps will cause the popup to go unresponsive

This just ports the _stop override in the Launcher App definition to the Popup App definition which fixes the above issue.

How was this tested?

by doing above steps and seeing it act like I expect it to

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Nov 19, 2024
@Exempt-Medic Exempt-Medic added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Nov 19, 2024
Copy link
Contributor

@silasary silasary left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me

@NewSoupVi NewSoupVi merged commit 859ae87 into ArchipelagoMW:main Nov 21, 2024
18 checks passed
@qwint qwint deleted the url_launch_popup_fix branch November 21, 2024 17:59
AustinSumigray pushed a commit to AustinSumigray/Archipelago that referenced this pull request Jan 4, 2025
…Popup App (ArchipelagoMW#4213)

* fixes url launched popup so it can close cleanly after spawning another kivy app like text client

* whoops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: core Issues/PRs that touch core and may need additional validation. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants