When using the status indicator bar to show some progress when running a python macro (via createStatusIndicator) the resulting status indicator is displayed as a white bar on a white background with a black border when LibreOffice is switched to dark mode which has almost no contrast. When switched to light mode the status indicator is displayed as a light green bar on grey background which has a good contrast. Could the status indicator please be displayed in a non-white color in dark mode, so that one can see it in fact? The status indicator is also shown when e.g. saving a file, and the effect is the same in this case, however saving a file is normally so fast that you don't realy see the color of the status indicator.
Thanks for posting an issue. Could please post content from the Help -> About panel. And we'll need some specific configuration details for appearance mode in Windows with a dark mode scheme: From the Tools -> Options -> Appearance panel have you installed an Appearance theme and also checked the 'Enable application theming'? Or, have you left the Appearance panel in its default 'Automatic' value (so it follows color theme of the DWM)? Or have you set the Appearance theme value to 'Dark' while DWM remains in a Light color scheme? Does changing any set of those (appearance theme, Automatic|Light|Dark, or DWM Light/Dark color scheme) bring to progress bar forward with a color response? And could you post a simple test doc using a macro showing a progress bar.
Created attachment 204799 [details] Screenshot of color theme settings
Created attachment 204800 [details] Test case for status indicator display
Form the about panel: Version: 25.8.4.2 (X86_64) Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL threaded The settings for the appearance are set to automatic, there is no appearance theme activated (see attached screenshot). There is some setting ("Anpassungen" -> "Skriptanzeiger") which seems to have the typical green color for the status indicator, but changing it to some other color doesn't have any effect in dark mode, so I set it back to the original value. I played around with the settings, but I didn't manage to get any difference with respect to the color of the status indicator. You can find a test case (Calc file with macro started by a button) as attachment.
Thanks! Having the test document with macro was very helpful. The color controls for the progress bar get clobbered on Windows in DWM in Dark color sense. 'Automatic'or 'Dark', but fine (expected Green progress bar) with 'Light' or DWM in Light mode. Nor does any mix of the appearance themes enabled affect the bar--if DWM is Dark color sense, no direct control of the bar style via theme and it remains washed out white on white. Looking at the notes on prgsbar() and checking Properties -> Security panel, unlike the the "Progress bar" the "Level bar" for password protection complexity is not being affected and gets its Red, Yellow and Blue coloring style regardsless of DWM Dark mode. Is this Win only, or are other back ends affected? @Hossein, here's one to add to the Dark mode on Windows pile?
Seems to be Windows only. Reproduced with: Version: 25.8.3.2 (X86_64) Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Not reproducible on macOS: Version: 26.8.3.2 (AARCH64) Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e CPU threads: 10; OS: macOS 26.1; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Not reproducible on Linux: $ GTK_THEME=Adwaita:dark instdir/program/soffice example.ods Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 968608eb1c65d96b54292d4926cdd0706ce594f4 CPU threads: 20; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (C.UTF-8); UI: en-US Calc: threaded
LibreOffice on macOS, even latest LO 26.8 dev master suffers from another issue, which is a little different. It causes the progress bar not to work in debug mode. Version: 25.8.3.2 (AARCH64) / LibreOffice Community Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e CPU threads: 10; OS: macOS 26.1; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded I will file a separate issue for that.