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

[STR New]

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


First a general question: should the middle mouse button generate double
and triple clicks and thus be able to *select* text?

Now my observation on Linux: start test/editor and enter something like
this single line and press enter:

This is a line of text

Now select the last word (text) together with the following line break.
Then click on the next line with the middle mouse button. Result:

This is a line of text
text

So far, so good. Now click again at the end of the buffer (slowly!), so
that the new text is inserted. All is well. But then click three times (so
fast that the system registers a triple click). Okay, that may be strange,
but it can happen. The strange behavior is that the full original line of
text of the previous selection is now selected, and the next click inserts
the full line instead of only the original selection. The bad result in the
text buffer is something like this:

This is a line of text
text
text
text
text
text
text
This is a line of text
This is a line of text
This is a line of text

Although this is maybe not a normal user behavior (but I used it to copy
some smaller parts of the text multiple times), there is clearly a bug
that the previous selection is extended to the full line. This is
absolutely unrelated to the actual mouse position (and can also be off the
screen, so that the user can't see it).

---

So far that's the linux problem. I tried to replicate it on Windows, but I
can't manage to do a triple click in FLTK apps on Windows. It works well in
other apps though, so that it is clearly not a setup issue. In fact, my
Linux tests are in a VM on the same Windows XP system.

Tests done with svn r8027 on Ubuntu 9.10 and Windows XP/MinGW.


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

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to