DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2668
Version: 1.3-current


Mouse-select some text in another application, left-click over a
Fl_Text_Display, try to paste with middle-click: the selection is gone.
It can be easily seen with test/editor (other input widgets don't have
this bug).

Trivial patch attached.


Link: http://www.fltk.org/str.php?L2668
Version: 1.3-current
--- Fl_Text_Display.cxx.orig    2011-06-15 17:53:38.000000000 -0400
+++ Fl_Text_Display.cxx 2011-06-15 17:53:53.000000000 -0400
@@ -3600,7 +3600,6 @@
       dragType = Fl::event_clicks();
       if (dragType == DRAG_CHAR) {
         buffer()->unselect();
-        Fl::copy("", 0, 0);
       }
       else if (dragType == DRAG_WORD) {
         buffer()->select(word_start(pos), word_end(pos));
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to