https://bugs.kde.org/show_bug.cgi?id=356225
--- Comment #348 from m...@eisgr.com --- (In reply to bugreporter11 from comment #347) > Created attachment 132547 [details] > attachment-18992-0.html > > On Sun, Oct 18, 2020 at 9:30 AM <bugzilla_nore...@kde.org> wrote: > > > https://bugs.kde.org/show_bug.cgi?id=356225 > > > > --- Comment #346 from m...@eisgr.com --- > > (In reply to Tiago from comment #345) > > > It's sad to see such a remarkable project such as KDE decaying this way. > > > > Oddly enough, I've had the opposite experience. > > > > I agree. I see KDE getting better and better. I've been impressed with the > progress, particularly new features and bug fixes, in 2020. > > I had been frustrated with this bug, but I picked a work-around (created a > > script which resets my KDE environment as I want). > > > > Could you share your script? > > > But this bug made me do the unthinkable: switch to > >> > Gnome. And five years later I'm still using Gnome because, astoninshly, > >> this > >> > bug remains open... Here's the simple script I used to use... I thought it was bigger... a long time ago I am sure I had a "Saved Plasma Config" that was copied over the config file before restarting. Apparently over time, things did get better, even if I still needed to restart Plasma from time to time: ``` #!/bin/bash kquitapp5 plasmashell plasmashell #--shut-up ``` I have several others I still have lying around, but I don't know if I ever used them: ``` #!/bin/bash #maj_plasma_appletsrc.rb kquitapp5 plasmashell plasmashell #--shut-up ``` and ``` #!/usr/bin/ruby config_file = "#{Dir.home}/.config/plasma-org.kde.plasma.desktop-appletsrc" lignes = IO.readlines(config_file) i = 0 lignes.each do |ligne| if ligne =~ /org.kde.panel/ puts "Trouvé 'org.kde.panel' ligne #{i}" if lignes[i - 2] =~ /lastScreen/ puts "Trouvé 'lastScreen' ligne #{i - 2} : #{lignes[i - 2]}" elem = lignes[i - 2].partition("=") if elem[2] != "0\n" lignes[i - 2] = "lastScreen=0\n" puts "Remplacement #{elem[0] + elem[1] + elem[2]} par #{lignes[i - 2]}" end else puts "Pas trouvé 'lastScreen' ligne #{i - 2} : #{lignes[i - 2]}" end end i = i + 1 end File.open(config_file, "w") do |f| f.puts lignes end ``` and the one I don't remember ever using: ``` #! /bin/bash # Main Plasma 5 Desktop Configuration File plasma_applets_file="${HOME}/.config/plasma-org.kde.plasma.desktop-appletsrc" awk ' function initialise_global_variables() { # **** Add per panel settings in an ordered list here **** # location=5 formfactor=3 [left] # location=6 formfactor=3 [right] # location=3 formfactor=2 [top] # location=4 formfactor=2 [bottom] # Panel 1 panel_array[1,"formfactor"]=2 panel_array[1,"lastScreen"]=0 panel_array[1,"location"]=4 # Panel 2 ... panel_array[2,"formfactor"]=2 panel_array[2,"lastScreen"]=1 panel_array[2,"location"]=4 # **** Add per panel settings in an ordered list here **** # List of all panel variables we want to be able to reset panel_variables="formfactor lastScreen location" split(panel_variables, panel_settings_array) blank_line_regexp="^[[:blank:]]*$" } function check_panel_settings_valid( i) { for (i in panel_settings_array) { if ((panel,panel_settings_array[i]) in panel_array) return 1 } return 0 } function process_panel_block(line, i, panel_setting) { # Go to end of panel block ... while ((++line<=line_count) && (plasma_file_array[line] !~ blank_line_regexp)) {} # ... work back through panel block ... while ((--line >= 1) && (plasma_file_array[line] !~ blank_line_regexp)) { for (i in panel_settings_array) { panel_setting=panel_settings_array[i] if ((panel,panel_setting) in panel_array) sub((panel_setting "=[[:digit:]]+$"), (panel_setting "=" panel_array[panel,panel_setting]), plasma_file_array[line]) } } } BEGIN{ initialise_global_variables() } { plasma_file_array[++line]=$0 } END{ line_count=line panel=1 if (! check_panel_settings_valid()) exit 1 for (line=1; line<=line_count; ++line) { if (plasma_file_array[line] !~ /^plugin=org\.kde\.panel/) continue process_panel_block(line) ++panel if (! check_panel_settings_valid()) break } for (line=1; line<=line_count; ++line) print plasma_file_array[line] }' "${plasma_applets_file}" 1>"${plasma_applets_file}.new" 2>/dev/null [ -f "${plasma_applets_file}.new" ] && mv "${plasma_applets_file}.new" "${plasma_applets_file}" kquitapp5 plasmashell ; /usr/bin/plasmashell --shut-up &>/dev/null & ``` > The bug may remain open, but I don't think that's an indication that it > will definitely affect you.I see this bug on one system from time to time, > but it is rare and it goes away on its own. I think logging out and back in > causes it to go away. My other KDE systems do not exhibit this bug. Maybe > it won't affect you, Tiago? > > I don't mean to diminish the importance of this bug. I would like to see it > fixed too. But it would take a lot more than this bug to cause me to leave > KDE, especially with the current rate of improvements and bug fixes. Yes. Since upgrading to Kubuntu 20.04, I've even done away with my Akonadi-Restart script, since my setup "just works" now. It seems my addiction to KDE just pays off over time. On my new Dell, BlueTooth works out of the box! Life is an adventure, not a list of checked todo's. Matt -- You are receiving this mail because: You are watching all bug changes.