Test Procedure:
Plugin chapter_hoist must be enabled.
Open hoist-at-chapter-test.leo (attached)
Select the name with headline "@chapter C1".
Left-click the save-hoist button.
Now the bug has occurred. Note that the body displayed is "C1-Body". This is the body of the node with headline "@chapter C1" which is not displayed in the outline pane and is not currently selected.
* See below
Type something into the displayed body, making it for example "C1-Body-new".
Now left-click the dehoist button. Note that you really did change the body of the "@chapter C1" while this node was not shown in the outline pane.
* Left-clicking the currently selected node (which has headline "L1-H1") has no effect, but left-clicking the node with headline "L2-H1" does bring the body pane back into synch with the node selected in the outline pane.
Test System:
Ubuntu 11.10 with Fluxbox window manager
Leo Log Window
Leo 4.9.1 devel, build 5106, 2012-03-09 19:20:49
Python 2.7.2, qt version 4.7.3
linux2
setting leoID from os.getenv('USER'): 'bob'
load dir: /home/bob/bzr/LeoLatest/leo/core
global config dir: /home/bob/bzr/LeoLatest/leo/config
home dir: /home/bob
reading settings in /home/bob/bzr/LeoLatest/leo/config/leoSettings.leo
reading settings in /home/bob/.leo/myLeoSettings.leo
The problem was not fixed.
Test Procedure: chapter- test.leo (attached)
Plugin chapter_hoist must be enabled.
Open hoist-at-
Select the name with headline "@chapter C1".
Left-click the save-hoist button.
Now the bug has occurred. Note that the body displayed is "C1-Body". This is the body of the node with headline "@chapter C1" which is not displayed in the outline pane and is not currently selected.
* See below
Type something into the displayed body, making it for example "C1-Body-new".
Now left-click the dehoist button. Note that you really did change the body of the "@chapter C1" while this node was not shown in the outline pane.
* Left-clicking the currently selected node (which has headline "L1-H1") has no effect, but left-clicking the node with headline "L2-H1" does bring the body pane back into synch with the node selected in the outline pane.
Test System: bzr/LeoLatest/ leo/core bzr/LeoLatest/ leo/config bzr/LeoLatest/ leo/config/ leoSettings. leo .leo/myLeoSetti ngs.leo
Ubuntu 11.10 with Fluxbox window manager
Leo Log Window
Leo 4.9.1 devel, build 5106, 2012-03-09 19:20:49
Python 2.7.2, qt version 4.7.3
linux2
setting leoID from os.getenv('USER'): 'bob'
load dir: /home/bob/
global config dir: /home/bob/
home dir: /home/bob
reading settings in /home/bob/
reading settings in /home/bob/