[RHEL6] The insertion cursor of the TextWidget has border line of the widget at the left end when XmNmarginWidth < 3.

Solution Verified - Updated -

Issue

  • When the value of XmNmarginWidth of the TextWidget is less than 3, the insertion cursor area has extra border line of the widget.

  • How reproducible:
    Always

  • Steps to Reproduce:

    1. Create a TextWidget.
    2. Set XmNmarginWidth at the TextWidget to 2.
    3. Type some characters in the TextWidget.
    4. Move the insertion cursor of the TextWidget on both side of the first character.
      Here is a test program: https://bugzilla.redhat.com/attachment.cgi?id=564823 in bug 796014.
  • Actual results:
    The left shadow border line of the TextWidget widens under the cursor.

  • Expected results:
    Text insertion cursor brinks normally without any other influence.

  • Additional info:
    Currently, there are 3 position calculation for:
    a) IBeamOffArea
    b) IBeam (blink on)
    c) IBeam (blink off)
    So, there are cases that positions of b) and c) are different from a).

  • See the upstream bug report:
    http://bugs.motifzone.net/show_bug.cgi?id=1552

Environment

  • Red Hat Enterprise Linux 6.0
  • openmotif-2.3.3-4.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.