sync: from linuxdeepin/dde-session-shell#482
Merged
robertkill merged 1 commit intomasterfrom Nov 26, 2025
Merged
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideEnsure the lock screen shows the user list UI before emitting the lock-state change, preventing an immediate jump to the password entry screen when switching users or waking from standby. Sequence diagram for updated lock screen user list visibility before lock state changesequenceDiagram
actor User
participant LockContent
participant LockModel
participant LockController
User->>LockContent: pushUserFrame()
activate LockContent
Note over LockContent: Updated behavior
LockContent->>LockModel: setVisible(true)
LockModel-->>LockContent: visibility updated
LockContent-->>LockController: requestLockStateChange(true)
deactivate LockContent
LockController->>LockModel: enterLockState()
LockModel-->>User: showUserListUI()
LockController-->>User: allowPasswordEntryAfterUserSelection()
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
d1dc492 to
475ed8b
Compare
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#53
475ed8b to
d320125
Compare
Contributor
Author
deepin pr auto review我来帮你分析这段代码的变更:
#ifdef ENABLE_DSS_SNIPE
// 当会话变为活跃状态且锁屏未显示时,显示锁屏界面
if (active && !m_model->visible()) {
// 添加额外的状态检查
if (m_model->currentModeState() != ModeState::ShuttingDown) {
m_model->showLockScreen();
}
}
#endif
这个改动总体上是合理的,但建议按照上述建议进一步完善代码的健壮性和可维护性。 |
robertkill
approved these changes
Nov 26, 2025
Contributor
Author
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: deepin-ci-robot, robertkill 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Synchronize source files from linuxdeepin/dde-session-shell.
Source-pull-request: linuxdeepin/dde-session-shell#53
Summary by Sourcery
Bug Fixes: