Bug 94401 - Allow media button handling while in screensaver
Summary: Allow media button handling while in screensaver
Status: RESOLVED WORKSFORME
Alias: None
Product: Wayland
Classification: Unclassified
Component: wayland (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-05 02:48 UTC by Konstantin Svist
Modified: 2018-09-20 09:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Konstantin Svist 2016-03-05 02:48:47 UTC
Use case:
Pretend you're in a shared space (e.g. office) and using your laptop. Nothing or  low-volume music is playing. At some point you lock it with a screensaver & leave for a while. Meanwhile, your laptop starts playing loud sounds (maybe some crazy ad on a webpage you have open).
Anyone in the vicinity should be able to use the volume button on the laptop's keyboard to control the volume.

This had not been possible with X/Xscreensaver (for whatever reasons). Meanwhile, Windows has had this feature for years...

Would it be possible to add support for media buttons while in screensaver?
Comment 1 Pekka Paalanen 2016-03-07 09:27:21 UTC
Hi,

yes, supporting the feature you ask is totally possible on Wayland. However, it has nothing to do with Wayland, and here is why:

A Wayland-based display server integrates all of the display server, compositor, window manager and screen locking in a single program (possible helper programs aside). This means that the server can handle any input actions any way it wants regardless of screenlocking or anything. E.g. it can always forward chosen multimedia buttons to certain programs, doing what you want.

If your DE is not supporting the feature, you have to ask the DE project to implement it. Wayland has no part in it, except implying a different architecture for display servers than in an X11 environment.

Therefore I'll mark this as WORKSFORME, since Wayland "supports" it in the way that nothing is required from Wayland to have it, nor does Wayland prevent it.
Comment 2 Daniel Stone 2016-03-07 10:41:50 UTC
(As an example, this works with GNOME Shell under Wayland.)
Comment 3 Konstantin Svist 2016-03-07 20:59:37 UTC
I currently can't launch Gnome on Wayland, but I'm going to trust that you tried it
If it already works, great!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.