Closed Bug 403666 Opened 17 years ago Closed 17 years ago

Find bar makes Firefox think window is wider than it actually is

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 312247

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(2 files)

Steps to reproduce:
 1. Go to ftp://ftp.mozilla.org/ (for example)
 2. Hit Ctrl+F to start a "find"
 3. Resize the browser horizontally, so that there's not much space to the left of "Match case" in the find bar.
 3. Type "read".  The "README" entry on that page should be highlighted.
 4. Press Ctrl-G, to trigger the "Reached end of page, continued from top" message, which extends outside the window.

  ** NOTICE: The Search Bar, page contents, and scrollbars get shifted to the right, out of view, when the "Reached end of page" message appears.

 5. Press Ctrl-Shift-G, to trigger "Reached end of page, continued from bottom" message. 

  ** NOTICE: The Location Bar gets a bit wider, and the Search Bar (if still visible) shifts a bit more.  This happens because the new message is slightly longer than the previous one. ('bottom' is longer than 'top')
   
 6. Press 'escape' to cancel the find.

  **NOTICE: The google search bar, page contents, etc. jump back to their original places

Expected behavior:  None of the "**NOTICE" stuff should happen.
Simpler related experiment:
 1. Go to ftp://ftp.mozilla.org/ (for example)
 3. Resize the browser horizontally, enough to trigger a horizontal scrollbar.
 2. Hit Ctrl+F to start a "find".

Results:
  - The Search Bar and page contents get shifted to the right.  
  - The horizontal scrollbar disappears, because the page now has enough horizontal room (outside the window) to not need a scrollbar.
Attachment #288543 - Attachment description: screenshot from comment #1 → screenshot from comment #0
Flags: blocking1.9?
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: