Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpTabLayout causes errors when switching Pharo theme #1632

Open
JanBliznicenko opened this issue Oct 20, 2024 · 0 comments
Open

SpTabLayout causes errors when switching Pharo theme #1632

JanBliznicenko opened this issue Oct 20, 2024 · 0 comments

Comments

@JanBliznicenko
Copy link
Contributor

Whenever a window with SpTabLayout is open (or even closed, but still in memory), Pharo theme cannot be changed, or changes just paritally, and ends up in an error.

Example:

| previousTheme newTheme |
Smalltalk garbageCollect.
SpExampleBrowser open.
previousTheme := Smalltalk ui theme class.
newTheme := (previousTheme isKindOf: PharoDarkTheme) ifTrue: [ PharoLightTheme ] ifFalse: [ PharoDarkTheme ].
newTheme beCurrent.
previousTheme beCurrent.

Confirmed the issue to be present in all versions of Pharo (tested in 11-13). In Pharo 13, use build 299 or earlier, as there is another issue at the moment, preventing the SpExampleBrowser from opening, since build 300 (#1631).

Tested on Windows 11.

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

No branches or pull requests

1 participant