Hey Mark & Tony,

Thanks for the replies.

Tony, I tried the empty tiddler approach and, at first blush, nothing 
really popped out at me. I think researching the whole sidebar approach is 
an interesting idea and will certainly be a learning experience. 

Mark, I had previously tried the StartupAction tiddler and it had no 
effect. I did try all three of your suggestions and that changed the 
behavior such that it now opens with the tab that was last saved. It 
definitely seems as if the startup action is not occurring. That state 
tiddler in the startup actions tiddler always has the currently selected 
tab in it.

I think for now, I'm going to follow Tony's advice and let it sit for a 
while and come back to it later.

Thanks,

Damon

On Wednesday, April 1, 2020 at 8:17:00 PM UTC-7, Mark Kerrigan wrote:
>
> Hello Damon
>
> Don't despair, I struggled with this for quite some time. There's 
> ultimately 3 things I did to make my default sidebar tab "TabMain"
>
> Change 
>
> $:/config/DefaultSidebarTab
>
> contains TabMain
>
> Change 
>
> $:/core/ui/SideBarSegments/tabs
>
> to the following. I made a few more modifications from what the default 
> shadow contents are, but you'll notice TabMain is in first item in the 
> tabsList.
>
> <div class="tc-sidebar-lists">
>
> <$macrocall $name="tabs" tabsList="TabMain $:/core/ui/SideBar/Open 
> $:/core/ui/SideBar/More" default={{$:/config/DefaultSidebarTab}} 
> state="$:/state/tab/sidebar" />
>
> </div>
>
> Also create a tiddler called Startup, tag it with $:/tags/StartupAction 
> and add the following
>
> <$action-setfield $tiddler="$:/state/tab/sidebar--595412856" 
> $value="TabMain"/>
>
> If you do all three of these things then you should be able to create your 
> arbitrary tiddler to use as the default sidebar tab.
>
> I created a blank empty TW5 with all of these modifications made if you 
> would like to see it in action.
>
> Thanks
> Mark Kerrigan
>
>
>
> On Wednesday, April 1, 2020 at 7:08:54 PM UTC-7, TonyM wrote:
>>
>> Damon,
>>
>> This is not very common in TiddlyWiki but Can happen. If you get an empty 
>> file and import your existing wiki it should block core tiddlers and the 
>> others are your tiddlers, you could then use the preview on suspicious 
>> tiddlers.
>>
>> Alternatively in your wiki advanced search look for all shadow tiddlers 
>> that have being modified and look inside them to see if the edits could be 
>> the causer.
>>
>> Another method is to research the whole side bar mechanism on an 
>> empty.html and check your own wiki for any variance. 
>>
>> There are many ways to do this that you learn over time. Alternatively 
>> you could make the wiki (or a reduced content version with the same 
>> problem) available to all or a trusted community member and let them have a 
>> look for you.
>>
>> There is also the procrastinators approach, let go of that issue for now 
>> and continue with other items. Procrastinators sometimes suddenly discover 
>> what the did wrong when the stop thinking about it. Thus justifying their 
>> procrastination.
>>
>> best of luck
>>  Tony
>>
>> On Thursday, April 2, 2020 at 8:05:58 AM UTC+11, Damon Pritchett wrote:
>>>
>>> After playing around this afternoon disabling and/or uninstalling 
>>> plugins and checking stylesheets, I cannot for the life of me understand 
>>> why my default sidebar tab is stuck at Contents. I downloaded a new, empty 
>>> TW and started to modify it to see what made the default stick, but I 
>>> didn't get very far with other things going on. The brand new TW behaves as 
>>> expected, so something I did along the line broke the default sidebar tab. 
>>> At this point, I'm probably going to go with my work-around by adding what 
>>> I want in the default tab to the Contents tiddler and adding a caption to 
>>> name it what I want. It's making my brain hurt.
>>>
>>> Damon
>>>
>>>
>>>
>>> On Tuesday, March 31, 2020 at 11:20:52 AM UTC-7, Damon Pritchett wrote:
>>>>
>>>> Did that and edited all of them to add the tab I wanted as default just 
>>>> like we did last fall. That did not change the behavior at all. Still come 
>>>> up to Contents if it exists or no tab selected if it doesn't.
>>>>
>>>> Damon
>>>>
>>>>
>>>> On Tuesday, March 31, 2020 at 11:08:08 AM UTC-7, Birthe C wrote:
>>>>>
>>>>> Hi Damon,
>>>>>
>>>>> Go to advanced search and search for $:/state/tab/sidebar
>>>>> You might have more than one. Then look at the content. I think you 
>>>>> should be able to figure it out. I do remember I got rather confused with 
>>>>> some of my own TWs when we discussed it last fall.
>>>>>
>>>>> Birthe
>>>>>
>>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f6e6cbf9-9d63-4fef-a9da-4fbf1c79862d%40googlegroups.com.

Reply via email to