Plugin:TabSRMM/Container verbergen

From Miranda NG
< Plugin:TabSRMM
Revision as of 18:11, 18 October 2022 by Wishmaster (talk | contribs) (Created page with "== Was macht es? ==")

Plugin:TabSRMM/Hiding containers/de
Jump to navigation Jump to search
Other languages:

Was macht es?

Normally, when this option is disabled, closing a message window behaves in the standard way. The window is destroyed after all message tabs are removed from it. Memory and other resources occupied by this message window are freed and the window is removed from the session manager. When you later open a message window for the same contact, a fresh window will be generated.

However, when this option is set, using the close button of a top level message window (container) will not really close it. Instead, the window will be hidden from the desktop (it will also not appear in the task bar – it will just disappear but remain opened) and therefore it will stay like it is. All tabs with its message histories will remain in the window. When you later open a message window for the same contact, the window will just be unhidden and put on the desktop in its previous state.

The advantage is that this will be much faster than recreating the window from scratch. Also, if you are using a tabbed interface, all the tabs in the window will still be there when the message window is unhidden there will be no need to reload the message histories.

You should think of this option as just another method of minimizing the message window(s) – the effect will be the same than minimizing with the difference that hidden message windows will no longer clutter your task bar.

Setting the option

The option can be found on Message sessions → Tabs and layout → Miscellaneous options → Close button only hides message container

You should be aware that this option is global and applies to all message containers. Currently, there is no way to set this option for only a single container.

How to close a message window when this option is enabled?

The only way to really destroy a message window when this option is active is to remove all the tabs in it. When the last session is closed, the top level window is destroyed. For example, when using the close button on the toolbar, the tab is removed from the message window and if it was the last remaining tab, the window will also be really closed.

Things to know

  • When you have many tabs with long message histories opened in one or more message windows, that option can make Miranda to use quite some resources (mainly memory though) because all the message sessions will have to remain in memory. This especially applies to users using IEView to display the message history. Depending on the template, IEView can use quite a lot of memory.
  • The only way to restore a hidden message window is to actually re-open it. For example, you can do this by double clicking the contact on the contact list. Any incoming message for a contact with an active but hidden message window will also un-hide the message window, depending on the current configuration for message window creation (restoring may happen automatically or only when you click a popup or flashing system tray icon).