Allow to hide the conference tab in the Spark screen

Description

How about the idea discussed in the forum: http://community.igniterealtime.org/message/211830#211830

We would have a very slick Spark, if we get rid of the tab pane in the bottom of the screen. We may have in the Appearance section of the preference the option: Show conferences in a Tab

If "Show Transports in a Tab" and "Show conferences in a Tab" is not selected, the whole Tab area should disappear.

The access to the conference service has to go to Actions anyhow due to the removal of the buttons.

Environment

None

Activity

Show:
Walter Ebeling
June 22, 2011, 6:02 PM

Mass closing of all bugs resoved during 2.6.0 and 2.6.1

wroot
May 23, 2011, 7:01 PM

I think default value should be with tab enabled, as users will be used for this tab showing. I personally need this tab.

Mircea Carasel
May 17, 2011, 1:48 PM

Actually, I think that the goal to hide all tabs when only contact list has to be displayed in workspace is a bit hard to accomplish due to Java JTabbedPane limitations

1. JTabbedPane cannot be customized to hide the tab bar automatically - when there is only one tab panel to be displayed:
http://www.readmespot.com/question/o/942500/is-there-a-way-to-hide-the-tab-bar-of-jtabbedpane-if-only-one-tab-exists-

2. Another problem is that plugins can add their own tabs to our workspace tab panel

Based on above findings I am posting a new patch that manually hides the tabs (if necessary) after all plugins are initialized. This patch is based on Wolf's patch and contains also the previous SPARK-1304.patch changes.
Please review

Wolf P.
May 16, 2011, 5:06 PM

added a version without the Tab

need to figure out who needs to handle "addTab(....)" when the SparkTabbedPane gets overwritten with ContactList

since FastPath tab also may want to add itself

Mircea Carasel
May 16, 2011, 4:51 PM

I am attaching a new patch: bookmarks loadUI method should be always called, since among other things it initializes conference service

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Minor

Assignee

Wolf P.

Reporter

Walter Ebeling