plasma-manager icon indicating copy to clipboard operation
plasma-manager copied to clipboard

System tray hidden widget settings are being ignored

Open Rua opened this issue 2 months ago • 3 comments

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"
    ];
  }
];

Rua avatar Oct 05 '25 17:10 Rua

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

HeitorAugustoLN avatar Oct 05 '25 18:10 HeitorAugustoLN

I'm running Plasma 6.3 though.

Rua avatar Oct 06 '25 08:10 Rua

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

l-raider avatar Oct 07 '25 16:10 l-raider

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

notjiatan avatar Nov 27 '25 10:11 notjiatan