Conversation
This reverts commit d390097. pms: TASK-394609
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR reverts a previous change that prevented the dock window from accepting keyboard focus, restoring on-demand keyboard interactivity for the dock’s layer-shell window. State diagram for dock keyboard interactivity behaviorstateDiagram-v2
[*] --> KeyboardInteractivityOnDemand
state KeyboardInteractivityOnDemand {
[*] --> DockCanTakeFocus
DockCanTakeFocus --> DockUsesKeyboardInput: user_interacts_with_dock
DockUsesKeyboardInput --> DockCanTakeFocus: keyboard_focus_lost
}
note "Configured via DLayerShellWindow.keyboardInteractivity = DLayerShellWindow.KeyboardInteractivityOnDemand in main.qml" as N1
KeyboardInteractivityOnDemand --> N1
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider whether
DLayerShellWindow.keyboardInteractivityshould depend on the dock's visibility or mode (e.g.,Panel.hideMode) instead of always usingKeyboardInteractivityOnDemand, to avoid unintended focus behavior in specific configurations.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider whether `DLayerShellWindow.keyboardInteractivity` should depend on the dock's visibility or mode (e.g., `Panel.hideMode`) instead of always using `KeyboardInteractivityOnDemand`, to avoid unintended focus behavior in specific configurations.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
TAG Bot New tag: 2.0.54 |
|
TAG Bot New tag: 2.0.55 |
|
TAG Bot New tag: 2.0.56 |
This reverts commit d390097.
pms: TASK-394609
Summary by Sourcery
Enhancements: