When resizing sometimes the new parts of the screen becomes black. Seems to only happen when resizing to a bigger resolution than before. The windows desktop is resized but it seems like rdesktop isn't getting updates for the increased area. Mouse clicks work in the black areas. When this happens it seems like the background image breaks as well (the background becomes black). Happens on both Windows 2012 R2 Server and 2012 non-R2 Server. Does not happen on Windows 2008 R2 Server.
Created attachment 576 [details] Video showing the issue
This [1] upstream commit, might fix this bug. Reason being that on a resize the clipping window is not reset to the new window size. [1] https://github.com/rdesktop/rdesktop/commit/c843a3
*** Bug 6072 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > This [1] upstream commit, might fix this bug. Reason being that on a resize the > clipping window is not reset to the new window size. > > [1] https://github.com/rdesktop/rdesktop/commit/c843a3 Unfortunately, this doesn't help.
The bug is consistently reproducible when trying to increase the size of the session: 1. Login to a Windows 2012 session using ThinLinc and "rdesktop -f" 2. Resize the window to make it bigger 3. The new area which was added is black and does not get updates --- Have tested 2012r2 without updates, fully updated and with several states in between these two, this bug is not related to Windows Updates. The bug exists with rdesktop upstream, with rdesktop in ThinLinc 4.7.0 and with rdesktop in ThinLinc 4.2.0. Moving from 'MediumPrio' to '---' for discussion.
A user of rdesktop also found this bug and made a patch, see https://github.com/rdesktop/rdesktop/issues/117
Investigate a bit in this issue due to the upstream report. A fix is committed upstream (05689db) and it works good. Tested using ThinLinc and Windows 2012r2 server.
This is also seen on Windows 2016 while testing it to be supported. I haven't tested the mentioned fix upstream in comment #8.
I did a test using rdesktop from upstream which includes the mentioned fix in comment #8 agains Windows 2016, which solves the problem with the broken resize.
Fixed via vendor drop in r32760.
Verified that the problem is fixed on Windows 2008 R2 and Windows 2016. Will also test 2012.
Verified that the problem is fixed on Windows 2012 R2.