Bug 508728 - disabled zoom in/out buttons are click through
Summary: disabled zoom in/out buttons are click through
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_nighttime (other bugs)
Version First Reported In: 6.4.4
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-25 18:10 UTC by Martin Bednar
Modified: 2025-09-19 02:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Bednar 2025-08-25 18:10:56 UTC
SUMMARY
When zooming in (or out) the map to the point where the + (-) buttons get greyed out, the buttons become click through, leading to and unwanted location change.


STEPS TO REPRODUCE
1. click on + button to zoom in the map until it is maximally zoomed in
2. click on the greyed out + button
3. try the same process while zooming out using the - button.

OBSERVED RESULT
 location gets updated to whatever part of the map is under the + button


EXPECTED RESULT
Nothing happens


Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.8-gentoo-dist-hardened (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 64 GiB of RAM (62.1 GiB usable)
Graphics Processor: AMD Radeon 890M Graphics
Comment 1 Bug Janitor Service 2025-09-15 21:38:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5815
Comment 2 Vlad Zahorodnii 2025-09-17 06:43:14 UTC
Git commit 3eb5f87559e151c5bccf0e3ad899f2f2e4403783 by Vlad Zahorodnii.
Committed on 17/09/2025 at 06:36.
Pushed by vladz into branch 'master'.

kcms/nighttime: Fix clicks going through disabled zoom buttons

Apparently, if a button is disabled, mouse clicks will go through it. We
need something to catch mouse clicks in order to prevent accidentally
selecting a location behind one of the buttons.

M  +51   -47   kcms/nighttime/ui/WorldMap.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/3eb5f87559e151c5bccf0e3ad899f2f2e4403783