RichTextBox bug

  • Thread starter Thread starter Velox
  • Start date Start date
V

Velox

I found a bug in the RichTextBox class that I have yet to see
addressed.

I have an MDI application, with a child window containing a
RichTextBox with its HideSelection property set to false. I write
something to the RichTextBox, and then minimize the child window.
While the child window is minimized, I write some more data to the
RichTextBox. When I restore the child, the RichTextBox is blank! If
I resize or scroll the RichTextBox, the text is displayed again.
 
* (e-mail address removed) (Velox) scripsit:
I found a bug in the RichTextBox class that I have yet to see
addressed.

I have an MDI application, with a child window containing a
RichTextBox with its HideSelection property set to false. I write
something to the RichTextBox, and then minimize the child window.
While the child window is minimized, I write some more data to the
RichTextBox. When I restore the child, the RichTextBox is blank! If
I resize or scroll the RichTextBox, the text is displayed again.

Can you upload a small sample project somewhere and post a link?
 
* (e-mail address removed) (Velox) scripsit:
Absolutally. I included everything at
www.numenor.org/lilysharp/RTBBug/RTBBug.zip You just write to the
textbox, minimize the child window. The test menu provides a control
for writing to the textbox when it's minimized.

Thanks for providing the sample. On my .NET 1.1 (VS.NET 2003) machine
running Windows XP Professional, I am not able to repro the bug.
 
* (e-mail address removed) (Velox) scripsit:

Thanks for providing the sample. On my .NET 1.1 (VS.NET 2003) machine
running Windows XP Professional, I am not able to repro the bug.

Thanks for the reply. Apparently, it's time for my specs now ^--^
I'm running Visual C# .NET Standard Edition on Windows 2000 (fully
patched). I have used .NET 1.0.3 (that is apparently non-upgradeable
from VC# =( ) and .NET 1.1 Compiling with both has produced the bug.
You can download my compiled binary at
www.numenor.org/lilysharp/RTBBug/binary.exe and see if the problem is
in the compiled code, or the interpretation of said code.
 
* (e-mail address removed) (Velox) scripsit:
Thanks for the reply. Apparently, it's time for my specs now ^--^
I'm running Visual C# .NET Standard Edition on Windows 2000 (fully
patched). I have used .NET 1.0.3 (that is apparently non-upgradeable
from VC# =( ) and .NET 1.1 Compiling with both has produced the bug.
You can download my compiled binary at
www.numenor.org/lilysharp/RTBBug/binary.exe and see if the problem is
in the compiled code, or the interpretation of said code.

The binary runs perfect on Windows XP. I cannot repro the bug.
 
* (e-mail address removed) (Velox) scripsit:

The binary runs perfect on Windows XP. I cannot repro the bug.

Hmmm, well, I suppose it's a good thing that not all users will
experience this bug. Must be specific to something in my
configuration, either win2k, or having .NET 1.0.3 and 1.1
side-by-side, or something. Thanks for the help ^--^
 
Back
Top