[ wxwindows-Bugs-1870906 ] There are few problems selection text by mouse in RichTextCt

SourceForge.net noreply at sourceforge.net
Tue Feb 26 05:37:09 PST 2008


Bugs item #1870906, was opened at 2008-01-14 08:01
Message generated for change (Comment added) made by juliansmart
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1870906&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: RichTextCtrl
Group: Trivial
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tyushkov Nikolay (softvoile)
Assigned to: Julian Smart (juliansmart)
Summary: There are few problems selection text by mouse in RichTextCt

Initial Comment:
There are few problems selection text by mouse in wxRichTextCtrl:

It can be reproduced in standard sample \wxWidgets-2.8.7\samples\richtext\vc_mswu\richtext.exe. 

Run sample, delete all text after 'Next we'll show an indented paragraph.'. After that you have the text at the top-half of window, and an empty space at the bottom. Try to select text by mouse use left-click and moving.


1) If you click over text area - it works, if click into empty area and move mouse to the top - does not select.

2) Select any part of text, click in any place over text area - selection was gone, all ok.  Select any part of text - click on empty space - does not work


3) Clear selection, set cursor in any place amongst text,  hold-down SHIFT and click in other place in text. Text between this points won't be selected.

4) Set cursor in the last line of text, press and hold left mouse button and move mouse to the top. Text will be selected. But if you try to select in such way all text in this document move mouse _fast_(cursor leave the window space), you fail.


Really there are not a bug, but such behaviour looks strange for user under Windows, that used Notepad, Word  and any other editors. Over and above, I think that if this problems will be fixed, usability of wxRichTextCtrl will be increased.

So, I believe that this is good idea to implement standard behaviour. Thanks for your attention.. :) 



I use Windows XP, wxWidgets 2.8.7, MSVC 2005, Static Unicode build 

----------------------------------------------------------------------

>Comment By: Julian Smart (juliansmart)
Date: 2008-02-26 13:37

Message:
Logged In: YES 
user_id=59495
Originator: NO

Fixed, thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1870906&group_id=9863




More information about the wx-dev mailing list