rochus-keller / CrossLine

CrossLine is an outliner with sophisticated cross-link capabilities in the tradition of the well-respected Ecco Pro
GNU General Public License v2.0
155 stars 6 forks source link

Question : How to remove an entry from list of dockable windows? #14

Open indrajithk opened 7 months ago

indrajithk commented 7 months ago

After choosing an outline to be seen as docked, it always appear in the list of windows to be shown (context menu from History window). The other options are "Referenced by" , "History" and "Search". These are standard windows, and should always be there. But other user selected windows need not always appear. The longer you work, this list becomes bigger (I assume). Is there an auto cleanup implemented or is there a way to remove a certain entry from the list?

rochus-keller commented 7 months ago

The list you're referring to, which e.g. appears in the context menu of each outline under "Show Window", or on the title bar context menu of each dock, just lists all the docking windows. This is necessary because you can close a docking window by pressing the "x" in its title bar; to re-open it you need this menu. But you can "undock" an outline you previously docked using the "undock outline" command in the context menu of a docked outline. If done, it should remove from the list.

indrajithk commented 7 months ago

While closing the docked window, I mistakenly thought it was already undocked. I misunderstood that it needs to be explicitly undocked first. On reflection, I believe the current implementation is better for the user.

rochus-keller commented 7 months ago

You can open or close an outline even if it is not docked. Docking is an additional feature which means the outline is always open and visible in the docks. This is useful if you e.g. want to use an outline as a table of contents or TODO list or the like. Also note that optionally one outline can be selected to automatically open on startup, which is yet another feature in addition to open/close or dock (actually it's open which is automatically run for the selected outline on startup).