Skip to content

fix(powermenu): close control center on lock and power actions#2598

Open
jbwfu wants to merge 1 commit into
AvengeMedia:masterfrom
jbwfu:fix/powermenu-close-control-center
Open

fix(powermenu): close control center on lock and power actions#2598
jbwfu wants to merge 1 commit into
AvengeMedia:masterfrom
jbwfu:fix/powermenu-close-control-center

Conversation

@jbwfu
Copy link
Copy Markdown
Contributor

@jbwfu jbwfu commented Jun 7, 2026

Description

When the power menu is opened from the Control Center, actions like lock and suspend currently leave the Control Center open after the action is triggered. This feels unintuitive and creates inconsistent UI feedback after the user has already confirmed a session or power action. This PR closes the Control Center alongside those actions so the flow behaves more cleanly and predictably.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dlx-docs to document any new behaviors: https://github.com/AvengeMedia/DankLinux-Docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant