Kubuntu Raring (development release) konsole from kde 4.10.0 Using the attached configuration konsole hangs while starting with 100% CPU. The only debug output I get is thousands of konsole(18346) Konsole::ColorSchemeManager::loadColorScheme: color scheme with name "Weiß (Transparent)" has already been found, ignoring. messages. I guess it chokes on the subfolder that was created because the colorscheme name has '/' in it? Reproducible: Always Steps to Reproduce: 1. put the attached configuration at it's place 2. run konsole Actual Results: It hangs during start. Expected Results: Konsole opens
Created attachment 77265 [details] broken config files
Yes it is the subfolder - if you place the .colorscheme in the top folder it works OK - I've never seen someone put the colorschemes in a subfolder. I'll look at it.
That happened because the colorsheme is called "Schwarz/Weiß (Transparent)" and konsole seems to understand Schwarz/ as subfolder instead of escaping that.
You seem to be saying that you're using '/' NOT as a subfolder but your .tar.gz says it is. I don't think you can have a file named 'abc/def' where abc is not a folder ~ [ tar zxvf Downloads/konsole_configs.tar.gz ] 4:07 PM x konsole.old/ x konsole.old/Schwarz/ x konsole.old/Schwarz/Weiß (Transparent).colorscheme x konsole.old/Shell.profile x konsolerc.old
I meant that "Schwarz/Weiß (Transparent)" is the name of the colorscheme in Konsole. When loading that it says that it loads "Weiß (Transparent)" instead of "Schwarz/Weiß (Transparent)". "Schwarz/" is meant to be just a part of the name, not a subfolder. That's all I meant, sorry if I rather added to the confusion. (I never created that subfolder, konsole did)
OK I understand now - the fix will to not allow users to enter / (and possible other invalid chars) into the name entry.
> the colorsheme is called "Schwarz/Weiß (Transparent)" Is that a translation provided by KDE itself?
No, it's what was set as theme description when creating the theme from the settings.
Git commit b41a9253e6f4b82764f562bd354d7b980374d0ab by Kurt Hindenburg. Committed on 06/04/2013 at 21:23. Pushed by hindenburg into branch 'master'. Prevent infinite loop when Scheme name has / in it A fix to prevent an infinite loop if user puts / in ColorScheme name; Konsole will create a sub-folder in that case. More code will have to go in to prevent the users from doing that. FIXED-IN: 4.11 M +8 -0 src/ColorSchemeManager.cpp http://commits.kde.org/konsole/b41a9253e6f4b82764f562bd354d7b980374d0ab
Git commit 8775d4d1be7204da4e92dd95751a9fd474330250 by Kurt Hindenburg. Committed on 06/04/2013 at 22:57. Pushed by hindenburg into branch 'KDE/4.10'. Prevent infinite loop when Scheme name has / in it A fix to prevent an infinite loop if user puts / in ColorScheme name; Konsole will create a sub-folder in that case. More code will have to go in to prevent the users from doing that. FIXED-IN: 4.10.3 M +8 -0 src/ColorSchemeManager.cpp http://commits.kde.org/konsole/8775d4d1be7204da4e92dd95751a9fd474330250