Bug 500687 - scrolling on applet/pressing brightness keys should adjust the brightness level of current/active display
Summary: scrolling on applet/pressing brightness keys should adjust the brightness lev...
Status: ASSIGNED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Brightness and Color widget (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-02-24 19:51 UTC by fanzhuyifan
Modified: 2025-02-25 18:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fanzhuyifan 2025-02-24 19:51:35 UTC
SUMMARY

scrolling on applet/pressing brightness keys should adjust the brightness level of current/active display, instead of adjusting the brightness of all displays simultaneously.

STEPS TO REPRODUCE
1. In multi monitor setup, press brightness keys

OBSERVED RESULT
Brightness of all monitors change simultaneously

EXPECTED RESULT
Brightness of only active monitor changes

STEPS TO REPRODUCE
1. In multi monitor setup, scroll on brightness applet

OBSERVED RESULT
Brightness of all monitors change simultaneously

EXPECTED RESULT
Brightness of only the monitor with the applet changes

ADDITIONAL INFORMATION
In a multimonitor setup, it should be pretty rare that a user wants to change the brightness of all displays simultaneously. The more common need is to change the brightness of a particular display. Currently this is inconvenient, as the user needs to go to applet, and adjust the slider for that particular display.

See also thread here: https://invent.kde.org/plasma/powerdevil/-/merge_requests/361#note_982173
Comment 1 TraceyC 2025-02-24 20:31:36 UTC
What the default should be is worth considering
Personally, I usually want to just change brightness on my laptop display, not the external monitors. So I would also prefer the default to be that the laptop keys only adjust the laptop display
Comment 2 fanzhuyifan 2025-02-24 20:36:02 UTC
(In reply to TraceyC from comment #1)
> What the default should be is worth considering
> Personally, I usually want to just change brightness on my laptop display,
> not the external monitors. So I would also prefer the default to be that the
> laptop keys only adjust the laptop display

I don't know if currently we have the infrastructure to distinguish between laptop keys and external keyboard keys..
Comment 3 TraceyC 2025-02-25 17:04:38 UTC
Instead of using the keyboard to determine the active display, can we use the code that determines active display / active window to get the focused display?
Comment 4 Bug Janitor Service 2025-02-25 18:26:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/527