Remove deleted / moved pages from recent pages pathbar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Renaming a page yields non-intuitive results since Zim does not clean up //History bar// or //Home Page// entries in configuration files.
1. Assumption: When I open a page and rename or delete it, references to that page in the History bar should also be renamed or deleted. Otherwise, the history bar refers to a non-existent page. Clicking on that button in the History bar displays a page that I though I had gotten rid of.
Specifically, the 'Home' item should be deleted from:
.zim/state.conf:
[History]
history=[Home, ...]
2. Assumption: When I rename the Home page for a notebook, the home page associated with the notebook should also change. (Or a warning message should be issued when the page is renamed informing me that I need to change menu item file/properties
Specifically, the value for 'home' in notebook.zim should be changed to the new name:
notebook.zim:
[Notebook]
home=Home
=======
Linux version 2.6.31-17-generic (buildd@palmer) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009
gtkversion.h:
#define GTK_MAJOR_VERSION (2)
#define GTK_MINOR_VERSION (18)
#define GTK_MICRO_VERSION (3)
#define GTK_BINARY_AGE (1803)
#define GTK_INTERFACE_AGE (3)
pygtk._
INFO: This is zim 0.42
DEBUG: Python version is (2, 6, 4, 'final', 0)
DEBUG: Zim revision is:
branch: pyzim-trunk
revision: 181 <email address hidden>
date: 2010-01-10 23:00:57 +0100
DEBUG: Running from a source dir: /opt/download/
DEBUG: Set XDG_DATA_HOME to /home/USERNAME/
DEBUG: Set XDG_DATA_DIRS to [<Dir: /opt/download/
DEBUG: Set XDG_CONFIG_HOME to /home/USERNAME/
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/USERNAME/
DEBUG: Running command: gui
DEBUG: Cache dir: /home/USERNAME/
DEBUG: Index database file: /home/USERNAME/
TODO: hook slow_fs property
INFO: Opening default notebook
DEBUG: Sending to daemon: ["ping",[],{}]
DEBUG: Daemon replied: "Ack"
DEBUG: Sending to daemon: ["vivicate"
DEBUG: Daemon replied: true
DEBUG: Sending to daemon: ["relay"
DEBUG: Daemon replied: true
summary: |
- Counter-intuitive results when renaming Home + [pyzim] Counter-intuitive results when renaming Home |
Changed in zim: | |
status: | Fix Released → In Progress |
I changed the title to reflect that the pathbar needs to reflect the move.
I will not fix 2. The home page need to be configured explicitly.