Sorry, forget to send to mail to the mailing list.

I double checked the log and found that the timestamp interval is ~10s
while it supposes to be 5s, so I guess the problem is that some of the
WindowUpdate orders are not received on time. I'll keep digging and hope
someone can help me with that too.

Hualet Wang <mr.asianw...@gmail.com> 于2018年11月29日周四 下午1:27写道:

> Thanks for your reply Armin.
>
> I've found the documentation in FreeRDP wiki page and trying to implement
> that on my own, but I got another strange thing :(
>
> I found that when the main window got hidden, it will never show up again.
>
> To test that, I created a simple Qt application, it has only one empty
> window and the window shows and hides every 5s, so here it is:
>
> xfreerdp receives 2 WindowUpdate orders both when window showing and
> window hiding, and they seem to be no different at all.
>
> I printed out the WINDOW_ORDER_INFO details as following:
>
> -- Window Show --
> [12:50:08:793] [6087:6088] [INFO][com.freerdp.client.x11] - window id:
> 0x00020074
> [12:50:08:794] [6087:6088] [INFO][com.freerdp.client.x11] -
> WINDOW_ORDER_INFO {
> [12:50:08:794] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_STYLE 0x800b0000
> [12:50:08:794] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_SHOW 0x00000000
> [12:50:08:794] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_VISIBILITY
> [12:50:08:794] [6087:6088] [INFO][com.freerdp.client.x11] - }
> [12:50:08:794] [6087:6088] [INFO][com.freerdp.client.x11] - window state:
> 0
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] - window id:
> 0x00020074
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] -
> WINDOW_ORDER_INFO {
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_STYLE 0x96cf0000
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_SHOW 0x00000005
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_VISIBILITY
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] - }
> [12:50:08:891] [6087:6088] [INFO][com.freerdp.client.x11] - window state:
> 5
>
> -- Window Hide --
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] - window id:
> 0x00020074
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] -
> WINDOW_ORDER_INFO {
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_STYLE 0x800b0000
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_SHOW 0x00000000
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_VISIBILITY
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] - }
> [12:50:18:798] [6087:6088] [INFO][com.freerdp.client.x11] - window state:
> 0
>
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] - window id:
> 0x00020074
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] -
> WINDOW_ORDER_INFO {
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_STYLE 0x96cf0000
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_SHOW 0x00000005
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] -
>  WINDOW_ORDER_FIELD_VISIBILITY
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] - }
> [12:50:18:895] [6087:6088] [INFO][com.freerdp.client.x11] - window state: 5
>
>
> I really don't get it, did you have ever met that before?
>
> And another thing is that I saw there's actually no XMapWindow thing
> against the case of window state is SHOW, is that intended? can you tell me
> why?
>
>
> Armin Novak via FreeRDP-devel <freerdp-devel@lists.sourceforge.net>
> 于2018年11月28日周三 下午4:27写道:
>
>> You're correct.
>>
>> Notifications are currently not supported and the function you reference
>> is just a stub.
>>
>> The remote application specifics of the protocol are documented by
>> microsoft in [MS-RDPERP].
>>
>> hope that helps.
>>
>>
>> best
>>
>> Armin
>>
>>
>> On 11/27/18 3:34 AM, Hualet Wang via FreeRDP-devel wrote:
>> > Hi all.
>> >
>> > I managed to run Remote Apps on a Linux machine with freerdp recently,
>> but
>> > I also noticed that the notification icon of that Remote App is somehow
>> not
>> > showing in the system tray,  so I dug into the source code and found out
>> > that it is not implemented at all?
>> >
>> > If I didn't misunderstand, I need to create a local tray icon in
>> > `xf_rail_notify_icon_create` function, right? but how can I send a
>> message
>> > back to the server if the tray icon is clicked?
>> >
>> > I'm not very familiar with the RDP protocol, so anyone can guide me a
>> > little bit?
>> >
>> > Regards
>> > Hualet
>> >
>> > _______________________________________________
>> > FreeRDP-devel mailing list
>> > FreeRDP-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>>
>>
>> _______________________________________________
>> FreeRDP-devel mailing list
>> FreeRDP-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>>
>
>
> --
> -- Hualet
>


-- 
-- Hualet

_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to