Repository navigation
feat: backport remote session management to 2500u3 (#582) - #589
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: MyLeeJiEun, wjyrich 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 |
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#118 (cherry picked from commit cb14180)
62d7b64 to
7db61c4
Compare
Reviewer's GuideData structuresUpdate the logind session D-Bus data structure and serialization to carry the fields used by remote-session detection.
Add remote-login state to User so session detection can be reflected in the user model and copied with it.
APIDeclare the shared session-conflict and remote-user-count checks used by the login and lock flows.
Uses of the APIApply session-conflict and remote-user-limit checks to user switching, authentication completion, forced logout, and session startup.
Prevent direct switching to a logged-in user when an active session conflict is present.
Track remote graphical logind sessions and update the corresponding users’ remote-login state.
Wire the warning overlay and force-logout confirmation signals into the greeter startup flow.
ImplementationImplement logind queries for current-session locality, conflicting graphical sessions, and active remote-user counts.
UIAdd confirmation, loading, and remote-user-limit overlays for the active-session login flow.
Show a distinct icon for users with remote sessions and suppress user switching on remote lock screens.
ConfigurationRegister the remote-login icon resource and ignore the newly introduced generated or local artifact.
Correct the compile-definition target used by the greeter test build configuration.
TestsTest remote-login state updates, signal emission, copying, and invalid-input behavior of session-conflict helpers.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
将 master 上的远程会话管理改动回移到
develop/2500u3,补齐远程登录识别、会话冲突处理、远程锁屏用户切换适配及相关界面和测试。仅 cherry-pick #582 的一条提交,保留原作者并记录来源:
#582
来源提交:
cb14180d33a6e2e7afda75489336c2bb110bbe3c。验证:移植无冲突,补丁与来源一致,
git diff --check通过。按要求跳过编译和运行时测试。Summary by Sourcery
完善 2500u3 的远程会话管理,支持远程登录识别、会话冲突处理、人数限制和锁屏用户切换适配。
New Features:
Bug Fixes:
Enhancements:
Tests:
Chores: