Skip to content

Do not write settings when showing their values - #1558

Merged
jecisc merged 1 commit into
pharo-spec:Pharo15from
demarey:fix/settings-inherited-receiver
Oct 30, 2026
Merged

jecisc merged 1 commit into
pharo-spec:Pharo15from
demarey:fix/settings-inherited-receiver

Conversation

@demarey

@demarey demarey commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Boolean, number, text and drop list items wrote the value of their setting back while showing it, because their presenters announce the initial value as a change. Setters may have side effects: showing Appearance > Standard fonts set the font size, which reset all the fonts. Show the value in StSettingPresenterItem>>withoutUpdatingSettingDo: so that only the edits of the user update the setting.

Boolean, number, text and drop list items wrote the value of their setting back while showing it, because their presenters announce the initial value as a change. Setters may have side effects: showing
Appearance > Standard fonts set the font size, which reset all the fonts. Show the value in StSettingPresenterItem>>withoutUpdatingSettingDo: so that only the edits of the user update the setting.
@jecisc
jecisc merged commit ecb4b5e into pharo-spec:Pharo15 Oct 30, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants