Window position is not remembered between starts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Confirmed
|
Unknown
|
|||
firefox (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox-3.0
Firefox forgets the location of the main window each time I close it down and start it back up. I have investigated this, and it turns out that Firefox rewrites parts of the localstore.rdf file in my profile, and thus changes the screenX="499" setting to screenX="0" as can be seen in the below diff.
Steps to reproduct:
1) Start firefox and move the main window until it touches the right edge of the screen.
2) Shut down firefox.
3) Start Firefox again
Result: Firefox is positioned on the very left side of the screen.
Expected result: Firefox should be started in the position I left it.
Below is a diff that shows what changes are done by Firefox to my localstore.rdf file between step 2 and 3:
--- localstore.
+++ localstore.
@@ -1,21 +1,17 @@
<?xml version="1.0"?>
<RDF:RDF xmlns:NC="http://
+ <RDF:Description RDF:about=
+ <NC:persist RDF:resource=
+ <NC:persist RDF:resource=
+ <NC:persist RDF:resource=
+ </RDF:Description>
<RDF:Description RDF:about=
- screenX="499" />
+ screenX="0" />
<RDF:Description RDF:about=
- <RDF:Description RDF:about=
- sidebarcommand=""
- width=""
- src="" />
- <RDF:Description RDF:about=
- <NC:persist RDF:resource=
- <NC:persist RDF:resource=
- <NC:persist RDF:resource=
- </RDF:Description>
</RDF:RDF>
This problem has been observed in all Ubuntu releases that I can remember. Info about my Ubuntu installation and Firefox installation:
Description: Ubuntu hardy (development branch)
Release: 8.04
firefox:
Installed: 3.0~b4+
Candidate: 3.0~b4+
Version table:
*** 3.0~b4+
500 http://
100 /var/lib/
ProblemType: Bug
Architecture: i386
Date: Fri Mar 21 03:46:38 2008
DistroRelease: Ubuntu 8.04
Package: firefox 3.0~b4+
PackageArchitec
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-12-generic i686
description: | updated |
Changed in firefox: | |
status: | Unknown → New |
Changed in firefox: | |
status: | New → Invalid |
Changed in firefox: | |
status: | Unknown → In Progress |
Changed in firefox-3.0: | |
status: | Confirmed → Triaged |
Changed in firefox: | |
importance: | Unknown → Medium |
affects: | firefox-3.0 (Ubuntu) → firefox (Ubuntu) |
Changed in firefox: | |
status: | In Progress → Unknown |
Changed in firefox: | |
status: | Unknown → In Progress |
Changed in firefox: | |
status: | In Progress → Confirmed |
Changed in firefox: | |
importance: | Medium → Unknown |
Created attachment 279473
394768-1.diff