Closed Bug 276882 Opened 20 years ago Closed 19 years ago

Input event not fired by elements from initially collapsed boxes.

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugz, Unassigned)

Details

(Whiteboard: [reflow-refactor])

Attachments

(1 file)

Textbox don't fire input events when it is in initialy collapsed element. If
textbox is collapsed after some interval events ara generated correctly.

If box is hidden instead of collapsed everything works as expected.
Neil, any idea what's up here?
The text control frame looks as if it makes some guesses as to when it's safe to
fire input events, it appears to look for a reflow or get pref size when the
reflow state includes first reflow. However that is not firing in this case.
Not a DOM issue, then.  Sounds like XUL is screwing up reflow somehow.... :(
Assignee: events → nobody
Component: DOM: Events → Layout
QA Contact: ian → layout
Whiteboard: [reflow-refactor]
Two questions:

1. Should this bug be marked confirmed? I can see it in both 1.0 and 1.0.1 (and
others apparently can too).

2. Where do the uninitiated look in the source code to help track down this
problem? If I knew where to start looking, I might be able to help.

Just FYI, this bug is rather annoying for toolbar authors (myself included). If
a toolbar that uses a control with "oninput" starts out hidden, the "oninput"
event never gets fired. This should certainly be fixed, IMO.
Actually, looks like the immediate problem here is fixed by the fix for bug 282645.

The reflow problem probably still needs to be tracked down.... Probably putting
breakpoints in the Reflow() method of nsTextControlFrame and seeing what's going on.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
it's fixed now.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
No changes were made to the code base by this bug, worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
I still see this problem in 1.0.7. The example page fails just as it says it
does. I'm assuming the fix is in 1.5 (I haven't tried it there)?
yes. It's fixed in 1.5
Jonah, 1.0.7 is using code from April 2004 with security fixes only.
I see. Sorry for the misunderstanding.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: