Closed Bug 2279 Opened 26 years ago Closed 26 years ago

[PP] Linux and hidden form fields

Categories

(Core :: Layout, defect, P2)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: stuartp, Assigned: pollmann)

References

()

Details

GTK cannot create 0x0 widgets (at least not for most, as most have a minimum size). For some reason... which I can not understand, the form code creates TextWidget for all hidden fields, and tells them to size to 0x0. This makes very little sense to me. Why are we adding more widgets to the window than we need, and espically ones that arn't supposed to be drawn? This is why you get many extra text boxes on webpages with <input type=hidden ...> tags in them.
Assignee: troy → karnaze
Assignee: karnaze → pollmann
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Just checked in a fix. We're still creating frames (a button frame to be precise) because those are used when the form submission code queries for the name/value of the hidden element.
marking verified fix. Pollmann, is there a separate bug filed for this??? "We're still creating frames (a button frame to be precise) because those are used when the form submission code queries for the name/value of the hidden element." I will mark this bug VERIFIED-FIXED after I know that this other issue is reported in bugzilla...thanks!
The creation of frames for a hidden element is the "right" thing to do, as per conversations between myself and Chris Karnaze. It is not an issue - so you can feel free to mark the bug "VERIFIED" at your leisure. Note, I re-checked-in this bugfix today after it was backed out by rods massive changes yesterday, and it appears to be working.
*** Bug 2653 has been marked as a duplicate of this bug. ***
verified in 1/26 build.
Status: RESOLVED → VERIFIED
Inserting Milestone info.
You need to log in before you can comment on or make changes to this bug.