Closed
Bug 116520
Opened 23 years ago
Closed 6 years ago
Buggy localstore.rdf causes the sidebar to display empty
Categories
(SeaMonkey :: Sidebar, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ilya.konstantinov+future, Unassigned)
References
Details
(Keywords: helpwanted)
Attachments
(3 files)
I don't know what exactly causes this obscure bug -- I simply found the file
responsible for this in my profile and then minimized it to the smallest
testcase which still reproduces the problem. Place this file in your profile's
directory (overwrite existing localstore.rdf -- you might want to back it up first).
Result: The sidebar will display blank (no sidebar tabs, no UI - just plain
empty frame) when the first window open / when openning additional windows.
Closing and opening the sidebar (F9, F9) "fixes" the problem.
Tested on Mozilla 0.9.7.
| Reporter | ||
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
-> Sidebar
Assignee: asa → sgehani
Component: Browser-General → Sidebar
QA Contact: doronr → sujay
Comment 3•23 years ago
|
||
Sounds like a case for RDF parsing. (Is it due to some invalid RDF?) I know
zilch RDF, so CCing the gurus, who I trust will give this bug into the right
hands. :-)
Assignee: sgehani → waterson
Status: UNCONFIRMED → NEW
Component: Sidebar → RDF
Ever confirmed: true
QA Contact: sujay → tever
Comment 4•23 years ago
|
||
I took a quick look at the attachment, and the RDF looks valid syntax-wise.
More likely the localstore datasource (or something that depends on it) is
behaving badly when certain attributes are missing.
I don't know the localstore RDF semantics offhand; I'd bet there are a lot of
things that will behave oddly if you set out to test the limits of its corner-
case handling.
When I get back from vacation (Thurs), I try this with an actual tree.
Ilya, did your localstore.rdf end up in this (corrupted) state through "normal"
usage?
Comment 5•23 years ago
|
||
sgehani: The problem here appears to be that the sidebar code is deciding
whether or not to load itself based on a `collapsed' attribute that gets set on
something other than the sidebar's splitter. I'm gonna kick this one back at you
for further investigation.
Assignee: waterson → sgehani
Component: RDF → Sidebar
QA Contact: tever → sujay
Comment 6•23 years ago
|
||
Specifically, collapsing the sidebar sets:
<RDF:Description about="chrome://navigator/content/navigator.xul#sidebar-box"
collapsed="true"
width="" />
but the sidebar seems to decide whether or not it wants to load based on:
<RDF:Description
about="chrome://navigator/content/navigator.xul#sidebar-panels-splitter-box"
collapsed="true" />
Comment 7•23 years ago
|
||
Ilya,
I'm not sure I understand how you got into this state. The ``sidebar-box''
element's collapsed attribute has always been persisted in localstore.rdf.
Could you report the steps to reproduce this bug and attach a complete
localstore.rdf -- one that includes the entries for both the ``sidebar-box'' as
well as the ``sidebar-panels-splitter-box'' elements. Thanks.
Bug 116094 may be related.
| Reporter | ||
Comment 8•23 years ago
|
||
I have no steps for reproducing the bug, since it surfaces when I let Moz 0.9.6 use the same profile directory as I've used with 0.9.5 and some nightlies in between. Possibly those nightlies have corrupted the localstore.rdf somehow.Anyhow, I didn't edit the localstore.rdf file myself (until when the bug surfaced, and then I minimized it to a testcase).I'm attaching some backup localstore.rdf I have with both #sidebar-box and #sidebar-panels-splitter-box which still reproduces the problem.
| Reporter | ||
Comment 9•23 years ago
|
||
Updated•23 years ago
|
Blocks: profile-corrupt
Updated•23 years ago
|
Keywords: helpwanted
Target Milestone: --- → mozilla1.0.1
Comment 10•23 years ago
|
||
I have the same problem. Currently I am using Mozilla 1.1. I do not remember
exactly when the problem first occurred. Probably it has existed for a long
time.
I have installed several Mozilla versions and occasionally deleted Mozilla
folder manually before installing.
My localstore.rdf as an attachment.
Comment 11•23 years ago
|
||
*** Bug 158104 has been marked as a duplicate of this bug. ***
Comment 13•21 years ago
|
||
My sidebar is empty, but contrary to what is said in the bug report, closing and
reopening it doesn't fix the problem (though it did fix it when I noticed the
problem in the past).
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8a3) Gecko/20040805
Updated•21 years ago
|
Product: Browser → Seamonkey
| Reporter | ||
Comment 14•19 years ago
|
||
Is there any interest in solving this bug? Or should it be WONTFIX'd for lack of interest in Seamonkey?
Comment 15•19 years ago
|
||
(In reply to comment #14)
> Is there any interest in solving this bug? Or should it be WONTFIX'd for lack
> of interest in Seamonkey?
>
For FF it should be fixed ASAP - it just happened 5 minutes ago and restoring my localstore-backup (I got a little batch-script for that ;)) is good, but no final solution, IMHO at least..
Note: this happens of FF 1.5.0.1 while running Windows 2000 Professional with SP4 and Update Rollup #1..
Comment 16•17 years ago
|
||
No comment in more than two years. Resetting A+QA on the assumption that their non-default settings aren't current anymore. Please undo if I goofed.
I don't really want to test this with current Sm 2.0a1pre. Who does? (And what's the result?)
Assignee: samir_bugzilla → nobody
QA Contact: sujay → sidebar
Updated•17 years ago
|
Target Milestone: Future → ---
Comment 17•6 years ago
|
||
Bug 559505 more or less killed localstore.rdf. I am not aware that we still use it anywhere in SeaMonkey 2.53 and up. The testcase no longer applies. With the buggy rdf file in the profile the sidebar still opens fine. So lets close this.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•