Menu

#1169 entry widget: Dclick on character selection problem

obsolete: 8.4.5
open
5
2010-12-17
2002-04-10
Mo DeJong
No

The bug was originally part of 220943. A number
of problems were created by an earlier change.
The problem described as (2) was not caused by the
modification and so it has been extracted into
this bug report. Test cases and the proposed
patch have been added here.

It is included here.

(2) Double-click on the "c" in the first line, near its
RIGHT edge. The "c" becomes selected, as it should.
Now, double-click on the "c" near its LEFT edge,
keeping the button down after the second click. The
space to the left of the "c" is selected, not the "c"
itself. Now, move the mouse by ONE PIXEL in any
direction. The "ab" becomes selected as well.

...

The behavior described in (1) and (2) is obviously
incorrect. (In the case of clicking on the "c" near its
left edge, you might argue that you are effectively
clicking on the gap between the space and the "c" and
that therefore it is not necessarily incorrect for the
space to be the thing selected; but it certainly is
counterintuitive, since one expects the letter clicked
on to be part of the selected text.)

Discussion

  • Mo DeJong

    Mo DeJong - 2002-04-10

    Submitted patch for library/test.tcl

     
  • Mo DeJong

    Mo DeJong - 2002-04-10

    Test cases for proposed functionality

     
  • Vince Darley

    Vince Darley - 2003-11-13
    • labels: 104346 --> 07. [entry]
    • milestone: --> obsolete: 8.4.5
    • priority: 3 --> 5
    • summary: Dclick on character selection problem --> entry widget: Dclick on character selection problem
     
  • Vince Darley

    Vince Darley - 2003-11-13

    Logged In: YES
    user_id=32170

    Fixed the text widget problem, although the same issue still
    exists for the entry widget (which I'm not familiar with).
    Marked the entry-widget test as knownBug for that reason.

    See the last knownBug in event.test for details.

     
  • Stuart Cassoff

    Stuart Cassoff - 2010-12-17
    • assigned_to: stwo --> hobbs
     
MongoDB Logo MongoDB