Don't store window size in bazaar.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar GTK+ Frontends |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I'm tracking my configuration (all my ~ directory) in a Bazaar branch, and I'm always finding that the Bazaar configuration changes too much due to changes like:
--- a/.bazaar/
+++ b/.bazaar/
-viz-graph-size = 1438x312
-viz-revisionvi
-viz-window-size = 1438x866
+viz-graph-size = 1312x312
+viz-revisionvi
+viz-window-size = 1312x864
This changes again after I open „bzr vis“.
I think that bzr-gtk should not store this in bazaar.conf since
1) this file is mainly written by the user.
2) It makes the configuration change too much.
3) The user didn't ask to store this information.
I would prefer other options:
- Read those options if they exist, update them when they existed, but don't add them when they didn't exist. That way they will be stored just when the user has interest in them.
- Use another file
- Don't store window size at all
- Store it not in pixels but through other options like size=large, size=100%, ... so that it doesn't change each time
The only option that's really feasible is saving in a different file.
The pixels are stored to allow restoring the window at the same location, so the user can close the window and it will appear again at the same location. This is intentionally saved always, so there is no user configuration required.
There are other things in Bazaar as well that automatically update the configuration file. e.g. the push locations are automatically updated.