Menu

#954 Editor tab becomes black rectangle when changing RDP view

Undefined
open
nobody
None
Bug_Report
2020-04-30
2020-04-28
No

I am using Windows built-in Remote Desktop (Windows 7 in both sides) with current trunk (r12073, wx3.1.3). The steps to get the black rectangle are:

  • Open C::B in the remote computer
  • Open any file of any project
  • With C::B visible (i.e. not minimized) switch view to the local computer
  • Return to the remote computer view
  • The tab in the editor window is now a black rectangle. The other tabs are unaffected.

Switching editor tabs does not restore tab contents, when selecting again the affected tab you see the image of the previously selected tab.

Minimizing and then maximizing C::B changes the black rectangle to whatever was in screen before, with the added effect of toolbars and part of the status bar (the C/C++ button) becoming transparent also (see attached image).

The only way to restore tab behaviour is restarting C::B

If I disable Direct2D rendering everything work as intended, including toolbars.

The out-of-the-box STC sample works OK, I don't know if it uses D2D.

1 Attachments

Discussion

  • ollydbg

    ollydbg - 2020-04-28

    I'm using the C::B rev 11957 nightly build 64bit version on a remote desktop Win7, and I just tested and I don't have your mentioned issue. (I believe that he remote C::B is already D2D enabled)

     
  • Teodor Petrov

    Teodor Petrov - 2020-04-29

    The out-of-the-box stc sample probably doesn't use d2d. You'd have to add a technology call in it to test it properly.

     
  • Miguel Gimenez

    Miguel Gimenez - 2020-04-30

    The stc sample modified to use D2D (SetTechnology(1)) also fails, see attached image.

    As an added bonus, after the failure the program does not close (Quit menu and close button do nothing).

     
  • Teodor Petrov

    Teodor Petrov - 2020-04-30

    This is good, now go report this to wx people and paste here trac id.

     
  • Miguel Gimenez

    Miguel Gimenez - 2020-04-30
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.