mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 05:26:04 +03:00
[PR #1001] [MERGED] Fix RDP connection bar not displaying in full screen mode #2855
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#2855
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/1Remote/1Remote/pull/1001
Author: @Copilot
Created: 10/18/2025
Status: ✅ Merged
Merged: 10/18/2025
Merged by: @VShawn
Base:
main← Head:copilot/fix-rdp-connection-bar-issue📝 Commits (3)
8494896Initial plan3daadccFix RDP connection bar not showing in full screen mode26cb461Complete RDP connection bar fix📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
➕
.nuget/nuget.exe(+0 -0)📝
Ui/View/Host/ProtocolHosts/AxMsRdpClient09Host.xaml.cs(+2 -2)📄 Description
Problem
Sometimes (or on certain computers), the RDP connection bar fails to display in full screen mode, even though the code explicitly sets
DisplayConnectionBartotrue. This intermittent issue affects the user experience by preventing access to the minimize, restore, and pin buttons in full screen RDP sessions.Root Cause
The issue was found in the
RdpInitConnBar()method inUi/View/Host/ProtocolHosts/AxMsRdpClient09Host.xaml.cs. The propertiesConnectionBarShowMinimizeButtonandConnectionBarShowRestoreButtonwere being set totrueoutside the conditional block that verifiesDisplayConnectionBaris enabled.Before:
According to Microsoft's RDP ActiveX control documentation, connection bar button properties should only be configured when the connection bar is actually displayed. Setting these properties when
DisplayConnectionBaris false can cause COM interface state inconsistencies, leading to the connection bar failing to appear reliably in full screen mode on some systems.Solution
Moved the
ConnectionBarShowMinimizeButtonandConnectionBarShowRestoreButtonproperty assignments inside theif (DisplayConnectionBar)conditional block:After:
Impact
This minimal change follows Microsoft's documented best practices for RDP control initialization and should resolve the intermittent connection bar display issue in full screen mode. The fix ensures proper COM interface initialization order, preventing potential race conditions or state inconsistencies that could cause the connection bar to not appear on certain systems or configurations.
Testing
The change has been verified to:
Since this is a Windows-specific RDP ActiveX control issue, the fix follows established patterns and Microsoft's recommended initialization sequence.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.