System tray hidden widget settings are being ignored
Since about a week or so, the system tray widgets that I have declared as hidden are no longer being hidden. Instead, they have reverted to the default "shown when relevant" setting.
I'm running Plasma 6.3.6 and using the following panel config:
programs.plasma.panels = [
{
location = "bottom";
floating = true;
height = 40;
widgets = [
{
kickoff = {
icon = "nix-snowflake";
};
}
{
iconTasks = {
iconsOnly = false;
behavior.grouping.method = "none";
launchers = [
"applications:org.telegram.desktop.desktop"
"applications:com.discordapp.Discord.desktop"
"preferred://browser"
];
settings = {
General = {
interactiveMute = false;
};
};
};
}
"org.kde.plasma.marginsseparator"
{
systemTray = {
items.hidden = [
"org.kde.plasma.brightness"
"org.kde.plasma.clipboard"
"org.kde.plasma.networkmanagement"
"org.kde.plasma.volume"
];
};
}
{
name = "org.kde.plasma.weather";
config = {
Appearance.showTemperatureInCompactMode = true;
Appearance.showPressureInTooltip = true;
WeatherStation.source = "dwd|weather|Eindhoven|06370";
};
}
{
digitalClock = {
date.enable = false;
time.showSeconds = "onlyInTooltip";
calendar.showWeekNumbers = true;
};
}
"org.kde.plasma.minimizeall"
];
}
];
This is an upstream issue, because plasma scripting doesn't currently support nested containments, which is the way system tray is being handled after plasma 6.4, I might submit an MR for it, like I did before sometimes, but I am not sure yet
I'm running Plasma 6.3 though.
I'm running Plasma 6.3 though
I also have this issue, running KDE Plasma 6.3.6 on NixOS 25.05 Stable.
Edit: Found a workaround by reverting to the commit before https://github.com/nix-community/plasma-manager/commit/4fbf7c6f373ee37000a0e550b3ca2712466b6bbf
let
# plasma-manager = builtins.fetchTarball "https://github.com/nix-community/plasma-manager/archive/trunk.tar.gz";
plasma-manager = builtins.fetchTarball "https://github.com/nix-community/plasma-manager/archive/6a7d78cebd9a0f84a508bec9bc47ac504c5f51f4.tar.gz";
in
This is an upstream issue, because plasma scripting doesn't currently support nested containments, which is the way system tray is being handled after plasma 6.4, I might submit an MR for it, like I did before sometimes, but I am not sure yet
Please do! I love plasma manager, now that plasma 6.4 is on the stable channel, I am really missing my declarative plasma tray