Specified bad XDG env could break desktop portal (#790)

* Added bad xdg env senario in #Debugging

* Specified bad XDG env could break desktop portals
This commit is contained in:
BlackFuffey 2024-09-29 20:01:15 -04:00 committed by GitHub
parent b1bbafd3c4
commit efe3384ab6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -69,6 +69,9 @@ XDG specific environment variables are often detected through portals and
applications that may set those for you, however it is not a bad idea to set
them explicitly.
If your [desktop portal](https://wiki.archlinux.org/title/XDG_Desktop_Portal) is malfunctioning for seemingly
no reason (no errors), it's likely your XDG env isn't set correctly.
## Qt Variables
- `env = QT_AUTO_SCREEN_SCALE_FACTOR,1` -

View file

@ -173,6 +173,10 @@ logs.
If you see a crash, it's likely you are missing either `qt6-wayland` or
`qt5-wayland`.
If the portal does not autostart, does not function when manually started,
and does not produce any error logs, it's very likely your [XDG env variables](../../Configuring/Environment-variables.md/#xdg-specifications)
are messed up
## Configuration
Example: