Closed Bug 96413 Opened 23 years ago Closed 23 years ago

Doubling of form elements on Bugzilla pages

Categories

(Core :: Layout, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
mozilla0.9.4

People

(Reporter: jg, Assigned: rods)

References

Details

(Keywords: helpwanted, regression, smoketest)

Attachments

(2 files)

Build: today's tip pulled at 0900BST (0000PDT) using gcc2.95.4.

Steps to reproduce:
1. Click on any bug number to load the report
2. Whilst the report is loading from the network, as soon as the vertical
scrollbar appears, use it to scroll downwards past the form at the top.
3. Once page has loaded, scroll up

Expected results:
Should show the form at the top of the page once and correctly

Actual Results:
Two forms are displayed, almost identical, one on top of the other.
The first contains no pull down menu items
The second appears apparently correctly.

This was tested using a new profile.

Screenshot coming up.
-> layout, cc:rods as he owns HTML Form Controls, blocker for now
Assignee: asa → karnaze
Severity: critical → blocker
Component: Browser-General → Layout
QA Contact: doronr → petersen
I should add, the first time I saw this this morning, I was trying to change a
bug'd target milestone, and noticed that all form control pull-downs has gone.
On this occassion, there was NO second copy of the form, and thus I was unable
to change any part of the bug expect additional comments. That may make this a
smoketest blocker. Can anyone else reproduce?
I'v seen this too with 2001-08-22-03 Win98
With some difficulty, I was finally able to reload bug 46268 (a fairly long one) 
and scroll down before it finished loading. When I scrolled back up, I did not 
see the problem on my Win2K debug build of 8/21/01 9am which also included my 
checkins from last night; I did this a few times. I think my build also included 
rods' changes to form controls.
I screened the last night's checkins for 'scroll' and found a fix for bug 93830.
Randall, can you take a look at this and see if your patch to bug 93830 caused 
it. 
Assignee: karnaze → rjesup
OK just found another way. I loaded this bug, then hit shift+reload to force a
network refresh, and immedately found the 'blank' form on top of a good form
*without* needing to scroll at all.

Curiously, the textarea for Additional Comments in the 2nd (good) form, refused
to accept backspace or delete, so when I made a mistake, I had to hit reload
again and got a single form with *correct* form fields.
OK just went back to "Today's Bug List" and clicked on this report, was
immediately faced by the same two forms, first having no pull downs, the second
having backspace and delete disabled. Scrolling may be neccessary the first
time, I don't know.
randell just checked the patch in, so if that patch is causing the problem, this
is gisburn's.

-> him

Can someone who has a current build try backing that patch out?
Assignee: rjesup → Roland.Mainz
Definitely doesn't require scrolling. I hit 'Commit' on those last comments, and
was imediately faced with the next bug in the list with the problem of two
forms, first one being blank. I hadn't previously loaded that bug, so it's not a
cache thing.

Bernd sees on Win32, marking All/All. Are people seeing this as serious and
widespread enough to get the magic 'smoketest' keyword?

Keywords: nsbeta1, regression
OS: Linux → All
Hardware: PC → All
I somehow doubt that was the cause.  I've also seen this before today's build, I
think.  (Maybe yesterday's?)
I am not sure how my patch in bug 93830 should cause this... and I doubt it
causes this trouble because I had the patch three weeks in my tree and I never
observed such a problem (well, I am still using NS4.x for
BugZilla/Email/News...)...

I may only be a problem if |aPresContext->IsPaginated(&isPaginated))| returns a
wrong value... but I doubt that...

----

Setting target milestone 0.9.4 - blockers should always have a milestone...
Keywords: helpwanted
Target Milestone: --- → mozilla0.9.4
I backed out, the problem persists
bernd:
Does that mean I am not guilty ?
per comments in this bug:
Reassigning to bug to owner and QA contact of layout component...
Assignee: Roland.Mainz → karnaze
This is hitting me on almost all bug pages I pull up, and I've noticed the
following:

1. In the 2nd form, apparently correct, you can't hit delete or backspace. Make
a mistake in the Additional Comments field, and you can't correct it.

2. Same form, the radio buttons at the bottom are all doubled up. So you get two
of "Accept bug", four "Resolve bug", etc.
Whats the ETA on this bug ? The backspace/delete problem along with the bug
rendering make bug triaging very difficult...
this has a much higher frequency on slow connections. This blocks all use of
Mozilla for work in Bugzilla. 
Keywords: smoketest
Could someone who can reproduce reliably try to narrow down between which two
builds this started?  I see it occasionally, but not often enough to
binary-search the builds.
Cannot reproduce with 2001-08-20-08, Win NT (found in 2001-08-20-15-trunk),
but can reproduce with 2001-08-21-09, Win NT (found in 2001-08-21-11-trunk).
Note that forms changed to use proportional fonts between the two builds
(didn't find the bug # for that).
Clarence: Proportional fonts in bug 96414.
Can anybody reproduce this after adding this pref:
user_pref("layout.forms.use_standard_or_quirks", true);
I can't, but my connection to bugzilla seems to be very fast ATM.
*** Bug 97050 has been marked as a duplicate of this bug. ***
I'm sorry but this bug doesn't have anything to do with scrolling around, so
I'll change the Summary.

Additional : Annoying because you cannot change any bug in Bugzilla (The Bug #
gets doubled too : 9676996769) and reloading the page never changes anything.

Interesting: Every time I encounter this the top "mozilla.org" image is shown
somewhere inside the page (most of the time only parts of the image) then these
parts "move" up to the correct position. Screenshots are in Attachement 47142
and Attachement 47143

Interesting too: Selecting the doubled elements =) See Attachement 47141 (all
attachements filed on Bug 96769
Summary: On any bugzilla bug page, scroll down whilst loading results in display problems → Doubling of form elements on Bugzilla pages
*** Bug 96769 has been marked as a duplicate of this bug. ***
Assigning to rods because his check-in for bug 91602 seems to have regressed this.
doctor__j found the same as I in bug 96769.
Assignee: karnaze → rods
Summary: Doubling of form elements on Bugzilla pages → On any bugzilla bug page, scroll down whilst loading results in display problems
Summary: On any bugzilla bug page, scroll down whilst loading results in display problems → Doubling of form elements on Bugzilla pages
(re-changing summary wasn't intentional)

> and reloading the page never changes anything.

Markus: FWIW, I've found that "Super Reloading" (shift-Reload) always fixes the
problem for me (even though, as you mention, normal-reloading does nothing). 
Andreas, 
Adding user_pref("layout.forms.use_standard_or_quirks", true);
to my prefs.js fixed the problem for me, used to be able to reproduce 100% of
the time, now I cant reproduce at all
I am also seeing this behavior when switching windows while the page loads on
Win98.  Hoping this makes it easier to reproduce...
I am not able to reproduce this bug with any of the techniques described so far.

I would certain slwly remove standard sizing on each control until it worked 
again.
Status: NEW → ASSIGNED
Using 1024x768 screen resolution and just loading this page a few times
(Shift-reload sometimes) and the bug pops up for sure.  No need to do any
special move...
Doc J, are you using a modem?
I had to re-checkin a radio button fix that could possibly be responsible for 
this. 

The fix was to disable the auto-selection of the first item, which was going 
back into the content which could have been causing problems.
*** Bug 97098 has been marked as a duplicate of this bug. ***
Is this a dup of Bug 96142?

I can get 96142 to do it every time.
Bug 96142 is NOT a dup of this, it has two DIVs
I can't repro this with buildid 2001082708 following first set of repro steps 
in the bug report, downgrading to critical. 
Severity: blocker → critical
I'm actually not able to reproduce today using steps that worked for me
yesterday (in viewer, with --trace-malloc malloc.log, in a build with
trace-malloc enabled).
My build this morning on Linux (pulled 0900BST) was able to reproduce this problem.

I have now pulled from the tree folllowing new checkins from rods. Pull time was
approximately fifteen minutes ago. I no longer able to reproduce this problem.
Suggest marking RESOLVED FIXED by latest code, unless anyone else can reproduce
with a similarly recent build.
My guess is that it was the nsFormFrame.cpp check for the auto-select radio btn 
issue, as I had suggested before. marking WFM
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Confirming WFM with the Sept 28th branch builds: Mac OS X (2001-09-28-04) and
Windows ME (2001-09-28-05).
Keywords: vtrunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: