使用MS-RDPERP,服务器移动& amp; amp;单独调整窗口大小 [英] With MS-RDPERP, server moves & resizes windows by itself

查看:82
本文介绍了使用MS-RDPERP,服务器移动& amp; amp;单独调整窗口大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为FreeRDP改进应用程序远程处理(RAIL,如MS-RDPERP中定义的b
)的支持。我遇到了服务器似乎没有文件或行为不当的情况。



当客户端发送客户端窗口移动PDU(2.2)时.2.7.4)移动并且
调整窗口大小,服务器立即回复窗口

信息订单(2.2.1.3.1.2.1),其中有一个位置与
右边(WindowOffsetX)的7个像素和尺寸为14x7像素(WindowWidth x

WindowHeight)的尺寸小于客户端刚发送的尺寸。 (两个

WINDOW_ORDER_FIELD_WNDOFFSET和WINDOW_ORDER_FIELD_WNDSIZE都设置在这个消息的

。)



是否记录了这种行为?我不希望服务器移动

并调整像这样的窗口。



也许这个问题与位置的解释有关
窗口信息订单的
大小参数(具体来说,是
ClientOffsetX,ClientOffsetY,ClientAreaWidth,ClientAreaHeight,

WindowOffsetX,WindowOffsetY,WindowClientDeltaX,WindowClientDeltaY,

WindowWidth和WindowHeight)。有关这些参数的文件是否比MS-RDPERP更清晰?例如,图表
将非常有用。



我已通过实验确定此偏移量的值和

大小减少与注册表中的BorderWidth和PaddedBorderWidth

值有关,在HKCU \Control中是
Panel \Desktop \ Windows指标。但是,它似乎不是一对二的关系。即便如此,我也不知道RDP客户端如何找出这些价值或如何使用它们。

I am trying to improve the support of application remoting (RAIL, as
defined in MS-RDPERP) for FreeRDP. I have run into what appears to be
undocumented or misbehavior by the server.

When the client sends a Client Window Move PDU (2.2.2.7.4) to move and
resize a window, the server immediately replies with a Window
Information Order (2.2.1.3.1.2.1) that has a position 7 pixels to the
right (WindowOffsetX) and size 14x7 pixels (WindowWidth x
WindowHeight) smaller in size than what the client just sent. (Both
WINDOW_ORDER_FIELD_WNDOFFSET and WINDOW_ORDER_FIELD_WNDSIZE are set in
this message.)

Is this behavior documented? I would not expect the server to move
and resize windows like this.

Maybe this issue is related to the interpretation of the location and
size parameters of the Window Information Order (specifically,
ClientOffsetX, ClientOffsetY, ClientAreaWidth, ClientAreaHeight,
WindowOffsetX, WindowOffsetY, WindowClientDeltaX, WindowClientDeltaY,
WindowWidth, and WindowHeight). Is there clearer documentation about
these parameters than what is in MS-RDPERP? For example, a diagram
would be extremely helpful.

I have experimentally determined that the value of this offset and
size decrease is related to the BorderWidth and PaddedBorderWidth
values in the registry, in HKCU\Control
Panel\Desktop\WindowMetrics. However, it does not appear to be a
1-to-1 relationship. Even if it were, I don't know how an RDP client
would find out these values or how it would use them.

任何帮助都将不胜感激。

Any help would be greatly appreciated.

推荐答案

Hello ChrisNCC,

感谢您对RDP协议的询问。我们创建了一个调查此问题的事件。其中一位公开规格团队成员将尽快与您联系。

 

 

问候,

Sreekanth Nadendla

Microsoft Windows Open规范
Hello ChrisNCC,
Thank you for your inquiry about RDP protocols. We have created an incident for investigating this issue. One of the Open Specifications team member will contact you shortly.
 
 
Regards,
Sreekanth Nadendla
Microsoft Windows Open specifications


这篇关于使用MS-RDPERP,服务器移动& amp; amp;单独调整窗口大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆