ferdium / ferdium-app

All your services in one place, built by the community
https://ferdium.org
Apache License 2.0
2.67k stars 164 forks source link

Desktop app - Discord service behaves as mobile version #1835

Open inpendio opened 3 days ago

inpendio commented 3 days ago

Avoid duplicates

Ferdium Version

Version: 6.7.5

What Operating System are you using?

macOS

Operating System Version

Version 14.3

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Ferdium version

6.7.4

Expected Behavior

Discord should behave as a normal desktop app (with sidebars)

Actual Behavior

Discord behaves as mobile app (or mobile website version), where sidebar is hidden and behaves as a separate page. You can see this behavior if you open Discord in browser, change size to mobile, reload the page and then change the size back to normal without reloading.

Steps to reproduce

  1. Navigate to Discord service
  2. See it doesnt behave as expected

Debug link

https://debug.ferdium.org/c87ef992-7b70-40f9-8717-2564dc953b39

Screenshots

no

Additional information

no

pztrn commented 3 days ago

User agent switching helps. I set:

Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

And everything is okay now.

Edit discord service, scroll down to user agent field and paste it.

Of course, this is a workaround, not an actual fix, so don't close issue please.

inpendio commented 3 days ago

@pztrn Tnx, this worked. But yeah, need some official fix

vietstone-ng commented 4 hours ago

Oh, this workaround works.