mirror of
https://github.com/Sn3akyy1/lucid.git
synced 2026-11-19 21:27:56 +03:00
a7f4c7b9e0
- Clicking the password pill did nothing on the text line. A TextInput takes that press exclusively, which cancels a TapHandler on the pill, so engage() never ran and the focus ring never came up. A click-through MouseArea over the pill now engages on press and declines, so the input still places the caret. - While the field has the screen, everything that dims goes inert: the media card, notifications, power bar and glance chips take neither clicks nor hover, and a click out there only hands the focus back. Item.enabled blocks clicks for a whole subtree but a HoverHandler ignores it, so each one is gated explicitly -- LockPower x3, LockIconButton, and NotifCard, which the lock shares with the notification centre. - LockIconButton no longer shadows Item.enabled; its own flag is `actionable`. Shadowing hid the effective ancestor-aware state its handlers have to read, so "this button is unavailable" and "my block was switched off" could not be told apart. A disabled button now swallows its own click instead of letting it fall through to the surface, which was dropping focus and wiping a half-typed password. - The same three fixes ported to the SDDM greeter. It already filtered bare modifiers out of Keys.onPressed, and its IconButton already declined to shadow `enabled`, so only Main.qml, Field.qml, PowerBar.qml and Chips.qml needed changing. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
a7f4c7b9e0
·
2026-09-17 19:32:24 +02:00
History