Closed Bug 39792 Opened 25 years ago Closed 25 years ago

Client area paints outside border in textfield that focus is set to in dialog

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 39885

People

(Reporter: sujay, Assigned: mjudge)

References

Details

(Whiteboard: [nsbeta2+][dogfood-])

Attachments

(1 file)

using 5/18 build of netscape 1) launch netscape 2) launch composer 3) open following dialogs: table, hline, etc... notice a white rectangle covering the first text field.... all platforms.
Just changing summary. The textfield that receives focus is drawing its background all the way to the right side of the dialog.
Status: NEW → ASSIGNED
Summary: white rectangle in first dialog field → Client area paints outside border in textfield that focus is set to in dialog
Target Milestone: --- → M17
This is actually a rather serious problem. It happens in all of out dialogs where we set initial focus to a textfield. When we set focus to a textfield, it causes its client area to repaint and extend clear out to the right edge of the dialog (probably past that, but it's clipped). This really is now part of the textfield and can be typed in. If there are any other widgets to the right of the textfield, they are covered by the extended textfield and cannot be used because the erant textfield blocks them. This probably involves XUL layout and its interactions with the ender widget. Hoping Steve might be able to debug better than I can.
Assignee: cmanske → buster
Severity: normal → critical
Status: ASSIGNED → NEW
Keywords: dogfood, nsbeta2
The attached dialog moves the textfield out of the <grid> and into its own box to demonstrate the bad behavior. Looks like something to do with autostretch="never" not being detected when sizing the content area or the <textfield>
This is definitely the result of using autostretch="never" in the <row> containing the <textfield> Simply removing autostretch="never" from the row "fixes" the problem. Reassigning to Eric. Steve: If you can help debug the problem, I'm sure Eric would appreciate it!
Assignee: buster → evaughan
unless I hear from eric that he needs my help, I won't be looking into this any further.
Putting on [nsbeta2+][dogfood-] radar. Does not need a fix ASAP for daily work, but we should fix this for beta2.
Whiteboard: [nsbeta2+][dogfood-]
*** Bug 40209 has been marked as a duplicate of this bug. ***
This has nothing to do with autostetch="never". Attached is an example. It will happen intermitently regardless of whether autostrech is never or not. It looks as if the endor widget is not setting its internal widget correctly or something. And that is splilling out. Interestingly enough I could not reproduce the problem in viewer only mozilla. Could it be mozilla specific? Uninitialized memory?
Assignee: evaughan → mjudge
mjudge is working hard on getting ender lite working -- he thinks problems like this may go away with the much simpler editor code.
I just recompiled with MOZ_ENDER_LITE defined and as predicted, this bug is fixed by using ender lite.
m16
Target Milestone: M17 → M16
*** This bug has been marked as a duplicate of 39885 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verified in 5/30 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: