servo icon indicating copy to clipboard operation
servo copied to clipboard

Theme not updating and until mouse move

Open burhankhanzada opened this issue 2 months ago • 2 comments

Describe the bug: When i change theme in system setting theme not update until move mosue over it.

To Reproduce: Run servoshell or winnit_minial and try to change system theme

Platform: MacOS

burhankhanzada avatar Oct 29 '25 16:10 burhankhanzada

@burhankhanzada Are you only seeing this in winit_minimal? If so, that's expected behavior as winit_minimal only implement the bare minimum of integration with the system.

I cannot reproduce this issue in servoshell (see video below). What commit hash are you testing @burhankhanzada?

https://github.com/user-attachments/assets/ff89a2e1-ce8f-4d71-a34a-cf6f1e32d6d5

mrobinson avatar Nov 06 '25 15:11 mrobinson

Commit hash: 8e00166585b9dc0d3a523996e1cf2db4c715b1e8

I tried to upload video here but its always failing so i uploaded on youtube, also i find the theming automatically change on new tab where wesbite is not loaded yet but when we change tab and now its not in focus then change theme its remain in old theme.

When trying to record video first i tried it with servo website but its not changeing to dark mode when i hover it so i change to slint.dev.

See video on youtube.

https://youtu.be/vBywOtsdBIg

burhankhanzada avatar Nov 06 '25 16:11 burhankhanzada