[RHEL6] The insertion cursor of the TextWidget has border line of the widget at the left end when XmNmarginWidth < 3.
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:
- Create a TextWidget.
- Set XmNmarginWidth at the TextWidget to 2.
- Type some characters in the TextWidget.
- 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, tools, and much more.