On Wed, 18 Nov 2026 01:07:47 GMT, Marius Hanl <[email protected]> wrote:

> The preference listener in my reproducer will always get two changes:
> ```
> --- Switch Dark -> Light
> GTK.theme_name=Breeze-Dark, colorScheme=DARK, backgroundColor=0x202326ff
> GTK.theme_name=Breeze-Dark, colorScheme=LIGHT, backgroundColor=0xeff0f1ff
> --- Switch Light -> Dark
> GTK.theme_name=Breeze, colorScheme=LIGHT, backgroundColor=0xeff0f1ff
> GTK.theme_name=Breeze, colorScheme=DARK, backgroundColor=0x202326ff
> ```

I wonder if the way you presented those lines is different from how you 
presented them in the bug report, or if the order is now different. When I 
rearrange your lines in the following way, it seems to make more sense:


Breeze-Dark  DARK    <-- last step of the previous Light -> Dark switch (theme 
name arrives)           
--- Dark -> Light                                                               
                     
Breeze-Dark  LIGHT   <-- colors reloaded, theme name still old                  
                  
Breeze       LIGHT   <-- theme name arrives                                     
                      
--- Light -> Dark                                                               
                     
Breeze       DARK    <-- colors reloaded, theme name still old                  
                  
                         (the "Breeze-Dark DARK" line comes next, not in the 
excerpt)


Each line differs from its previous line in either the theme name or the 
colors, not in both. Looking at it more closely, it seems that on your Plasma 
6.8.3 system the colors are updated before the theme name. In your original bug 
report with Plasma 6.7.5, it seems to be the other way around.

In any case, with this PR the changes are reported in whichever order they 
arrive.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2372#issuecomment-6982415951

Reply via email to