Segfault from panel configuration
I recently updated from fe54ea85c6e4413fba03b84d50f2b431d2f7c831 to 44b928068359b7d2310a34de39555c63c93a2c90 as part of a flake update, and now get the following segfault right after logging into Plasma (as a Gist, since it makes the issue body too long):
https://gist.github.com/krishnans2006/9ccec41ca76a68fa41a173723f118a29
It seems to be related to the `panels` configuration I use, so I added a snippet of that to the end of this issue. My full configuration permalink is [here](https://github.com/krishnans2006/nixos-config/tree/a520f933427e8e0de3c5a399bc684b0b87cf8dc9), and the commit that caused this segfault is [here](https://github.com/krishnans2006/nixos-config/commit/a520f933427e8e0de3c5a399bc684b0b87cf8dc9).
Notably, the background for my desktop changed after this update, so I suspect it's due to a new Plasma version. After the update, I'm now on `plasmashell 6.6.0`.
Although I could just remove the offending config, I figured that reporting my issue here would help you guys in fixing the issue (incompatibility?) in plasma-manager that allows a certain configuration to trigger a segfault.
Also of note is that besides the crash handler (Dr Konqi) window appearing, no other usability issues result from this crash - everything functions as normal.
Thanks!
Snippet from `programs.plasma` in [`plasma.nix`](https://github.com/krishnans2006/nixos-config/blob/a520f933427e8e0de3c5a399bc684b0b87cf8dc9/modules/home/plasma.nix):
```nix
panels = [
{
location = "bottom";
alignment = "center";
lengthMode = "fill"; # fill width
hiding = "normalpanel"; # always visible
floating = true;
height = 44;
screen = "all";
widgets = [
# Application Launcher
{
kickoff = {
icon = "nix-snowflake-white";
};
}
# Pager
{
pager = {}; # default config; customize later if needed
}
# Icons-Only Task Manager
{
iconTasks = {
launchers = [
"applications:org.kde.dolphin.desktop"
"applications:org.kde.konsole.desktop"
"applications:app.zen_browser.zen.desktop"
"applications:vesktop.desktop"
"applications:code.desktop"
];
appearance = {
showTooltips = true; # Show small window previews when hovering over tasks
highlightWindows = true; # Hide other windows when hovering over previews
indicateAudioStreams = true; # Mark applications that play audio
fill = true; # Fill free space on panel
rows.multirowView = "never";
iconSpacing = "medium"; # Normal
};
behavior = {
grouping = {
method = "byProgramName"; # Group: By program name
clickAction = "cycle"; # Clicking grouped task: Cycles through tasks
};
sortingMethod = "manually"; # Sort: Manually
minimizeActiveTaskOnClick = true; # Clicking active task: Minimizes the task
middleClickAction = "newInstance"; # Middle-clicking any task: Opens a new window
wheel = {
switchBetweenTasks = true; # Mouse wheel: Cycles through tasks
ignoreMinimizedTasks = true; # Skip minimized tasks
};
showTasks = {
onlyInCurrentScreen = false;
onlyInCurrentDesktop = true;
onlyInCurrentActivity = true;
onlyMinimized = false;
};
unhideOnAttentionNeeded = true; # When panel is hidden: Unhide when a window wants attention
newTasksAppearOn = "right"; # New tasks appear: To the right
};
};
}
# Margins Separator
"org.kde.plasma.marginsseparator"
# System Tray
{
systemTray = {
icons = {
spacing = "medium"; # Panel icon spacing: Normal
scaleToFit = false; # Panel icon size: Small
};
items = {
showAll = false;
hidden = [
"org.kde.plasma.addons.katesessions"
#"org.kde.plasma.diskquota"
#"org.kde.plasma.weatherreport"
];
};
};
}
# Digital Clock
{
digitalClock = {
date = {
enable = true;
format = "shortDate";
position = "adaptive";
};
time = {
showSeconds = "always";
format = "12h";
};
timeZone = {
format = "code";
};
calendar = {
firstDayOfWeek = "sunday";
#plugins = [];
showWeekNumbers = false;
};
};
}
# Peek At Desktop
"org.kde.plasma.showdesktop"
];
}
];
```
0 条评论