One regression that I've found - dialog windows ("Run As", "Open file", etc) show up on taskbar, but work normally. On Windows they are not shown in taskbar. Maybe there is another way to check window type to not confuse them as normal windows.
the patch is for 2.x version, right? could you create a pr for current master? (currently away and will check when back, but with a pr we can have an easier discussion about implementation details)
if we´ve got something for the current 3.x release we can backport that to 2.x if required
Describe the bug
To Reproduce Steps to reproduce the behavior (context menus):
Steps to reproduce the behavior (window state):
Steps to reproduce the behavior (allowed actions):
Expected behavior Context menus: menus are shown on screen and do not disappear.
Window state: window stays "restored", not maximizing on its own.
Allowed actions: actions are identical to actions in Windows titlebar context menu.
Screenshots
Videos were recored earlier, but the same happens on later versions.
https://github.com/FreeRDP/FreeRDP/assets/10438627/cddbacbd-e3b0-415b-b1c1-e16aa54d9a34
https://github.com/FreeRDP/FreeRDP/assets/10438627/1b81e91e-f573-4c41-9830-df97e516be7b
https://github.com/FreeRDP/FreeRDP/assets/10438627/65a05bb5-6769-4fe7-841c-3b21b260c890
Application details
FreeRDP version: 2.10.0, 2.11.1, 2.11.7, 3.5.0
Command line used: xfreerdp /v: /u: /app:"||1cestart"
Output of
xfreerdp /buildconfig
:OS version connecting to (server side): Windows Server 2008 R2
Environment:
Additional context On Windows Server 2008 R2 Task Manager window has WS_POPUP flag but on Windows Server 2012 R2 doesn't.
Provided patch for 2.10.0 fixes described problems (though, not tested on many apps).
One regression that I've found - dialog windows ("Run As", "Open file", etc) show up on taskbar, but work normally. On Windows they are not shown in taskbar. Maybe there is another way to check window type to not confuse them as normal windows.