Hello all,
I noticed today that my Kansas Railroad TW is turning the dirty indicator red immediately upon opening it up. This started occurring right after upgrading to 5.4.0. Is there a way to figure out what is changing and causing the dirty indicator to go red? I only have three railroad tiddlers open upon load.
Thanks in advance!
Iβd try testing the following filter in Advanced Search > Filter, immediately after reloading:
[all[shadows+tiddlers]!sort[modified]limit[50]]
This will give you a list of the most recently modified tiddlers. You can go down the list to look for likely culprits; youβre looking for a tiddler that would not fall into the list of exceptions defined in $:/config/SaverFilter.
You could also try this filter:
[subfilter{$:/config/SaverFilter}haschanged[]]
The $:/config/SaverFilter is used to determine which tiddlers will turn the dirty indicator red. haschanged[] filters for βtiddlers that have been modified during this sessionβ, even if the date in the modified field has not been changed.
-e
EricShulman:
haschanged
I donβt think Iβd ever noticed this operator before! Super useful, thanks for pointing it out.
Thanks all! It turns out that $:/HistoryList is the culprit thanks to the suggestions by @etardiff . The contents of $:/config/SaveFilter is:
[all[] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state/]] -[prefix[$:/temp/]]
-[[$:/state/ChangeLog]]
-[[$:/language/ControlPanel/Saving/GitService/CommitMessage]]
So Iβm a bit confused as to why that is happening. This only started happening after the upgrade to 5.4.0.
There is a ] missing! It should be:
[all[]] -[prefix[$:/HistoryList]] ...
-e
Itβs actually there in the real tiddler. That was a problem with me puttting it in the message.
pmario
May 11, 2026, 11:54pm
8
It seems the problem is solved? We do not have a problem, that blocks v5.4.1. right?
No the problem is not solved. The typo was in my posting of the message, not in the tiddler itself.
I should mention that I have another TW that I upgraded to 5.4.0 and it does not exhibit the same issue.
Maybe itβs not actually $:/HistoryList that is causing the problem?
Try my suggested filter: [subfilter{$:/config/SaverFilter}haschanged[]]
This will show ONLY tiddlers that are really making the dirty indicator turn red.
-e
pmario
May 12, 2026, 3:29am
12
Do you have any startup actions, that are active?
The suggested filter by @EricShulman yielded zero results. I also deleted the two startup actions that I had and the dirty indicator still turns red upon load. What might be the next step then?
pmario
May 12, 2026, 5:57pm
14
Can you go to the ControlPanel β Info β Wiki Information tab and click the button there.
It gives you some code, that you can directly post here.
It contains anonymised info about your wiki. Especially plugins
Here is the result:
<details><summary>Wiki Information</summary><pre><code>
TiddlyWiki Version: 5.4.0
Current palette: $:/palettes/DesertSand
Current theme: $:/themes/tiddlywiki/vanilla
Current layout: PageTemplate link click move to top
Browser language setting: en-US
Default type for missing tiddlers:
Auto save setting: no
Code wrapping setting: pre-wrap
Sticky titles setting: no
Sidebar layout setting: fluid-fixed
Auto focus field setting for new tiddlers: title
Current storyview setting: classic
Toolbar text setting: no
Toolbar icon setting: yes
Button class setting: tc-btn-invisible
Navigation address bar setting: no
Tiddler opening behaviour setting for navigations from outside the story river: top
Tiddler opening behaviour setting for navigations from within the story river: above
CamelCase linking setting: disable
Keyboard shortcuts that have been customised: $:/config/shortcuts/open-command-palette
Disabled plugins:
Plugins:
$:/core - 5.4.0
$:/plugins/danielo515/ContextPlugin - 2.1.0
$:/plugins/EvidentlyCube/AutoComplete - 1.0.24
$:/plugins/EvidentlyCube/ExtraOperators - 1.2.0
$:/plugins/flibbles/relink - 2.5.2
$:/plugins/kookma/commander - 2.1.14
$:/plugins/kookma/refnotes - 1.9.1
$:/plugins/kookma/shiraz - 3.0.14
$:/plugins/OokTech/BarChart - 0.0.212
$:/plugins/souk21/commandpalette - 0.0.7
$:/plugins/telmiger/details - 0.7.5
$:/plugins/telmiger/EditButtons - 1.0.6
$:/plugins/telmiger/HarveyBalls - 0.0.6
$:/plugins/telmiger/listreveal - 0.3.30
$:/plugins/tesseract/snapshot - 1.0.5
$:/plugins/tiddlywiki/highlight - 5.4.0
$:/plugins/tiddlywiki/menubar - 5.4.0
$:/plugins/tobibeer/appear - 0.6.2
$:/plugins/TWaddle/SideEditor - 3.0.12
$:/plugins/wikilabs/link-to-tabs - 3.0.1
$:/plugins/wikilabs/tocP - 1.0.1
$:/plugins/yaisog/ancestors-filter - 0.9.0
$:/plugins/yaisog/descendants-filter - 0.9.0
$:/temp/info-plugin -
$:/themes/tiddlywiki/snowwhite - 5.4.0
$:/themes/tiddlywiki/vanilla - 5.4.0
Stylesheets:
$:/themes/tiddlywiki/vanilla/base β $:/themes/tiddlywiki/vanilla
$:/plugins/kookma/refnotes/styles/bibtex β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/bibtex-details β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/abbr β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/bibtex-entryview β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/dropzone β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/footnote-counter β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/library β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/showfnotes β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/table-borderless β $:/plugins/kookma/refnotes
$:/plugins/kookma/refnotes/styles/tooltip β $:/plugins/kookma/refnotes
$:/plugins/wikilabs/link-to-tabs/styles β $:/plugins/wikilabs/link-to-tabs
$:/plugins/flibbles/relink/ui/stylesheet.css β $:/plugins/flibbles/relink
$:/plugins/kookma/commander/styles/buttons β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/compInspect/table β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/log β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/other β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/select-width β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/snr/flexbox β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/snr/form β $:/plugins/kookma/commander
$:/plugins/kookma/commander/styles/tiddler-list β $:/plugins/kookma/commander
$:/plugins/OokTech/BarChart/Styles β $:/plugins/OokTech/BarChart
$:/plugins/telmiger/details/colours.css β $:/plugins/telmiger/details
$:/plugins/telmiger/details/details.css β $:/plugins/telmiger/details
$:/plugins/telmiger/HarveyBalls/icons.css β $:/plugins/telmiger/HarveyBalls
$:/plugins/tobibeer/appear/styles β $:/plugins/tobibeer/appear
$:/plugins/TWaddle/SideEditor/Stylesheet β $:/plugins/TWaddle/SideEditor
$:/plugins/TWaddle/SideEditor/Window/Stylesheet β $:/plugins/TWaddle/SideEditor
$:/plugins/wikilabs/tocP/Stylesheet β $:/plugins/wikilabs/tocP
$:/plugins/EvidentlyCube/AutoComplete/Style β $:/plugins/EvidentlyCube/AutoComplete
$:/plugins/souk21/commandpalette/Compact.css β $:/plugins/souk21/commandpalette
$:/plugins/telmiger/EditButtons/styles.css β $:/plugins/telmiger/EditButtons
$:/plugins/tiddlywiki/highlight/highlight.css β $:/plugins/tiddlywiki/highlight
$:/plugins/tiddlywiki/highlight/styles β $:/plugins/tiddlywiki/highlight
Recent Dates Bold Styling
batchmanipulator/Stylesheet
Center Edit Text Styling
Certificate Styling
Command Palette Styling
Common Text Styling
Dot Leader Stylesheet
Edit Fields Styling
Even Row Expand Styling
Eventcatcher Link Styling
FamilyTree/Stylesheet
Fieldset Styling
Flexbox & Grid Styling
Flexbox Styling for Gallery
Harvey Balls Styling
Image Tooltip Styling
Infobox Styling
Input Box Styling
Link to Tab Styling
Missing Railroads Styling
My Accordion Styles
New Railroad Styling
Newspaper Listing Styling
Newspaper Template Styling
Progress Bar Styling
Progress Details Class
Progress Info Styling
Railroad Class Styling
Refnotes Styling
Segment Sources Styling
Sidebar Styling
Tab Styling
Table Styles from Shiraz
Table Styling
Tooltip Styling
Trackage History Styling
Trackage Styling
tree2 styling
Tufte CSS
Wikipedia iFrame Styling
Page Control Buttons Styling
Title & Subtitle & Tiddler Styling
Story River Styling
List Tree Styling
$:/plugins/danielo515/ContextPlugin/Stylesheet/results β $:/plugins/danielo515/ContextPlugin
$:/plugins/TWaddle/ListTree/Stylesheet
$:/PSaT/SplashScreen/stylesheet
Details Widget Styling
Scroll Window Styling
Scrollbar Styling
$:/plugins/telmiger/lib/telements-print.css β $:/plugins/telmiger/listreveal
$:/plugins/telmiger/lib/telements.css β $:/plugins/telmiger/listreveal
$:/plugins/telmiger/listreveal/lr.css β $:/plugins/telmiger/listreveal
$:/themes/telmiger/bricks/wikilogic
Dropdown Styling
Link Styling
Open Tiddlers Styling
$:/plugins/kookma/shiraz/styles/accordion β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/alerts-leftbar β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/alerts-link-color β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bglowtone-colors β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/alert β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/background-color β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/badge β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/border β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/breadcrumb β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/button β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/card β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/card-group β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/clearfix β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/float β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/image β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/progress β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/root β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/rounded β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/rulers β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/shadow β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/sizing β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/spacing β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/text-bg-color β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/text-color β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/text-effect β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/text-heading β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/text-position β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/bs/text-wrap-truncate β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/clear-float β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/colorify-sidebar-active-tab β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/colorify-ui-buttons β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/dbadge β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/details-slider β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/highlight β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/image-alignment β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/image-basic β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/image-overlay β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/image-polaroid β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/image-pretty β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/image-slidein β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/mono β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/multicols/column β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/multicols/flex β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/searchbox β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/sticky-footer β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/switch-palette β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/tables β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/task-complete β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/tiddler-title-class β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/styles/view-toolbar-button-visibility β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/tables/styles/ct-katex β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/tables/styles/ct-star β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/tables/styles/ct-tables β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/tables/styles/dt-edit-tags β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/tables/styles/dt-tables β $:/plugins/kookma/shiraz
$:/plugins/kookma/shiraz/tables/styles/dt-tables-var β $:/plugins/kookma/shiraz
$:/plugins/tiddlywiki/menubar/styles β $:/plugins/tiddlywiki/menubar
</code></pre></details>
These entries in the $:/config/SaverFilter suggest that you may be using an older revision of TiddlyTools/SaveChanges (versions after 25.08.03 use $:/ChangeLoginstead of $:/state/ChangeLog).
Note that TiddlyTools/SaveChanges is tagged with $:/tags/StartupAction/Browser. This is so that it can automatically hide the TWCore standard βsave changesβ button (by setting the text of $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki to βhideβ) and replace it with the TiddlyTools-enhanced βsave changesβ button that includes modal handling for entering $:/ChangeLog entries before saving the file.
If $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki is missing, this startup action may be having an effect on the display of the dirty indicator the first time it is loaded after upgrading.
Try this:
Load the file that shows the dirty indicator at startup
Save (to another filename!)
After loading the newly saved file, does the dirty indicator still appear red?
If so, try:
Load the file that shows the dirty indicator at startup
Install the latest revision of TiddlyTools/SaveChanges
Make sure to rename $:/state/ChangeLog to just $:/ChangeLog
Save (to another filename!)
After loading the newly saved file, does the dirty indicator still appear red?
If so, try save-and-reload one more time.
Let me know how it goesβ¦
-e
EricShulman:
TiddlyTools/SaveChanges
In both cases, the dirty indicator was still red upon load. I even uninstalled TiddlyTools/SaveChanges completely and it was still red upon load. However, I noticed something interesting. Normally, when you close a wiki with the dirty indicator red youβre asked are you sure you want to leave. After uninstalling SaveChanges, I was not asked that even though the dirty indicator was red.
I think I fixed it. I removed the ContextPlugin and that seems to have fixed the issue. Not sure why, but the dirty indicator isnβt red immediately upon load anymore.
The following is not a solution in itself for the dirty indicator coming on, but it is related.
On websites such as tiddlywiki.com where you may experiment with your code and following the documentation, it will be common for your changes to trigger the dirty state but you never intend to save the wiki. The following code if pasted inside a Bookmarklet, when clicked resents the dirty indicator to not dirty.
Reset Dirty bookmarklet
javascript:(function(){ $tw.saverHandler.numChanges = 0; $tw.saverHandler.updateDirtyStatus(); })();
New changes will βrestoreβ the dirty indicator so I tend to do this just before or when closing the browser for shutdown.
I actually use this a lot.