Thanks for the information Radek. You helped me to better understand the problem. Hopefully, this post might be of use to others who who experience the same issue.
Anyone who is using the default theme as installed by Kubuntu - which might be the vast majority of Kubuntu users - can expect Ksystemlog to open and display correctly according to the default theme. However, anyone who deviates from that default theme could end up with a display consisting of dual themes. My gripe is that I only changed the default to Kubuntu Dark - not some dubious theme sourced from the dark web. So, it should not have been an issue for that theme to display correctly.
Ksystemlog propertly interprets my current global theme if open the Terminal and run: ksystemlog --platformtheme kde
However, Ksystemlog does not correctly use the current global theme if I include ‘sudo’ as in: sudo ksystemlog --platformtheme kde
As part of a conversation, Leo AI provided an explanation for this issue:
Running a GUI application as root (via sudo, pkexec, or kdesu) breaks the theme because root cannot read your user’s theme configuration files.
The window frame (title bar) is drawn by the Window Manager (KWin), which runs in your user session and can see your theme. However, the application content (buttons, lists, background) is drawn by the application process, which is running as root and can only see root’s default settings.
Since you do not want to lose visibility of logs by running without sudo, and you cannot force the theme to work while running as root, we must change the strategy.
The Only Working Solution: “Elevation on Demand”
You need the app to start as your normal user (so it sees your theme) and only ask for a password when it tries to open a restricted log file. This is exactly how KDE Partition Manager works.
KSystemLog can do this, but it is often configured to demand root immediately. We can fix this by removing the sudo requirement from the desktop file and letting the app handle permissions dynamically.
What I gathered from this was that using sudo was causing the problem and avoiding sudo was the ‘fix’ at least for me as the admin and sole user of my computer.
So, after changing the Exec line in the ksystemlog.desktop file, my Ksystemlog opens via the Start Menu with the correct theme and I can check all four log types without any issues: