Hi Everyone

The issue here is possibly that the wording in control panel for the “default 
sidebar tab” setting is misleading. The default is only used as a fallback if 
the current tab state hasn’t been explicitly set (eg by switching tabs and 
saving the wiki). The setting was introduced as a clean way for tw5.com 
<http://tw.com/> to have the “Contents” tab shown by default.

You can see how it is currently implemented here:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/SideBarLists.tid#L44
 
<https://github.com/Jermolene/TiddlyWiki5/blob/master/core/ui/SideBarLists.tid#L44>

(Look for `default={{$:/config/DefaultSidebarTab}}` at the end of the marked 
line)

So I think your request here is for a change in behaviour to make the control 
panel setting override any current setting.

A useful way to achieve the change would be to introduce the proposed 
StartupOptions mechanism:

https://github.com/Jermolene/TiddlyWiki5/issues/1438

The core could then ship with a default startup option to set the initial 
sidebar tab.

Best wishes

Jeremy.


> On 2 Jun 2016, at 08:23, PMario <[email protected]> wrote:
> 
> On Thursday, June 2, 2016 at 8:40:25 AM UTC+2, Mark Armitage wrote:
> Ah okay. I didn't pay much attention to the core tiddler it opened, I just 
> noticed it hadn't opened my A-Z tab and then fixated on that. I was thinking 
> that it was selecting the tab before it had populated the new ones and so it 
> just dropped back to a default. It's not  a massive pain but it is annoying. 
> 
> If it's a bug then hopefully it will get picked up and fixed. Do I need to do 
> anything to raise it?
> 
> The best place is github. see: https://github.com/Jermolene/TiddlyWiki5/issues
> 
> I did a short test, and it seems to be a bug. Some more investigation is 
> needed. 
> 
> 
> -------- techy stuff for those who are interested 
> 
> The TW widget, that's responsible to render the tabs is the <$reveal ..> 
> widget <http://tiddlywiki.com/#RevealWidget>, used within the <<tabs>> macro 
> <http://tiddlywiki.com/#%24%3A%2Fcore%2Fmacros%2Ftabs>. 
> The reveal widget has a "default: Default value to use when the state tiddler 
> is missing" parameter. ... but as you can see, it is only used, if the state 
> tiddler doesn't exist. 
> 
> ...but... the tabs macro makes sure, that the state tiddler exists. ... ... 
> There is some investigation needed, ... may be we need a new "force" 
> parameter for the reveal widget. 
> 
> ------------
> 
> have fun!
> mario
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/09681330-68e2-4fee-9968-f5915f58ffa0%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/09681330-68e2-4fee-9968-f5915f58ffa0%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15FBC127-A4B6-44C4-9336-82DB10F537CA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to