Skip to content

feat: add activeWindow Dbus interface.#1151

Merged
BLumia merged 1 commit into
linuxdeepin:masterfrom
wjyrich:feat-addDbus-activewindow
Jun 12, 2025
Merged

feat: add activeWindow Dbus interface.#1151
BLumia merged 1 commit into
linuxdeepin:masterfrom
wjyrich:feat-addDbus-activewindow

Conversation

@wjyrich

@wjyrich wjyrich commented Jun 11, 2025

Copy link
Copy Markdown
Contributor

add interface for deepin-apps.

Log:

add interface for deepin-apps.

Log:

@BLumia BLumia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个接口是给谁用的?

@wjyrich

wjyrich commented Jun 11, 2025

Copy link
Copy Markdown
Contributor Author

这个接口是给谁用的?

deepin-compressor 项目需要使用这个接口 20的有 ,25没有

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @wjyrich - I've reviewed your changes and found some issues that need to be addressed.

  • Remove the unguarded qDebug() in DockDBusProxy::ActivateWindow to avoid noisy logs in production.
  • Enhance TaskManager::activateWindow to support non-X11 environments (e.g. Wayland) or abstract the activation logic for cross-platform compatibility.
  • Consider having ActivateWindow return a status (bool or error code) over DBus so callers can detect and handle activation failures.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, wjyrich

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@BLumia BLumia merged commit 8fec272 into linuxdeepin:master Jun 12, 2025
7 of 10 checks passed
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.

3 participants