Bug 516184 - "Hide from Screencast" does not hide the window from Overview and Task Manager thumbnails
Summary: "Hide from Screencast" does not hide the window from Overview and Task Manage...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: screencasting (other bugs)
Version First Reported In: 6.6.0
Platform: CachyOS Linux
: HI critical
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: privacy
Depends on:
Blocks:
 
Reported: 2026-02-18 09:17 UTC by Fernando Marcelino Muniz
Modified: 2026-11-04 14:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.9.0
Sentry Crash Report:


Attachments
Issue in Plasma 6.6 (1.48 MB, video/mp4)
2026-02-18 09:32 UTC, Fernando Marcelino Muniz
Details
Issue in Plasma 6.6 (2.80 MB, video/mp4)
2026-02-18 11:25 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2026-02-18 09:17:11 UTC
STEPS TO REPRODUCE
1. Use "Hide from Screencast" on a privacy-sensitive app.
2. Record/Livestream your screen.
3. Interact with the hidden app.

OBSERVED RESULT
It's possible to make deductions based on what app is in focus, where the user is clicking, how much the user is clicking and if the "Window resizer" cursor sprite has appeared.

EXPECTED RESULT
Ideally the cursor should also be hidden while the hidden window is in focus, even if the cursor is not over the window.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 1 Fernando Marcelino Muniz 2026-02-18 09:32:47 UTC
Created attachment 189725 [details]
Issue in Plasma 6.6

I've just found out that the hidden window's miniature is fully visible, making extremely easy to deduce what the user is doing in there.

The window's miniature and the app icon should become invisible.
Comment 2 Fernando Marcelino Muniz 2026-02-18 11:25:43 UTC
Created attachment 189730 [details]
Issue in Plasma 6.6

Super+W shows the hidden window in all of its glory.
Comment 3 Fernando Marcelino Muniz 2026-02-18 11:27:49 UTC
It also doesn't hide the hidden window's tooltips.
Comment 4 TraceyC 2026-02-19 20:27:46 UTC
Thanks for the report. I'll pass this along for consideration.
Comment 5 Fernando Marcelino Muniz 2026-06-27 19:01:17 UTC
Won't this lead users to a false sense of security? The META+W one is extremely concerning because it defeats the entire point of the feature.
Comment 6 Nate Graham 2026-09-16 20:23:15 UTC
The feature says "hide from screenshots and screen recordings". It does what it says — except for the case of the Overview and Task Manager thumbnails. In those cases, it's not doing what it says, and we should fix that. Moving to KWin, which provides these "recordings".

Also marking as critical per https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging#Set_the_Severity_field, since the issue causes the user's private data to be leaked — it's private because they used the "hide from screenshots and screen recordings" feature, which provides an expectation of privacy that the system needs to live up to.

As for the pointer shape thing, that's not a real issue. If you're doing something so sensitive that your activities can be intuited from the presence, absence, or shapes of the pointer, consider not streaming or screen recording it in the first place.
Comment 7 David Edmundson 2026-09-17 11:06:02 UTC
If we genuinely believe this is critical should we revert the original patch?

Adding a mode where we render the expose effect differently on the local machine and the remote machine whilst technically doable is not something intend to add, the code complexity isn't worth it.

Hiding in the expose effect on both and local machine is also a slight deviation from the text strictly says, but shouldn't blow up the code.
Android does this for banking apps so there's some sort of justification there.  We can also claim it solves some cases of accidental exposure
Comment 8 Fernando Marcelino Muniz 2026-09-17 11:22:23 UTC
(In reply to Nate Graham from comment #6)
> The feature says "hide from screenshots and screen recordings". It does what
> it says — except for the case of the Overview and Task Manager thumbnails.
> In those cases, it's not doing what it says, and we should fix that. Moving
> to KWin, which provides these "recordings".
> 
> Also marking as critical per
> https://community.kde.org/Guidelines_and_HOWTOs/
> Bug_triaging#Set_the_Severity_field, since the issue causes the user's
> private data to be leaked — it's private because they used the "hide from
> screenshots and screen recordings" feature, which provides an expectation of
> privacy that the system needs to live up to.
> 
> As for the pointer shape thing, that's not a real issue. If you're doing
> something so sensitive that your activities can be intuited from the
> presence, absence, or shapes of the pointer, consider not streaming or
> screen recording it in the first place.

Does the same argument apply for virtual keyboards interacting with hidden windows? Assuming they also get hidden, it's still easy to know what is being typed from the pointer's position.
The average user would assume that the virtual keyboard is being hidden due to it being focused on the hidden window, and they'll likely not even consider that the pointer position is giving away what they're typing.
Comment 9 David Edmundson 2026-09-17 11:36:13 UTC
>Hiding in the expose effect on both and local machine is also a slight deviation from the text strictly says, but shouldn't blow up the code.

This ends up looking pretty awful, as we use the thumbnail for the animation back to the main view. 
So you get nothing and then the window suddenly re-appear.
Comment 10 Nate Graham 2026-09-17 12:41:18 UTC
(In reply to David Edmundson from comment #7)
> If we genuinely believe this is critical should we revert the original patch?
I know it sucks having the bug title in red on lists and such. But I'm just following our own guidelines here.


> Hiding in the expose effect on both and local machine is also a slight
> deviation from the text strictly says, but shouldn't blow up the code.
> Android does this for banking apps so there's some sort of justification
> there.  We can also claim it solves some cases of accidental exposure
+1, even if it looks weird, I think that's better than leaking potential PII.


(In reply to Fernando Marcelino Muniz from comment #8)
> Does the same argument apply for virtual keyboards interacting with hidden
> windows? Assuming they also get hidden, it's still easy to know what is
> being typed from the pointer's position.
> The average user would assume that the virtual keyboard is being hidden due
> to it being focused on the hidden window, and they'll likely not even
> consider that the pointer position is giving away what they're typing.
No; you're interpreting the feature to be a broader thing than it is, and to do things that it doesn't say or imply that it will do.

Again, if your privacy needs are truly that high, don't screencast while you're doing the private thing. This is simple common sense.
Comment 11 David Edmundson 2026-09-18 08:51:06 UTC
>I know it sucks having the bug title in red on lists and such. But I'm just following our own guidelines here.

I meant it seriously. If things aren't working as intended we should push it a release?
Fixing these edge cases is as-big as the original feature.
Comment 12 Nate Graham 2026-09-20 04:50:01 UTC
The obvious answer is no, we shouldn't release with known major defects like this.

However with no ability to delay a release until such defects are fixed, the above cannot really be enforced.

And even if we could and did, we'd have a lot of delays because there are a lot of significant defects from a QA perspective. Here's "confirmed crashes and worse", for example:

https://bugs.kde.org/buglist.cgi?bug_severity=critical&bug_severity=grave&bug_severity=major&bug_severity=crash&bug_status=CONFIRMED&classification=Plasma&list_id=3592653&product=kwin&product=plasmashell&query_format=advanced

There's more than double that amount if we consider the ones that aren't confirmed.

The obvious conclusion here is that Plasma suffers from significant QA issues that need to be sorted out to achieve a semi-professional standard of quality like "don't release with known major issues".

I'd love to work towards that, but it may entail uncomfortable conversations like "should we really release on a regular schedule with no ability to gate the release on a lack of QA issues?"
Comment 13 Bug Janitor Service 2026-10-14 11:29:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/10116
Comment 14 Bug Janitor Service 2026-10-14 11:30:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/4075
Comment 15 Bug Janitor Service 2026-10-14 12:07:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/10118
Comment 16 Vlad Zahorodnii 2026-10-27 09:55:51 UTC
Git commit 0b2a16a26d6d3136f8765af0314fdc6d3ffd93f5 by Vlad Zahorodnii, on behalf of Ramil Nurmanov.
Committed on 27/10/2026 at 09:55.
Pushed by vladz into branch 'master'.

overview: Hide contents of capture-excluded windows

Replace thumbnails of capture-excluded windows with an application icon on a solid background, both locally and in screen recordings. Apply this to desktop previews, window cards, and cross-screen drag previews.

[Screencast_20261014_160022.webm](/uploads/a91721e5e11bbf1e81b295fa95551b2d/Screencast_20261014_160022.webm)

M  +14   -2    src/plugins/overview/DesktopView.qml
M  +1    -0    src/plugins/private/CMakeLists.txt
A  +27   -0    src/plugins/private/qml/CaptureExcludedPlaceholder.qml     [License: GPL(v2.0+)]
M  +15   -3    src/plugins/private/qml/WindowHeap.qml
M  +14   -2    src/plugins/private/qml/WindowHeapDelegate.qml
M  +7    -0    src/plugins/screencast/filteredsceneview.cpp
M  +1    -0    src/plugins/screencast/filteredsceneview.h
M  +6    -0    src/scripting/workspace_wrapper.cpp
M  +17   -0    src/scripting/workspace_wrapper.h
M  +22   -0    src/workspace.cpp
M  +10   -0    src/workspace.h

https://invent.kde.org/plasma/kwin/-/commit/0b2a16a26d6d3136f8765af0314fdc6d3ffd93f5