EditSectionPlugin Bug? - Save changes duplicates edit section button

98 views
Skip to first unread message

Albert Riedinger

unread,
Apr 4, 2012, 11:08:34 PM4/4/12
to tiddl...@googlegroups.com
Hi all,

I use the latest release of TiddlyWiki (2.6.5) and I just installed the EditSectionPlugin.
After editing a tiddler and saving the wiki with the saving changes button in the sidebar, the edit section button in all my opened tiddlers duplicates, i.e. another edit button appears right next to the other. It occurs whenever I use one of the two available saving functions: the saving changes button in the sidebar and the saving button in a tiddlers editing view.
I also reproduced this bug in an empty TW.

Does anybody have the same problem?

Kind regards,
Albert

Browser: latest Firefox on Ubuntu 11.10

Albert Riedinger

unread,
Apr 6, 2012, 12:01:39 PM4/6/12
to tiddl...@googlegroups.com
Hi all, hi Eric,

sorry for my impatient double post, but I'm a bit frustrated. I just started to switch from my heavily used Tomboy to TiddlyWiki in order to use my huge note collection with mobile devices like my android tablet. As most of my notes are really long with lots of subheadings and TiddlyWiki doesn't have an easy to use and sophistcated WYSIWYG solution like Tomboy, it is difficult to make little changes to these notes. The only solution I came around is the EditSectionPlugin from Eric, as I don't want to slice these huge notes into several tiddlers in order to transclude them in a "meta-note". But with the annoying bug I described below this plugin is a bit useless or at least difficult to use. Does nobody have the same problem? Or is there an alternative to EditSection?

Kind regards,
Albert

HansBKK

unread,
Apr 6, 2012, 12:20:39 PM4/6/12
to tiddl...@googlegroups.com
On Friday, April 6, 2012 11:01:39 PM UTC+7, Albert Riedinger wrote:
Hi all, hi Eric,

sorry for my impatient double post, but I'm a bit frustrated. I just started to switch from my heavily used Tomboy to TiddlyWiki in order to use my huge note collection with mobile devices like my android tablet. As most of my notes are really long with lots of subheadings and TiddlyWiki doesn't have an easy to use and sophistcated WYSIWYG solution like Tomboy, it is difficult to make little changes to these notes. The only solution I came around is the EditSectionPlugin from Eric, as I don't want to slice these huge notes into several tiddlers in order to transclude them in a "meta-note". But with the annoying bug I described below this plugin is a bit useless or at least difficult to use. Does nobody have the same problem? Or is there an alternative to EditSection?


Sorry I don't have more specific help, but thought I'd put it out there; from my experience with TW, I've found it better to have smaller tiddlers, and rather than transcluding them, I just build "views" based on tags to group them together, with section numbering in the tiddler title if sorting is important.
 

Albert Riedinger

unread,
Apr 6, 2012, 3:22:09 PM4/6/12
to tiddl...@googlegroups.com
Thank you for sharing your experience Hans!

I know that managing lots of small chunks of information is a core element of TWs philosophy, but I used to write long notes with Tomboy especially in college lectures. In the meantime I have about 850 bigger notes and 80 to 100 really huge notes. So it would be very time consuming to divide them into smaller tiddlers. Furthermore in some cases it simply makes no sense to do it as many notes are structured in the old fashioned way of academic essays.
Don't get me wrong. I like the approach to write smaller notes and manage them with tags. But I have to find an easier way to migrate from Tomboy. And I think that the EditSection Plugin would be the ideal solution.

Nevertheless I like TW very much, especially the possibility of customizing virtually any aspect of its behavior and appearance and also its cross-plattform capabilities! And I'm also looking forward to the new TW5. So many thanks to Jeremy and all the other devs for such a well thought out application!

Seba

unread,
Apr 6, 2012, 9:19:19 PM4/6/12
to TiddlyWiki
Hi Albert,

I also work with editSection and I will try to reproduce your problem,
so could you please let me know what is the code you are using and
where in the tiddler have you put it?

regards,
seba

On 6 apr., 21:22, Albert Riedinger <albert.riedin...@googlemail.com>
wrote:

Albert Riedinger

unread,
Apr 7, 2012, 8:05:43 AM4/7/12
to tiddl...@googlegroups.com
Hi seba,

thank you for helping!
I have installed the latest TW (2.6.5) and EditSectionPlugin (1.8.1).
You could reproduce the bug with the attached TW. It's an empty TW with just the EditSectionsPlugin and some tiddlers for testing.
I didn't put the EditSection macro manually. It seems that ES generates the edit buttons automatically, after saving one of the tiddlers manually or using the save changes button in the sidebar.

Hope that helps!

Kind regards,
Albert
EditSectionPlugin-Test.html.zip

Seba

unread,
Apr 7, 2012, 4:20:05 PM4/7/12
to TiddlyWiki
Hi Albert,

I am afraid I can't replicate the bug. It works for me. However, you
didn't put any buttons in your test file. I have tried all three
options below:

1) <<editSection TiddlerName##sectionname label tooltip>> /to edit a
specific section in a specific tiddler from let's say the MainMenu
2) <<editSections label tooltip>> /to have edit section buttons in
every section title; location: end of tiddler
3) <<editSection ##Sample>> /to edit a specific section in a tiddler;
location: anywhere in the tiddler

The only thing you have to pain attention are the multi-word titles of
tiddlers and sections. You should put them in double quotes like so:
"Tiddler Name##section name"

An example of your code for buttons would be helpful.

regards,
seba

On 7 apr., 14:05, Albert Riedinger <albert.riedin...@googlemail.com>
wrote:
>  EditSectionPlugin-Test.html.zip
> 151 1KPrikažiPrenesi

Albert Riedinger

unread,
Apr 7, 2012, 8:01:23 PM4/7/12
to tiddl...@googlegroups.com
Hi seba,

thank you for testing!

As I've described in my last message, I've never put macro code in any of my tiddlers. The first time I've tried ES Plugin I was wondering that the button appears without the code. But only after saving a tiddler in edit mode or using the save changes button. First I thought that it's a new feature that is not yet described in the plugin info :) But after further savings more buttons appears. I've also tried to put code like <<editSections label tooltip>> and all the others. I've then tried to put it into ViewTemplate:

<div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'></div>
<div class='title' macro='view title'></div>
<div class='subtitle'><span macro='view modifier link'></span>, <span macro='view modified date'></span> (<span macro='message views.wikified.createdPrompt'></span> <span macro='view created date'></span>)</div>
<div class='tagging' macro='tagging'></div>
<div class='tagged' macro='tags'></div>
<div class='viewer'><span macro='view text wikified'></span>, <span macro='editSections bearbeiten "diesen Abschnitt bearbeiten"'></span></div>
<div class='tagClear'></div>

All these attemps are working like a charm but only with the annoying bug. However it's interesting that after saving a tiddler
or all tiddlers with "save changes" ES puts its standard labeled button rather than my customized version as you can see on the
following screenshot – taken without ES macro code in the tiddler itself but the modified ViewTemplate and after
clicking four times on the "save changes" button:


Is it possible that this behaviour has something to do with my browser (Firefox 10.0.2), Java (???) or even
my operating system (Ubuntu 11.10)?
I've just tried my TW on Android (ICS) with Firefox ... and voilà ... no bugs!
So now I think we have the reason why you're not able to reproduce my bug. I have to install another version
of firefox or maybe I'll try to update Java or something else. But good to know that it is not the plugin.

Offtopic: Is there already a working solution for using TW with Chrome?

Kind regards,
Albert

Albert Riedinger

unread,
Apr 7, 2012, 9:53:15 PM4/7/12
to tiddl...@googlegroups.com
Hi all,

I just updated Java and Firefox to 11.0 ... same bug. Opera shows the same behavior as well. Chrome and Chromium won't save so I'm not able to reproduce the bug. Only Android 4.0 with Firefox is OK.

Are other Ubuntu (11.10) users out there with the lastest TW who could test EditSectionPlugin? Maybe my Ubuntu configuration is broken.

Regards,
Albert

Seba

unread,
Apr 8, 2012, 9:24:54 AM4/8/12
to TiddlyWiki
Hi Albert,

I am using the latest Ubuntu distribution as well as the latest
Firefox build and it works fine.
I haven't put the ES into view template, I just add the corresponding
code to the desired tiddler.

I would suggest not to modify the view or edit template.

Just add the ES macro to a tiddler and try it out. Or add this
<<editSection TiddlerName##sectionname label>> to the MainMenu to test
changing a tiddler.

regards,
seba

On 8 apr., 03:53, Albert Riedinger <albert.riedin...@googlemail.com>
wrote:

Albert Riedinger

unread,
Apr 9, 2012, 10:27:29 PM4/9/12
to tiddl...@googlegroups.com
Hi seba,

it's weird! I've tried all of your suggestions several times, but always the same behavior.
I've tested with an empty TW without any template tweaks ... but no luck!
I'll give up. At least there are no bugs with Android :)

I think that it has something to do with my installed JRE or other system related issues.

Thank you for your patience seba ... hope to get it working sometime.

Regards,
Albert
Reply all
Reply to author
Forward
0 new messages