Erratic behaviour docking the Search Results pane
Posted: Tue Mar 24, 2009 4:06 am
I'm running TextPad 5.2.0 on Vista and I'm experiencing erratic behaviour in trying to get the Search Results window to 'stay' docked between sessions. I have selected it to be docked using Configure | Preferences | View | Dockable log windows: | Search Results but I'm getting all manner of crazy things happening, including - but not limited to - multiple instances of the search results window, some docked some not.
I currently have the Clip Library docked to the left, the Document Selector to the right, and the Tool Output window docked full-width along the bottom, and I'm trying to get the Search Results window to dock along the bottom with the Tool Output window. In the current view, as I'm looking at it now, it is properly docked and the last config that TextPad read on startup seems to correspond to what I would expect, showing:
However, to repeat the behaviour that has happened on a number of occassions, when I go now to Configure | Preferences | View | Dockable log windows: | Search Results, it shows NOT selected. When I select it, I get a second Search Results docked at the bottom, and when I deselect docking I end up with one docked and one on a document tab.
Setting this back to docked, with the two Search Results at the bottom, if I close TextPad so that the config.xml updates, it indeed shows that there are two of them:
If I close one of the docked Search Result windows, check that 'docking' is still checked under Configure ... and then close TextPad, the new config still shows two, but the second does not appear on reopening, thus the config and the runtime setup are a little out of step.
Similar behaviour occurs when switching between workspaces, as sometimes the Search Results window just un-docks; on occasion I have had three and more docked Search Results; and on many occasion the state of the setting in the Configuration dialog is out of sync with the actual state of TextPad (until I shut down and reopen).
I have not been able to work out a precise sequence of events that will always generate a predictable inconsistent state, but the inconsistency itself is predictable. For instance, I can have the window docked with the Tool Output, close and open TextPad a few times doing nothing in between, and it WILL become un-docked on the first, or maybe the second attempt.
(Equally, the Tool Output window itself can have problems, as just now when I closed and reopened, and both windows are docked as I would hope, only the Tool Output window is a deep gray, and the text only appears on a white background when I use my mouse to select parts of it, or run a tool. When I close again and re-open - Search Results not docked. Chaos in real time!)
I currently have the Clip Library docked to the left, the Document Selector to the right, and the Tool Output window docked full-width along the bottom, and I'm trying to get the Search Results window to dock along the bottom with the Tool Output window. In the current view, as I'm looking at it now, it is properly docked and the last config that TextPad read on startup seems to correspond to what I would expect, showing:
Code: Select all
<DockingPane>
<Summary Panes="11" TopContainer="6" Client="9"/>
<Pane-1 Type="0" DockingCX="200" DockingCY="120" Title="Explorer\nExplorer" ID="59398" DockingHolder="8" LastHolder="8"/>
<Pane-2 Type="0" DockingCX="200" DockingCY="120" Title="Document Selector\nDocument Selector" ID="59397" DockingHolder="10" LastHolder="10"/>
<Pane-3 Type="0" DockingCX="200" DockingCY="120" Title="Clip Library\nClip Library" ID="59396" DockingHolder="8" LastHolder="8"/>
<Pane-4 Type="0" DockingCX="500" DockingCY="120" Title="Tool Output\nTool Output" ID="32950" DockingHolder="11" LastHolder="11"/>
<Pane-5 Type="0" DockingCX="500" DockingCY="120" Title="Search Results\nSearch Results" ID="32949" DockingHolder="11" LastHolder="11"/>
...
</DockingPane>
Setting this back to docked, with the two Search Results at the bottom, if I close TextPad so that the config.xml updates, it indeed shows that there are two of them:
Code: Select all
<DockingPane>
<Summary Panes="12" TopContainer="7" Client="10"/>
<Pane-1 Type="0" DockingCX="200" DockingCY="120" Title="Explorer\nExplorer" ID="59398" DockingHolder="9" LastHolder="9"/>
<Pane-2 Type="0" DockingCX="200" DockingCY="120" Title="Document Selector\nDocument Selector" ID="59397" DockingHolder="11" LastHolder="11"/>
<Pane-3 Type="0" DockingCX="200" DockingCY="120" Title="Clip Library\nClip Library" ID="59396" DockingHolder="9" LastHolder="9"/>
<Pane-4 Type="0" DockingCX="500" DockingCY="120" Title="Tool Output\nTool Output" ID="32950" DockingHolder="12" LastHolder="12"/>
<Pane-5 Type="0" DockingCX="500" DockingCY="120" Title="Search Results\nSearch Results" ID="32949" DockingHolder="12" LastHolder="12"/>
<Pane-6 Type="0" DockingCX="500" DockingCY="120" Title="Search Results\nSearch Results" ID="32949" DockingHolder="12" LastHolder="12"/>
...
</DockingPane>
Similar behaviour occurs when switching between workspaces, as sometimes the Search Results window just un-docks; on occasion I have had three and more docked Search Results; and on many occasion the state of the setting in the Configuration dialog is out of sync with the actual state of TextPad (until I shut down and reopen).
I have not been able to work out a precise sequence of events that will always generate a predictable inconsistent state, but the inconsistency itself is predictable. For instance, I can have the window docked with the Tool Output, close and open TextPad a few times doing nothing in between, and it WILL become un-docked on the first, or maybe the second attempt.
(Equally, the Tool Output window itself can have problems, as just now when I closed and reopened, and both windows are docked as I would hope, only the Tool Output window is a deep gray, and the text only appears on a white background when I use my mouse to select parts of it, or run a tool. When I close again and re-open - Search Results not docked. Chaos in real time!)