Bug 796014

Summary: The insertion cursor of the TextWidget has border line of the widget at the left end when XmNmarginWidth < 3.
Product: Red Hat Enterprise Linux 6 Reporter: Akira YOSHIYAMA <a-yoshiyama>
Component: openmotifAssignee: Thomas Woerner <twoerner>
Status: CLOSED CURRENTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.2CC: cww, jwest, myamazak, rbinkhor, syeghiay
Target Milestone: rcKeywords: Patch, ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Prior to this update, the insertion cursor of a text widget could have a shadow border line under certain settings. This bug has been fixed and the cursor now displays correctly at all times.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-14 10:41:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 866496    
Attachments:
Description Flags
A test program
none
A patch to fix the problem none

Description Akira YOSHIYAMA 2012-02-22 03:06:12 UTC
Description of problem:
When the value of XmNmarginWidth of the TextWidget is less than 3,
the insertion cursor area has extra border line of the widget.

Version-Release number of selected component (if applicable):
openmotif-2.3.3-4

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.

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

Comment 1 Akira YOSHIYAMA 2012-02-22 03:07:57 UTC
Created attachment 564823 [details]
A test program

Comment 2 Akira YOSHIYAMA 2012-02-22 03:09:01 UTC
Created attachment 564824 [details]
A patch to fix the problem

Comment 5 Suzanne Logcher 2012-05-14 19:02:43 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 7 Akira YOSHIYAMA 2012-06-06 02:42:23 UTC
A new patch was proposed at upstream. Please check below:
http://bugs.motifzone.net/show_bug.cgi?id=1552