Skip to content

Conversation

@mihawk90
Copy link
Contributor

@mihawk90 mihawk90 commented Feb 2, 2026

Description

This adds an additional check to the existing checkWayland() to make sure we have an XDG Portal at all.

Motivation and Context

Came across a log in linux-support today, that looked like this:

image

Looks perfectly normal, right? Except, this user didn't have any XDG Portal set up at all, indicated by no [pipewire] prefixed line in the log. The existing [pipewire] No capture line is only logged when the Portal responds but is not giving us any capture methods.

I guess it could be argued this log line should also be output when there is no XDG portal at all, but I don't know if that's feasible and this works.

How Has This Been Tested?

With the aforementioned log.

Also tested three other logs to make sure it didn't break existing checks.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX
Copy link
Member

RytoEX commented Feb 3, 2026

Seems correct. @Penwy ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants