Skip to content

fix(mainwindow): conditionally raise and activate window only when di…#200

Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:release/1071from
pppanghu77:release/1071
Apr 13, 2026
Merged

fix(mainwindow): conditionally raise and activate window only when di…#200
deepin-bot[bot] merged 1 commit intolinuxdeepin:release/1071from
pppanghu77:release/1071

Conversation

@pppanghu77
Copy link
Copy Markdown

…alog was visible

  • Store dialog visibility state before hiding it
  • Add debug logging to track dialog visibility changes
  • Only call raise() and activateWindow() when the dialog was previously visible
  • Prevent unnecessary window activation when dialog wasn't shown

Log: fix(mainwindow): conditionally raise and activate window only when dialog was visible
Bug: https://pms.uniontech.com/bug-view-355757.html

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Sorry @pppanghu77, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

…alog was visible

- Store dialog visibility state before hiding it
- Add debug logging to track dialog visibility changes
- Only call raise() and activateWindow() when the dialog was previously visible
- Prevent unnecessary window activation when dialog wasn't shown

Log: fix(mainwindow): conditionally raise and activate window only when dialog was visible
Bug: https://pms.uniontech.com/bug-view-355757.html
@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: max-lvs, pppanghu77

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

@pppanghu77
Copy link
Copy Markdown
Author

/forcemerge

@deepin-bot
Copy link
Copy Markdown
Contributor

deepin-bot Bot commented Apr 13, 2026

This pr force merged! (status: unstable)

@deepin-bot deepin-bot Bot merged commit 122cbf2 into linuxdeepin:release/1071 Apr 13, 2026
21 of 22 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