Closed
Bug 116094
Opened 23 years ago
Closed 23 years ago
Sidebar contents disappears on hide and show
Categories
(SeaMonkey :: Sidebar, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.9
People
(Reporter: bugs, Assigned: samir_bugzilla)
References
Details
(Whiteboard: [ready to checkin])
Attachments
(2 files)
(deleted),
patch
|
morse
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
image/gif
|
Details |
2001121803 / Windows 95
Make sure the sidebar is showing, but collapsed. Press F9 twice, to fully hide,
then re-show the sidebar. The sidebar re-appears open, but with most of the
content hidden as if it was collapsed.
Assignee | ||
Updated•23 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla0.9.8
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
morse, please r.
alecf, please sr.
This bug also happens to fix bug 70126. I'll close it out at when I check this in.
Comment 3•23 years ago
|
||
+ if (sidebar_splitter.getAttribute('state') == 'collapsed')
+ sidebar_splitter.removeAttribute('state');
Is this just defensive coding or is there a case in which the attribute actually
does get set to "collapsed"? If so, where is that coming from and can't we fix
the code that is doing the setting?
Assignee | ||
Comment 4•23 years ago
|
||
This isn't defensive coding: the way we retain collapsed state is by setting the
"state" attribute on the splitter. We toggle this with the common technique of
removing the attribute instead of setting it to something like "shown".
When toglling the sidebar between collapsed and expanded we already toggle this
attrubute by setting and removing it. This case is when we *unhide* a collapsed
sidebar in which case we don't want only show the splitter, we want to expand
the sidebar as well: i.e., overall effect of unhide == unhide + expand. Hence
the additional "state" attribute removal.
Comment 5•23 years ago
|
||
Comment on attachment 62300 [details] [diff] [review]
Remove state="collapsed" attr from sidebar-splitter.
ok, I'm satisfied. r=morse
Attachment #62300 -
Flags: review+
Comment 6•23 years ago
|
||
Comment on attachment 62300 [details] [diff] [review]
Remove state="collapsed" attr from sidebar-splitter.
sr=alecf
Attachment #62300 -
Flags: superreview+
Comment 7•23 years ago
|
||
any chance this can get checked in?
Comment 8•23 years ago
|
||
I see the sidebar contents come back after hitting F9 twice.. see attachment
64655 [details] and bug 116094
Comment 9•23 years ago
|
||
Here is another weird sidebar thing in Mail/News, the whole sidebar issue I
have is it is doing weird things, which I may just file a new bug about it once
I write all them down. It contents are displayed differently depending on
where the grippy line is for cases of opening mail/news, hitting F9 twice while
in mail/news, or having sidebar showing vs hidden.
Assignee | ||
Comment 10•23 years ago
|
||
*** Bug 119613 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
*** Bug 120758 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Comment 12•23 years ago
|
||
see possible testcase of the weird Mail/News sidebar problems here: bug 121340
Comment 13•23 years ago
|
||
*** Bug 121340 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 14•23 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 15•23 years ago
|
||
see bug 122027 for new problem in build 1-26-08
Comment 16•23 years ago
|
||
*** Bug 122390 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
Kirun, this should be working now..please re-test and let me know...I'll also
test on my end...
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•