For now; I just forced the title and tooltip to show the icon and
tooltip correctly for my instance.  Since I force the RightSidebar to
be hidden in the ConfigTweaks with:
config.options.chkShowRightSidebar=false;
The RightSidebar will only show after being Toggled to Show.

I used the following:
<<tiddler ToggleRightSidebar with: ► "hide right sidebar">>


At this time, this work around is good enough for me.  However, if
others or you want to see this function changed, I'm still willing to
help test it.

Thanks fir your time and effort,
Larry

On Jan 1, 2:27 pm, Eric Shulman <[email protected]> wrote:
> > I have BreadcrumbsPlugin, CoreTweaks, SinglePageModePlugin,
> > ToggleLeftSidebar, and ToggleRightSidebar installed.  I have the
> > ToggleRightSidebar tiddler added in the ToolbarCommands (actually in
> > the more section).  And I have another ToggleRightSidebar tiddler at
> > the top of the SideBarOptions with a warning to stay out unless you
> > know what your doing.
>
> > My problem is when I open the RightSidebar the ToggleRightSidebar
> > tiddler's icon and tooltip both display show rightside bar instead of
> > hide  rightside bar although in preforms the hide function properly.
> > Any suggestions would be appreciated.
> > Larry
>
> The icon (actually a single character arrow) and tooltip are set when
> the command link is rendered, and is then toggled when the link is
> clicked.  You have placed multiple ToggleRightSidebar command links in
> your document: one in each tiddler toolbar, and one in the right
> sidebar itself.  Clicking a ToggleRightSidebar command only changes
> the icon/tooltip for *that* link.  Note that showing the sidebar
> doesn't actually re-render it's content, it just shows the hidden
> sidebar DIV that was rendered at startup.  Thus, the
> ToggleRightSidebar command in the sidebar itself initially displays
> the "show sidebar" icon/tip, even though the sidebar is now visible.
> Fortunately, the actual handling of the click on the command link DOES
> check the current visibility, and thus toggles it correctly, even
> thought the icon/tip don't appear as expected.
>
> I need to think about this a bit to come up with a reasonable solution
> that doesn't double/triple the current code size just to sync the
> command link appearance.
>
> -e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to