dlr-gtlab / gtlab-core

GTlab Core Framework
https://www.gtlab.de
Other
7 stars 2 forks source link

Switching from themes does not update the style correctly #1174

Closed mariusalexander closed 6 months ago

mariusalexander commented 6 months ago

Summary

On windows I have noticed that when switching from dark to bright mode the style is still the "Fusion" style instead of the expected "windowsvista" style. A restart fixes this

Expected Behaviour

The styles should update correctly.

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

From dark to bright (on windows!)

grafik

Logs

No response

GTlab environment

GTlab Version: 2.0.6-dev

OS

Windows

jensschmeink commented 6 months ago

@mariusalexander @rainman110 Should it be fixed in 2-0-7 or later?

rainman110 commented 6 months ago

I think it is possible to fix in 2.0.7. The difficulty lies in creating a non-leaking but still working implementation. ;)

rainman110 commented 6 months ago

I implemented a fix. See PR #1177