Closed
Bug 283134
Opened 20 years ago
Closed 19 years ago
rectangles around selected text
Categories
(Core Graveyard :: GFX: Win32, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: izsak, Assigned: dougt)
References
Details
Attachments
(2 files, 2 obsolete files)
52.72 KB,
image/jpeg
|
Details | |
1.44 KB,
patch
|
masayuki
:
review+
dougt
:
superreview-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Familiar 0.72; en-US; rv:1.7a) Gecko/20040218 Minimo/0.1
Before and after selection Minimo adds "rectangles" (special characters, perhaps?).
First rectangle is selected, second is after selection.
Because this adds two characters in text, paragraphs are reformatted with
selection changes.
Reproducible: Always
Steps to Reproduce:
1. Open web apge
2. Select some text on page
Actual Results:
There should appear rectangles and text should move
Expected Results:
Only select text without adding some special characters to selection.
Reporter | ||
Comment 1•20 years ago
|
||
Assignee | ||
Comment 2•19 years ago
|
||
*** Bug 316900 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 3•19 years ago
|
||
This seams to work.
If only the if-statement would result in the same thing. I find that every predicate evals to zero.
Assignee | ||
Comment 4•19 years ago
|
||
Comment on attachment 203554 [details] [diff] [review]
Patch v.1
Could you advise on the above patch?
Attachment #203554 -
Flags: review?(masayuki)
Comment 5•19 years ago
|
||
Comment on attachment 203554 [details] [diff] [review]
Patch v.1
I cannot accept this patch.
We should not use #ifdef on XP code(of course, we don't have another way, we should go).
Now, we don't know why |PaintAsciiText| doesn't work fine on WinCE yet.
We need to know truth.
Why is |text| broken on |PaintAsciiText|?
I think that |DrawString| breaks |text| on WinCE, right?
Isn't regression of bug 260663?
Attachment #203554 -
Flags: review?(masayuki) → review-
Comment 6•19 years ago
|
||
I think that the |text| is broken by
3400 rv = aRenderingContext.GetWidth(currenttext, currentlength,newWidth); //ADJUST FOR CHAR SPACING
I think that the WinCE's GetTextExtentPoint32 is set NULL to lpString[cbString].
> BOOL GetTextExtentPoint32(
> HDC hdc,
> LPCTSTR lpString,
> int cbString,
> LPSIZE lpSize
> );
Please check this patch. I cannot test this.
Assignee | ||
Comment 7•19 years ago
|
||
Comment on attachment 203599 [details] [diff] [review]
proposal patch
works for me. Thank you!
Attachment #203599 -
Flags: review+
Comment 9•19 years ago
|
||
Attachment #203554 -
Attachment is obsolete: true
Attachment #203599 -
Attachment is obsolete: true
Attachment #203607 -
Flags: review+
Updated•19 years ago
|
Status: NEW → ASSIGNED
Component: Minimo Front-End → GFX: Win32
Product: Minimo → Core
Target Milestone: --- → mozilla1.9alpha
Version: unspecified → Trunk
Updated•19 years ago
|
OS: other → Windows CE
Updated•19 years ago
|
Attachment #203607 -
Flags: superreview?(dveditz)
Assignee | ||
Comment 10•19 years ago
|
||
Comment on attachment 203607 [details] [diff] [review]
Added the comment
i might be able to hide this stuff inside windows ce shunt library (mozilla/build/wince/shunt)... In this way, we do not have to add more ifdefs into the gfx code.
Attachment #203607 -
Flags: superreview?(dveditz) → superreview-
Assignee | ||
Updated•19 years ago
|
Assignee: masayuki → dougt
Status: ASSIGNED → NEW
Assignee | ||
Comment 11•19 years ago
|
||
found the problem in the shunt layer....
http://lxr.mozilla.org/mozilla/source/build/wince/shunt/win32A.cpp#649
I am removing this mistake.
Thanks for your help Masayuki!
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•