"Return to game" link on drop tables does not work
_RiO_
Posts: 1,047 Chairperson of the Boards
When using the new "Pack info" button on the Steam/PC version of the game, the user's configured default web browser is launched to display the cover pack's drop table webpage. This webpage contains a "Return to game" link that uses a custom protocol handler with a dummy "no operation" marker ([url=marvelpuzzlequest://noop]marvelpuzzlequest://noop[/url]) in an attempt to return to the game.
Expected behavior
The web browser tab is closed and the game is relaunched.
Actual observed behavior
Mozilla Firefox throws up a warning box stating that "this link needs to be opened with an application". The user has to verify that Marvel Puzzle Quest is the selected application (and if not: select it) and then has to confirm the choice by hitting the button labeled "OK". After confirming the choice to process the link using the MPQ application*, Steam will attempt to start a second instance of the game. This will fail and will prompt a dialog box "Failed to start game (app already running)" with an accompanying audio signal. The user has to dismiss the Steam dialog, has to manually close the web browser tab (or the entire browser, if it wasn't open before) and has to manually refocus the game window. Incase the game was running fullscreen, it can only be refocused through the taskbar.
Proposed fix
Integrate the pack's drop rates into a simple popup window inside the game and sidestep this whole sordid mess of trying and failing to interoperate with the user's browser.
*) Sidetrack: The dialog can give permission to Firefox to always directly launch (marvelpuzzlequest://) urls with the game as the selected application, but doing so is a potential security risk, depending on the kinds of functionality exposed through the protocol handler. A web-savvy user will never do this and tempting/training the non-savvy to do this is irresponsible at best.
Expected behavior
The web browser tab is closed and the game is relaunched.
Actual observed behavior
Mozilla Firefox throws up a warning box stating that "this link needs to be opened with an application". The user has to verify that Marvel Puzzle Quest is the selected application (and if not: select it) and then has to confirm the choice by hitting the button labeled "OK". After confirming the choice to process the link using the MPQ application*, Steam will attempt to start a second instance of the game. This will fail and will prompt a dialog box "Failed to start game (app already running)" with an accompanying audio signal. The user has to dismiss the Steam dialog, has to manually close the web browser tab (or the entire browser, if it wasn't open before) and has to manually refocus the game window. Incase the game was running fullscreen, it can only be refocused through the taskbar.
Proposed fix
Integrate the pack's drop rates into a simple popup window inside the game and sidestep this whole sordid mess of trying and failing to interoperate with the user's browser.
*) Sidetrack: The dialog can give permission to Firefox to always directly launch (marvelpuzzlequest://) urls with the game as the selected application, but doing so is a potential security risk, depending on the kinds of functionality exposed through the protocol handler. A web-savvy user will never do this and tempting/training the non-savvy to do this is irresponsible at best.
0
Categories
- All Categories
- 44.8K Marvel Puzzle Quest
- 1.5K MPQ News and Announcements
- 20.3K MPQ General Discussion
- 3K MPQ Tips and Guides
- 2K MPQ Character Discussion
- 171 MPQ Supports Discussion
- 2.5K MPQ Events, Tournaments, and Missions
- 2.8K MPQ Alliances
- 6.3K MPQ Suggestions and Feedback
- 6.2K MPQ Bugs and Technical Issues
- 13.6K Magic: The Gathering - Puzzle Quest
- 508 MtGPQ News & Announcements
- 5.4K MtGPQ General Discussion
- 99 MtGPQ Tips & Guides
- 424 MtGPQ Deck Strategy & Planeswalker Discussion
- 299 MtGPQ Events
- 60 MtGPQ Coalitions
- 1.2K MtGPQ Suggestions & Feedback
- 5.7K MtGPQ Bugs & Technical Issues
- 548 Other 505 Go Inc. Games
- 21 Puzzle Quest: The Legend Returns
- 5 Adventure Gnome
- 6 Word Designer: Country Home
- 381 Other Games
- 142 General Discussion
- 239 Off Topic
- 7 505 Go Inc. Forum Rules
- 7 Forum Rules and Site Announcements