wxStyledTextCtrl & VNC

I'm using wxPython-2.4.0.7 with wxGTK-2.4.0 under Linux.
The application I'm working on presents the Python command line interpreter
through PyCrust Shell widget. Everything works well when I run the program
under XFree86, but when I try it with VNC the Shell widget displays no text
at all.

Trying to understand what was going on, I did the following tests:
- I used two different VNC servers (realvnc and tightvnc), both with the same
results;
- I directly ran PyCrust (it didn't display text in the main pane);
- since PyCrust Shell inherits from wxStyledTextCtrl (part of scintilla /
SciTe), I downloaded SciTe and compiled it. The program worked correctly;
- I substituted PyCrust Shell with pyshell inside my program: no text was
displayed.

Is this a known problem? Are there other tests I can do?

Best regards,
  Anakim Border
  aborder@users.sourceforge.net

Anakim Border <aborder@users.sourceforge.net> writes:

I'm using wxPython-2.4.0.7 with wxGTK-2.4.0 under Linux.
The application I'm working on presents the Python command line interpreter
through PyCrust Shell widget. Everything works well when I run the program
under XFree86, but when I try it with VNC the Shell widget displays no text
at all.

Trying to understand what was going on, I did the following tests:
- I used two different VNC servers (realvnc and tightvnc), both with the same
results;
- I directly ran PyCrust (it didn't display text in the main pane);
- since PyCrust Shell inherits from wxStyledTextCtrl (part of scintilla /
SciTe), I downloaded SciTe and compiled it. The program worked correctly;
- I substituted PyCrust Shell with pyshell inside my program: no text was
displayed.

Is this a known problem? Are there other tests I can do?

I've not heard of this problem before, but I've also not heard of
anyone trying to run PyCrust under VNC. Robin might have some
insights. If you figure out a solution, please let me know so I can
fix the PyCrust shell widget.

···

--
Patrick K. O'Brien
Orbtech http://www.orbtech.com/web/pobrien
-----------------------------------------------
"Your source for Python programming expertise."
-----------------------------------------------

Anakim Border wrote:

I'm using wxPython-2.4.0.7 with wxGTK-2.4.0 under Linux.
The application I'm working on presents the Python command line interpreter through PyCrust Shell widget. Everything works well when I run the program under XFree86, but when I try it with VNC the Shell widget displays no text at all.

Trying to understand what was going on, I did the following tests:
- I used two different VNC servers (realvnc and tightvnc), both with the same results;
- I directly ran PyCrust (it didn't display text in the main pane);
- since PyCrust Shell inherits from wxStyledTextCtrl (part of scintilla / SciTe), I downloaded SciTe and compiled it. The program worked correctly;

SCiTe in this case will be using a gtk port. wxSTC is basically a wxWindows port of Scintilla (so in other words the lowest level of Scintilla in this case is wxWindows.) So the fact that SCiTe works doesn't really tell us much. I expect that the problem boils down to the VNC X-Server not sending the window a paint event at the right time or something.

I just tried it here, with tightvnc 1.2.7 on both ends, and it works fine.

- I substituted PyCrust Shell with pyshell inside my program: no text was displayed.

Is this a known problem? Are there other tests I can do?

Not that I've heard, although there have been other problems with VNC mentioned, like the absence of a Shift-Tab key event.

I run wxPython stuff nearly every day in VNC, but in my case the client is Linux and the server side is OSX or sometimes Windows...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!