Affects Version/s: 5.0.0 GA (5.0.0 GA Suite Release)
Fix Version/s: 5.1.0 GA
Let me try to go section by section and describe what's available in 5.0.
These are both unused, although they do exist in the client side, they are no longer referenced. The show-explorer-view-on-startup is no longer used, but I could see value in bringing it back to life. (It would go to the browse perspective instead of home)
- startup urls (each displays in its own tab)
startup-name-2=Pentaho Business Intelligence
The server-provided list of startup-urls is no longer used, however, you can still start PUC with a startup-url if specified on the URL of PUC itself. There are two parameters that drive this:
startup-url This is the URL that you want opened in the Opened Perspective, the parameter must be encoded
name This is the name you want to show up on the opened tab, again, this parameter must be encoded
- plugin perspectives
plugin-perspective-name-1=Ad hoc Reporting
In 5.0 we actually have real PUC perspectives, this is fairly well documented in my blog (http://michaeldamour.blogspot.com/2011/10/puc-perspectives.html)
This entire section is not used.
To combine these two sections and make a general comment about both, you can now provide a startupPerspective (by id) on the URL, as noted in the original case description.
The flag showOnlyPerspective is used if and when you want to remove all other PUC "decorations" around the content. This approach is actually used internally for an unlicensed
server situation. We use admin as the startupPerspective and we only show it (no other decorations/PUC UI). This is done in code, rather than settings. There is no setting for
specifying a startup perspective, at this time you can only add them to the URL.
- ui customization settings (if menu/toolbar are disabled, the logo panel is disabled automatically)
All UI customizations are now done via XUL and HTML (see mantle.xul/ Mantle.jsp)
For more info on the subject check out this post (http://michaeldamour.blogspot.com/2011/11/plugin-overlays-puc-layout.html)
Bear in mind things changed a little bit - I consolidated the xul files so there is no longer one named main_menubar.xul, it's all mantle.xul.
#should the enter key to submit filechooser dialog (save, save as, open) be disabled?
#turn to false if you need to use the enter key to choose multibyte characters from a dropdown
Yikes, this one is totally missed in 5.0. The client attempts to pull the value, but the server is no longer reading any settings for this. The default value true is used in 5.0.
So it looks like there are alternative ways of doing a lot of this in 5.0. The glaring issues that should be logged as bugs are:
3. show-explorer-view-on-startup (this will be accomplished via startupPerspective)
4. startupPerspective / showOnlyPerspective
I would propose that instead of hiding in a properties file in a jar (that mantle.jar is removed in 5.0), we add these to the settings.xml of the default plugin or to pentaho.xml.