Should I know which application is requesting access to my display, via Plasma’s relevant portal interface? I ask because, at boot today, I observed:
After some trial and error, I’ve ascertained that it’s caused by VS Code:
opened 01:12PM - 22 May 26 UTC
#### Whether This Issue Recurs When All Extensions Are Disabled
Yes: with `--di… sable-extensions`.
#### VS Code Version
<blockquote>
~~~YAML
Version: 1.122.0-insider
Commit: b51c2a1a37574dec35d0426b2ee9c3538c9774f4
Date: 2026-05-21T04:58:28Z
Electron: 39.8.8
ElectronBuildId: 13870025
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 7.0.9-205.fc44.x86_64
~~~
</blockquote>
<p></p><details><p></p>
1. <p></p><details><p></p>
~~~sh
#!/usr/bin/env sh
rpm -qf $(command -v code-insiders) \
--queryformat "$(
cat <<'EOF'
Name: %{NAME}
Version: %{VERSION}
Release: %{RELEASE}
Architecture: %{ARCH}
Install Date: %{INSTALLTIME:date}
Size: %{SIZE}
Signature: %{SIGPGP:pgpsig}
Source RPM: %{SOURCERPM}
Build Date: %{BUILDTIME:date}
Build Host: %{BUILDHOST}
Packager: %{PACKAGER}
Vendor: %{VENDOR}
EOF
)"$'\n' | yq -P
~~~
<p></p><details><p></p>
1. <blockquote>
~~~YAML
Name: code-insiders
Version: 1.122.0
Release: 1779341035.el8
Architecture: x86_64
Install Date: Fri 22 May 2026 03:00:24 BST
Size: 736724662
Signature: RSA/SHA256, Thu 21 May 2026 06:28:13 BST, Key ID eb3e94adbe1229cf
Source RPM: code-insiders-1.122.0-1779341035.el8.src.rpm
Build Date: Thu 21 May 2026 06:24:00 BST
Build Host: 5ad9ebf1c000002
Packager: Visual Studio Code Team <vscode-linux@microsoft.com>
Vendor: Microsoft Corporation
~~~
</blockquote>
<p></p></details><p></p>
#### OS Version
1. <p></p><details><p></p>
~~~sh
#!/usr/bin/env sh
cat /etc/os-release | jc --ini | jq 'with_entries(.value |= (if type=="string" and test("^[0-9]+$") then tonumber else . end))| {VARIANT, NAME, VERSION_ID}' | yq -P
~~~
<p></p><details><p></p>
1. <blockquote>
~~~YAML
VARIANT: KDE Plasma Desktop Edition
NAME: Fedora Linux
VERSION_ID: 44
~~~
</blockquote>
#### Steps To Reproduce It
~~~sh
#!/usr/bin/env sh
run0 rpm --import https://packages.microsoft.com/keys/microsoft.asc &&
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | run0 tee /etc/yum.repos.d/vscode.repo > /dev/null && \
run0 dnf5 install --refresh -y code-insiders && \
code-insiders --disable-extensions
~~~
This produces:
https://github.com/user-attachments/assets/1dd727a4-3845-4d2a-8b9a-ed0a0d571c49
The user is provided with no explanation of why it wants to access their display output. Even this, I don't necessarily mind, but it can cause confusion, as my question about which application had produced it (at [`discuss.kde.org/t/47222`](https://discuss.kde.org/t/whether-the-name-of-an-application-that-requests-access-to-my-display-is-expected-to-be-listed-in-the-relevant-portal-interface/47222?u=rokejulianlockhart)) demonstrates.
However, I don’t believe that one could feasibly ascertain the cause, if the reproduction method were any less obvious.
My Environment
#!/usr/bin/env sh
kinfo | yq -P
Operating System: Fedora Linux 44
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
Kernel Version: 7.0.9-205.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
1 Like
I actually think that not only should it show the application that requests it, it should also show a “reason” for requesting it.
On OBS for example I have multiple scenes with different sources each that use screenshare. If any of those sources change, upon opening the OBS, I get multiple dialogs for screensharing, none of which specify which source it belongs to.
What I end up having to do is cancel all of those dialogs and manually retrigger the missing screenshares from within OBS.
1 Like
@Herzenschein , thanks! In retrospect, I might have had the same problem with OBS, back when I had reason to use it. I suppose that that confirms that the feature doesn’t exist, rather than it being broken for VSC specifically. I’ll transfer to Brainstorm .
Any idea whether a Bugzilla FR exists for this?