Closed Bug 390887 Opened 18 years ago Closed 17 years ago

tab drag and drop breaks tab box resizing

Categories

(Firefox :: Tabbed Browser, defect, P2)

defect

Tracking

()

VERIFIED FIXED
Firefox 3 alpha8

People

(Reporter: mcdavis941.bugs, Assigned: Gavin)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007080309 Minefield/3.0a8pre When working correctly, you can resize to decrease width of main browser window and the tab box will resize to keep the tab scroll arrows visible on both ends of the tab box. However, after you drag and drop a tab, resizing to decrease width of main browser window only works until the dropped tab is at the right edge of the tab box, after which the tab box width will no longer decrease (instead, the right-side tab scroll arrow overflows off the right side of the window). Reproducible: Always Steps to Reproduce: 1. Configure Firefox to reopen tabs on restart. 2. Open five tabs. They can hold anything or nothing. 3. Close Firefox. 4. Reopen Firefox. All five tabs should still be present. 5. Resize window width both narrower and wider to demonstrate proper resizing of the tab box, including presence of tab scroll arrows. 6. Drag and drop the last tab to make it be the third tab. 7. Resize window narrower. This should demonstrate proper tab box resizing until the third tab is at the right edge of the tab box, after which the tab box improperly declines to get any more narrow, no matter how narrow you make the window.
Version: unspecified → Trunk
This is a recent regression; caused by bug 338302.
Blocks: 338302
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is happening because the tab drop indicator is now always present as far as layout is concerned (since it's just hidden rather than destroyed), and prevents the tabstrip from shrinking. I think the best way to fix this would be to just fix bug 390979 and use "collapsed" instead of toggling visibility.
Assignee: nobody → gavin.sharp
Depends on: 390979
Flags: blocking-firefox3?
Status: NEW → ASSIGNED
OS: Windows XP → All
Priority: -- → P2
Hardware: PC → All
Target Milestone: --- → Firefox 3 M8
Attached patch patchSplinter Review
Attachment #275911 - Flags: review?
Attachment #275911 - Flags: review? → review?(mano)
Comment on attachment 275911 [details] [diff] [review] patch r=mano
Attachment #275911 - Flags: review?(mano) → review+
Flags: blocking-firefox3? → blocking-firefox3+
mozilla/toolkit/content/widgets/tabbrowser.xml 1.235
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Blocks: 430605
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008042304 Minefield/3.0pre Reopening bug on mac osx, cause resizing the window clips the last tab. See bug 430605.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
That bug doesn't look related to this one, sorry if I misled you on IRC.
No longer blocks: 430605
Status: REOPENED → RESOLVED
Closed: 18 years ago17 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008060306 Minefield/3.0pre Tried this in RC2 and nightly on XP and this is no longer a problem. The screen resizes properly.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: