Closed Bug 453661 Opened 16 years ago Closed 16 years ago

Typed characters fail to display correctly once text box has Vertical scroll-bar is displayed

Categories

(Core :: Web Painting, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: murph.0912, Assigned: roc)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080904035000 Minefield/3.1b1pre Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20080904035000 Minefield/3.1b1pre Firefox/3.0.1

In a text entry box like those on the mozillazine forums (today's Trunk daily thread cited above), when the contents are sufficient to cause the horizontal scroll bar to appear, typed text does not show correctly when typing. See

http://img370.imageshack.us/img370/6329/textboxissueus8.jpg

for an example. This is the quick reply box at the bottom of the thread page. The last line in the picture should be "Just from the", but just some bits and pieces appeared on-screen as I was typing.

Reproducible: Always

Steps to Reproduce:
1. Go to a web page with a text entry box like in a mozillazine forums thread.
2. Type sufficient text to get the text box to show a horizontal scroll bar. You can use carriage returns to add lines to quickly to cause the scroll bar to appear.
3. Type additional text.
Actual Results:  
Text characters do not display properly even though the cursor moves along as you type.

Expected Results:  
Text characters should display as you type them.

When filling in the Details box of the bug filing form, the bug showed until I used the mouse to highlight what typed. Also, scrolling the page so that the text box goes off-screen and then scroll back, the screen properly rewrites itself and displays the text characters you had typed.

I will post the regression range once I ID it.
Confirming bug, but I am pretty sure he means the 'vertical' scroll-bar, i.e., enough lines of text to for in the vertical scroll-bar.  The 'horiz' scroll bar will never appear, as it word-wraps at the right-most edge of the text input box.

Using build on Vista HP SP1
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b1pre) Gecko/20080904044504 Minefield/3.1b1pre Firefox/3.0 ID:20080904044504
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Firefox 3.1b1
Version: unspecified → Trunk
Summary: Typed characters fail to display correctly once text box has horizontal scroll displayed → Typed characters fail to display correctly once text box has Vertical scroll-bar is displayed
My bad! It is vertical that I mean.

The apparent regression range:

Build 20080904035000 available here:
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32/1220518800/
has this bug.

Build 20080904022621 avail here:
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-win32/1220517454/
does not have the bug.
Seeing it under linux. So, moving it to PC - ALL and not only windows.

Following the regression range, it could be a checkin related to bug 453531 or bug 439206 ?
OS: Windows XP → All
Keywords: regression
OS: All → Windows XP
It HAS to be PC all, and not only M$ Windows XP. It could be reproduced on my linux system.

Well, at least it is a big bad regression which is visible on both XP and Linux.
OS: Windows XP → All
Hardware: PC → All
Flags: blocking-firefox3.1?
Attached file testcase
testcase
I wonder if this might be a rendering problem. I and others have seeing occasional instances where portions of the page such as the outline of a text box like the one I am typing in in making writing this comment do not show on the screen. Scrolling the portion of the page off-screen and then back "resolves" it.

This is the same as when typing in a text box and after getting the vertical scroll bar to appear, our typed text does not appear fully on-screen. Scrolling the page off-screen and then back or just highlighting our typed text "restores" it to the screen.
moving to Core as Tb is affected too
Flags: blocking-firefox3.1?
Product: Firefox → Core
QA Contact: general → general
Target Milestone: Firefox 3.1b1 → ---
seen also in compose window of thunderbird when there is a vert scrollbar
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b1pre) Gecko/20080904031046 Shredder/3.0b1pre

hit spacebar which invokes auto spellcheck and characters become visible
Flags: blocking1.9.1?
I'm assuming that the regression range in comment 2 is wrong, since this is almost certainly a regression from bug 376662.
Blocks: 376662
Component: General → Layout: View Rendering
QA Contact: general → layout.view-rendering
We should just back out 376662. Unfortunately I can't do it myself today, but anyone else is welcome to do it.
I backed out bug 376662, so this should be fixed on trunk.
Flags: in-testsuite?
Assignee: nobody → roc
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b1pre) Gecko/20080905000656 SeaMonkey/2.0a1pre

I /think/ this is what I saw on yesterday's nightly when composing mail: once the text was long enough to get a vertical scrollbar, newly typed text appeared as gibberish (looking like fly foot tracks), but would be re-displayed normally if selected (only under the selection then), if scrolled out of and into view, or if focus was lost and regained by temporarily switching to a different KDE virtual desktop.

I thought I would wait for the next nightly because such an obvious bug would probably get fixed fast -- and it did. Long live Mozilla! Blowups happen, and when they do, a good developer knows where to look.

I'm bearing witness that I don't have the problem in today's nightly (UA string at top of this comment). I'm unable to VERIFY it on W32 or Mac, someone else please do it.
O.k., marking verified=fixed now due roc's backout for Bug 376662, changeset 4c0fa178b006. 

Tested with todays Nightly-Builds (SM and FF, but not TB) on Windows XP and MacOS X 10.5.x, Tony did the Linux part.
Status: RESOLVED → VERIFIED
Tobias, you forgot to set the resolution. All too easy now that radiobuttons have disappeared at the bottom of bug reports. ;-)
Flags: blocking1.9.1?
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: