为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I keep the sidebar width from changing whenever I open / re-open Firefox?

  • 4 个回答
  • 1 人有此问题
  • 14 次查看
  • 最后回复者为 DavidL111

more options

I am running Firefox (64-bit) version 78.0.2. Until recently Firefox maintained the width of the sidebar whenever I started or re-started Firefox. However, that is no longer the case, as the width resets to a much narrower width whenever I start / re-start Firefox. I should also note that I recently installed Windows 10, version 2004, which apparently is associated with a large number of problems for users, and the problem with Firefox started around the same time that I installed version 2004, so Windows may be at fault.

Have others had this problem and, if so, what is the solution? And does anyone think Win 10 version 2004 might be the real culprit?

Best,

David

I am running Firefox (64-bit) version 78.0.2. Until recently Firefox maintained the width of the sidebar whenever I started or re-started Firefox. However, that is no longer the case, as the width resets to a much narrower width whenever I start / re-start Firefox. I should also note that I recently installed Windows 10, version 2004, which apparently is associated with a large number of problems for users, and the problem with Firefox started around the same time that I installed version 2004, so Windows may be at fault. Have others had this problem and, if so, what is the solution? And does anyone think Win 10 version 2004 might be the real culprit? Best, David

所有回复 (4)

more options

Try to rename/remove xulstore.json in the Firefox profile folder with Firefox closed.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Hi cor-el,

Thanks for the suggestion, which I tried. But unfortunately renaming xulstore.json did not resolve the problem of keeping the sidebar width from changing when Firefox is closed and subsequently opened, say after rebooting.

Again, thanks,

David

more options

What do you currently open in the sidebar ?
Is this a builtin page like bookmarks or history or Sync (Tabs) or something from an extension ?

This data is stored in xulstore.json when I open the history sidebar then I see this stored in xulstore.json:

"sidebar-box":{"sidebarcommand":"viewHistorySidebar","checked":"true","width":""},"sidebar-title":{"value":"History"}

more options

Hi cor-el,

Believe it or not, I discovered the parameters you cited, above, were absent in the xulstore.json when I compared the xulstore.json on my desktop computer (the one with the problem) with the xulstore.json file in the Firefox installation on my laptop. Why those parameters were missing on my desktop computer seems to me to be a mystery, but in any event I decided to roll the dice by copying the xulstore.json from my laptop and inserting on my desktop (of course, I kept a backup of the xulstore.json just in case). And somewhat surprisingly my problem was solved and so far I don't appear to have introduced any new problems.

But do you have any idea why the sidebar-box parameters would have been absent from the original xulstore on my desktop machine? In fact, even after I renamed xulstore and restarted Firefox, the sidebar-box parameters were again not present.

Thanks for your help, as you definitely lead me in the right direction, which I otherwise would never have gotten to.

Best,

David