Skip to content

Mangled hyperlinks in screenshot viewer window after uploading a screenshot to steam profile. #13528

Description

@tempodat

Your system information

  • Steam client version (build number or date):
        dnf says steam-1.0.0.87-1.fc44
        Settings > System Information says steam-runtime_1.0.20260618.246542
  • Distribution: Fedora 44 with KDE Plasma 6.7.4, Steam installed with dnf from rpmfusion-nonfree-steam.
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • GPU: Nvidia
  • Steam Logs: they're like 60mb, I'll upload if necessary. Here's my systeminfo though.

Please describe your issue in as much detail as possible:

When viewing a local game screenshot in Steam's image viewer window, you have the option to upload the screenshot to your steam cloud, which allows you to share the screenshot with a link. The image viewer's UI will have extra buttons when viewing an uploaded screenshot.

Image

If you upload a screenshot from inside this window (Share > Share on steam > Upload) and click on these buttons when they appear, none of them will work. They will open a mangled version of the screenshot URL in the steam web browser, with the string %p1% appearing instead of the screenshot id number.

Instead of opening the page https://steamcommunity.com/id/username/screenshot/(30 digit number)/, it will open the page https://steamcommunity.com/id/username/screenshot/%p1%/, which shows a "400 Bad Request - nginx" error.

This only seems to happen in the same window and session that you shared the image from. If you open the same image in a new image viewer thing the links will be correct. The window also seems to correct itself if you unload and reload the image, like if you go back to the gallery and choose the same image again. So something is going wrong when steam is trying to update the existing window with the received URL, something that's not happening when it's making a new window for an already uploaded image.

This happens both with the desktop steam app and with in game steam overlay.

crop.mp4

Steps for reproducing this issue:

  1. Launch Steam
  2. Open any game screenshot in steam's image viewer. You can do this in any of these ways (all three lead to the bug):
        - Go to the library, choose any game, scroll down a bit and double click on a screenshot preview.
        - Go to View > Recordings & Screenshot > click on any screenshot.
        - Launch a game, in the steam overlay click on Recordings & Screenshots, choose any screenshot.
  3. In the image viewer window, press Share > Share on Steam.
  4. Press upload in the dialog box.
  5. Stay in the same window and wait for it to upload, extra buttons and links will appear in the UI when it does (like, comment, etc).
  6. Press any of the new buttons, for instance the "View on my profile" button.

The steam web browser will now pop up and try to open the mangled link, the shown website will just read "400 Bad Request - nginx". Reloading the window by pressing Back and then pressing on the image again will fix those links and buttons.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions