PiP protocol addition...!?
PiP protocol addition...!?
Posted Oct 23, 2025 15:27 UTC (Thu) by daenzer (subscriber, #7050)In reply to: PiP protocol addition...!? by kolAflash
Parent article: KDE Plasma 6.5 released
Whoever might have said that, it sounds backwards.
Roughly speaking, X's philosophy is achieving higher-level behaviour by combining generic protocol primitives, whereas Wayland's philosophy is having dedicated protocol primitives for each specific higher-level behaviour.
The 2nd & 3rd paragraphs of the blog you linked to describe this distinction quite well.
> But then it turns out, that you can't even force a window on top of the others without a specific experimentatial Wayland addition.
FWIW, the Wayland PiP protocol isn't just about "always on top". The second-to-last paragraph of the blog you linked to goes into this.
For another example, a Wayland compositor could leave PiP windows visible in the same position even during exceptional situations like Exposé-style overviews, where windows are generally visible at different positions and sizes than normally. TTBOMK this isn't possible with X today, since the compositing manager can't distinguish between PiP windows and other "always on top" windows.
> I'm still waiting for a standartized Wayland protocol addition to set basic things like keyboard layout or screen resolution.
There's no universal consensus that those things are in scope for the Wayland protocol, so it's unlikely that they'll ever be part of Wayland protocols supported by all major compositors.
> And I have a very specific guess how many Wayland implementations will adapt to this new experiemental PiP Wayland API addition....
All the ones which care about the PiP use case, at least.
Posted Oct 23, 2025 19:03 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link] (13 responses)
One could probably do some window property settings, but then you're in the same boat as Wayland: does your window manager understand the property? Sure, a property is far simpler than a protocol, but it still need support "everywhere" to really be effective. Of interest to me: can I have, say, `mpv` use this to display on the *lock* screen while also denying/ignoring input to it? Kind of like a theater kiosk.
Posted Oct 24, 2025 7:21 UTC (Fri)
by daenzer (subscriber, #7050)
[Link]
Seems feasible in principle. The exact behaviour of PiP windows will be largely between the compositor and user.
Posted Oct 25, 2025 15:52 UTC (Sat)
by raven667 (subscriber, #5198)
[Link] (11 responses)
I'm not a desktop OS dev so I may be wrong in the details here, I'm sure more knowledgeable people will correct any glaring misconceptions.
Posted Oct 25, 2025 18:28 UTC (Sat)
by intelfx (subscriber, #130118)
[Link]
Greeter yes (but that's how it works ≈everywhere), lock screen no. Lock screen is just built into the GNOME Shell, so the answer to GP's question boils down to how the Shell is implemented.
Posted Oct 27, 2025 9:40 UTC (Mon)
by taladar (subscriber, #68407)
[Link] (9 responses)
Posted Oct 27, 2025 16:45 UTC (Mon)
by mathstuf (subscriber, #69389)
[Link]
Posted Oct 28, 2025 8:22 UTC (Tue)
by niner (subscriber, #26151)
[Link] (7 responses)
Posted Oct 28, 2025 9:03 UTC (Tue)
by taladar (subscriber, #68407)
[Link] (6 responses)
Posted Oct 28, 2025 10:21 UTC (Tue)
by Wol (subscriber, #4433)
[Link]
Which certainly used to be the norm in my household. I'd be working away and someone else wanted the computer, so I'd just invoke the lock screen, let my stuff continue in the background, and they'd take over the computer.
But the kids have now flown the nest ...
Cheers,
Posted Oct 28, 2025 10:50 UTC (Tue)
by pizza (subscriber, #46)
[Link] (3 responses)
It's so niche that it's been a first-class feature of Microsoft Windows (NT family) for three decades, going at least as far back as NT 4.0. (Maybe all the way back to the beginning! Corporate deployments make heavy use of this feature. (That goes for desktop Linux deployments too!)
It's so "niche" that there's probably an order of magnitude more intentional deployments of that feature than there are total Linux desktop users.
Posted Oct 28, 2025 11:08 UTC (Tue)
by mathstuf (subscriber, #69389)
[Link] (2 responses)
Posted Oct 28, 2025 12:37 UTC (Tue)
by Wol (subscriber, #4433)
[Link] (1 responses)
Which is a major security feature because it explicitly triggers a hardware NMI. So there's no point implementing a "fool you" lookalike screen - for anyone who knows how it's supposed to work, you need to actively patch into the interrupt handler to hijack it.
I don't think you CAN implement it in the user's lock screen (that or the lock screen is running as root), because you need to validate the new user's password, which only root or administrator can do.
Cheers,
Posted Oct 28, 2025 14:10 UTC (Tue)
by pizza (subscriber, #46)
[Link]
Validating the _current_ user's password also requires root privileges.
Posted Oct 28, 2025 15:40 UTC (Tue)
by geert (subscriber, #98403)
[Link]
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
Wol
PiP protocol addition...!?
PiP protocol addition...!?
PiP protocol addition...!?
Wol
PiP protocol addition...!?
PiP protocol addition...!?
