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

Installing Mastodon from the browser as a PWA causes multi-column to not work and the URL can't be changed #27064

Open
CliffWade opened this issue Sep 22, 2023 · 3 comments
Labels
area/web interface Related to the Mastodon web interface status/to triage This issue needs to be triaged

Comments

@CliffWade
Copy link

Steps to reproduce the problem

  1. Pull up Mastodon in a browser with Advanced Web View enabled, and with the setting enabled via your profile to always view Advanced Web View.
  2. Install Mastodon as a PWA via the browser(Vivaldi in my case, but have tested with other browsers), close the PWA when it opens.
  3. Restart the PWA again, and you will notice that the app isn't displaying Advanced Web View, even though the browser is and has the correct new URL with the new /deck/ in the URL address.
  4. Since my specific instance is hosted on MastoHost, I can't change the URL in the manifest in any way to force the PWA to open with the new Advanced Web View URL. This means that you are forced to click the link at the top of the single column view every time you open the PWA.
    ...

Expected behaviour

The PWA should include the new /deck/ part of the URL so that when the PWA is launched, it will open in Advanced Web View, just as your settings tell it to do.

Actual behaviour

When hosted at some place like MastoHost in my case, we don't have the ability to edit the URL of the installed PWA to force the PWA to open in the Advanced Web View as it does in the browser when using the correct new URL with the /deck/ part included in the web address.

Detailed description

  1. Pull up Mastodon in a browser with Advanced Web View enabled, and with the setting enabled via your profile to always view Advanced Web View.
  2. Install Mastodon as a PWA via the browser(Vivaldi in my case, but have tested with other browsers), close the PWA when it opens.
  3. Restart the PWA again, and you will notice that the app isn't displaying Advanced Web View, even though the browser is and has the correct new URL with the new /deck/ in the URL address.
  4. Since my specific instance is hosted on MastoHost, I can't change the URL in the manifest in any way to force the PWA to open with the new Advanced Web View URL. This means that you are forced to click the link at the top of the single column view every time you open the PWA.

Mastodon instance

allthingstech.social but this will happen with any instance that's hosted on MastoHost and similar. If it's a fully hosted instance, then they have the ability to change the URL via a manifest file.

Mastodon version

4.2.0

Browser name and version

Vivaldi 6.2.3105.48

Operating system

Windows 11

Technical details

No response

@CliffWade CliffWade added area/web interface Related to the Mastodon web interface bug Something isn't working status/to triage This issue needs to be triaged labels Sep 22, 2023
@martinjt
Copy link

This is actually a regression in the latest version. It used to work fine in both mobile and desktop modes. Since the new update, it doesn't default to that.

You have to click preferences then "back to mastodon" and you get the advanced interface again. You don't have to anything else, like toggling the setting, just go into it and out again.

@quicoto
Copy link

quicoto commented Oct 5, 2023

Thank you for opening the issue, it's happening for me as well. With Android 13 and Chrome.

@quicoto
Copy link

quicoto commented Jan 6, 2024

This this PR fixes the issue #27377 which I think it the same as #27314 (comment)

@renchap renchap removed the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/web interface Related to the Mastodon web interface status/to triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

4 participants