Closed Bug 285445 Opened 19 years ago Closed 19 years ago

bottom of vertical scroll bar is cut when opening a second tab (new tab causes tab bar to shift page down)

Categories

(Core :: Widget: Win32, defect, P1)

x86
Windows XP
defect

Tracking

()

VERIFIED FIXED
mozilla1.8beta4

People

(Reporter: skrol29, Assigned: dbaron)

References

()

Details

(Keywords: regression, testcase, Whiteboard: [patch])

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050226 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050226 Firefox/1.0.1

This is a bug related to #266858 which is statuted as unconfirmed since a long
time because the bug hasn't be reproduced. This description is more precise and
should make the bug obvious.
Description: The vertical scroll bar of the frame at the bottom of the window
lost its "go down" button when FireFox passes from mode No-Tab to mode Multi-Tab.

Reproducible: Always

Steps to Reproduce:
1. Make sure your screen is sized 1024*768 or smaller.
2. Make sure you've checked the FireFox option "Hide the tab bar when only one
web site displayed" (Menu "Tool"/"Options", then got to "Advanced" and "Tabbed
browsing").
3. Open a new browser, and enter the URL:
   http://www.skrol29.com/index.php?lang=en&page=dev
4. Open a new blank tab (Menu: File/New tab, or Ctrl+T)
5. Select the first tab to see the previously displayed web site.

Actual Results:  
The vertical scroll bar has lost its "go down" button.

Expected Results:  
Resize the vertical scroll bar.
Please test also with the latest nightly trunk build to see if this bug is still
present:
http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
(In reply to comment #1)
> Please test also with the latest nightly trunk build to see if this bug is still
> present:
> http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
> 

I've tested with the last trunk built and the bug is still there.
*********
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050310
Firefox/1.0+
*********
(In reply to comment #2)
> (In reply to comment #1)
> > Please test also with the latest nightly trunk build to see if this bug is still
> > present:
> > http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
> > 
> 
> I've tested with the last trunk built and the bug is still there.
> *********
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050310
> Firefox/1.0+
> *********

I've just tested with Firefox 1.0.3 and got the same bug.

I open my gmail account and wait to complete the email list. Then I open another
tab and the "go down" button disappear.

Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.7.7) Gecko/20050414
Firefox/1.0.3
Attached file Testcase
Sorry for the late follow-up, I can see the bug when following the (excellently
described) steps to reproduce.

Jose, please only test with nightly trunk builds (which can be found here for
example: http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/ )
The frameborder="no" seems to be necessary to trigger the bug.
Assignee: bugs → nobody
Status: UNCONFIRMED → NEW
Component: Tabbed Browser → Layout: HTML Frames
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: tabbed.browser → layout.html-frames
Version: unspecified → Trunk
Ok, works in 2004-10-14 build, fails in 2004-10-17 build. Most likely a fall-out
from fixing bug 227361.
Blocks: 227361
Keywords: regression
worksforme firefox gtk2 trunk 20050505 and 1.0.3 -- windows only?
Blocks: 290436
*** Bug 266858 has been marked as a duplicate of this bug. ***
*** Bug 271647 has been marked as a duplicate of this bug. ***
*** Bug 266858 has been marked as a duplicate of this bug. ***
Summary: vertical scroll bar in frame is cut when opening a second tab → vertical scroll bar in frame is cut when opening a second tab (bottom of scroll bar is hidden when tab bar shifts page down)
The URL given for the description has change and does not display a page using
frames. Please no use the following URL instead:
 http://www.euro2me.com/projets/bug_285445/
Summary: vertical scroll bar in frame is cut when opening a second tab (bottom of scroll bar is hidden when tab bar shifts page down) → bottom of vertical scroll bar is cut when opening a second tab (new tab causes tab bar to shift page down)
*** Bug 295749 has been marked as a duplicate of this bug. ***
Another way to trigger the bug (Firefox only):
- Open the testcase in a new tab
- Open the find bar (with ctrl-f)
- Now switch to the testcase tab
Flags: blocking1.8b4?
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511] (release) (W98SE)
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050701] (nightly) (W98SE)

(Windows) MAS v1.7.x branch, and SM vTrunk have this bug too.

My workaround when it happens:
Restore(= UnMaximize) then Maximize the browser window.

NB: I see it "all the time" on <http://www.battle-arenas.net/> site on the
bottom right frame :-(
Flags: blocking1.8b3?
Flags: blocking1.8b4?
Flags: blocking1.8b4+
Flags: blocking1.8b3?
Flags: blocking1.8b3-
Assignee: nobody → win32
Component: Layout: HTML Frames → Widget: Win32
QA Contact: layout.html-frames → ian
roc, could you take a look at this and/or suggest someone who could? thanks!
Assignee: win32 → dbaron
So the problem here is that Windows never sends a paint event to a view in the
toplevel view manager for the frameset, only the views for the frames.  Simple
patch to fix coming shortly.
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [patch]
Target Milestone: --- → mozilla1.8beta4
Attached patch patchSplinter Review
This assumes that an UpdateView call on the root view of the viewmanager or any
of its ancestors subsumes an UpdateView call on some view within this view
manager.  I think that's correct, since I don't think any bit outside the
bounds would ever by able to paint, but please double-check that.
Attachment #190893 - Flags: superreview?(roc)
Attachment #190893 - Flags: review?(roc)
Comment on attachment 190893 [details] [diff] [review]
patch

that is correct.
Attachment #190893 - Flags: superreview?(roc)
Attachment #190893 - Flags: superreview+
Attachment #190893 - Flags: review?(roc)
Attachment #190893 - Flags: review+
*** Bug 302954 has been marked as a duplicate of this bug. ***
Attachment #190893 - Flags: approval1.8b4? → approval1.8b4+
Fix checked in to trunk, 2005-08-02 13:10 -0700.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 284258 has been marked as a duplicate of this bug. ***
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b4) Gecko/20050804 SeaMonkey/1.0a]
(nightly) (W98SE)

V.Fixed.
Status: RESOLVED → VERIFIED
Comment on attachment 190893 [details] [diff] [review]
patch

A (regression) fix would be welcomed in MAS v1.7.x branch,
and probably in Aviary v1.0.x branch too...
Attachment #190893 - Flags: approval1.7.12?
Attachment #190893 - Flags: approval-aviary1.0.7?
Comment on attachment 190893 [details] [diff] [review]
patch

Please don't make approval requests for other people's patches.
Attachment #190893 - Flags: approval1.7.12?
Attachment #190893 - Flags: approval1.7.12-
Attachment #190893 - Flags: approval-aviary1.0.7?
Attachment #190893 - Flags: approval-aviary1.0.7-
(In reply to comment #26)
> (From update of attachment 190893 [details] [diff] [review] [edit])
> Please don't make approval requests for other people's patches.

Noted ... Yet, what about the branches ?
This doesn't fit the goals (security, regressions from previous security fixes)
of the branch releases, especially this close to the next major release.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: