Closed
Bug 524469
Opened 15 years ago
Closed 15 years ago
Opening enough tabs to create additional columns cuts off the initial column
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(fennec1.0+)
VERIFIED
FIXED
fennec1.0
Tracking | Status | |
---|---|---|
fennec | 1.0+ | --- |
People
(Reporter: aakashd, Assigned: vingtetun)
References
Details
Attachments
(1 file, 1 obsolete file)
1.70 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Build Id: Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/20091026 Fennec/1.0b5pre and Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20091026 Fennec/1.0b5pre Steps to Reproduce: 1. Go to http://popuptest.com/popuptest1.html 2. Click on "Show" Actual Results: The tab sidebar will grow to additional columns (in most cases, try a couple times to get an instance where it creates enough pop-ups) that the newly created columns show up on the screen Expected Results: The tab sidebar should not show up Screen Shot: http://www.flickr.com/photos/42893104@N04/4047070826/
Flags: in-litmus?
Reporter | ||
Updated•15 years ago
|
tracking-fennec: --- → ?
Flags: wanted-fennec1.0?
Comment 1•15 years ago
|
||
your screen shot isn't publicly visible
Reporter | ||
Comment 2•15 years ago
|
||
Sorry about that, apparently the n900 automatically sets uploaded pictures via flickr as private. try again.
Comment 3•15 years ago
|
||
We probably just need to call onAfterVisibleMove when new tabs get added dynamically
Updated•15 years ago
|
tracking-fennec: ? → 1.0+
Assignee | ||
Comment 4•15 years ago
|
||
This is a workaround which call Browser.hideSidebars (which itself call onAfterVisibleMove) when a new tab is added and the tabs sidebar is not fully visible (>0 && <1) The workaround works on popuptest and also when we add new tab through Ctrl+T
Assignee | ||
Comment 5•15 years ago
|
||
Comment on attachment 413944 [details] [diff] [review] Patch I know that this is probably not the best way to do it, but I've not found any other clean way for that.
Attachment #413944 -
Flags: review?(mark.finkle)
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → 21
Updated•15 years ago
|
Attachment #413944 -
Flags: review?(mark.finkle) → review+
Comment 6•15 years ago
|
||
As I think about this more, I wish we didn't have this code in .addTab We could put some code in the tabs.xml resize method or even the "TabOpen" event handler.
Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6) > As I think about this more, I wish we didn't have this code in .addTab > > We could put some code in the tabs.xml resize method or even the "TabOpen" > event handler. Practically I'm agree with you, this code will more easily fit in tabs.xml. I can move it here but I've not previously done it for 2 reasons: * It is a workaround, it did not correct the real problem, it just hide the bug * I want to avoid use references to the Browser object in tabs.xml I guess since it's only a workaround we can move it into tabs.xml because is lifetime _should_ be short (I hope)
Assignee | ||
Comment 9•15 years ago
|
||
Move the workaround to TabOpen. The patch also resolves bug 528526 - yeah, our notifications code was broken :/
Attachment #413944 -
Attachment is obsolete: true
Attachment #415487 -
Flags: review?(mark.finkle)
Comment 10•15 years ago
|
||
Comment on attachment 415487 [details] [diff] [review] Patch v0.2 Thanks for moving to "TabOpen". It puts the work around away from code that shouldn't need to worry about it, which is a good thing.
Attachment #415487 -
Flags: review?(mark.finkle) → review+
Comment 11•15 years ago
|
||
pushed: https://hg.mozilla.org/mobile-browser/rev/a1d558f49eab (removed some C.reportError() that I left in by mistake too)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Post-B5
Reporter | ||
Comment 12•15 years ago
|
||
verified FIXED on builds: Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2b5pre) Gecko/20091202 Firefox/3.6b5pre Fennec/1.0b6pre and Mozilla/5.0 (X11; U; Linux armv6l; Nokia N8xx; en-US; rv:1.9.3a1pre) Gecko/20091202 Firefox/3.7a1pre Fennec/1.0b5
Status: RESOLVED → VERIFIED
Comment 13•15 years ago
|
||
Added litmus testcase: https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=9832
Flags: in-litmus? → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•