When the tabwidth is set to any value < 4, lines with > 1 level of indentation are shown with only 1 level of indentation. Therefore only lines with 0 or 1 level of indentation are shown correctly. It seems to work with tab widths >= 4. Reproducible: Always Steps to Reproduce: 1. Start Konsole. 2. Create a directory and cd into it. 3. Create the empty file empty.cc 4. Create the file prov.cc with some content like this: float calculate_something(float const a, float const b, float const c) { return calculate_something(1.7, calculate_something(8.9, 19.51, 33.0), a) + calculate_something(c, 18.8, calculate_something(7.5, b, a)); } 5. Execute "diff -u empty.cc prov.cc|kompare -". 6. Open the settings dialog and change the tab width to 3. 7. Press Ok. Actual Results: float calculate_something(float const a, float const b, float const c) { return calculate_something(1.7, calculate_something(8.9, 19.51, 33.0), a) + calculate_something(c, 18.8, calculate_something(7.5, b, a)); } Expected Results: float calculate_something(float const a, float const b, float const c) { return calculate_something(1.7, calculate_something(8.9, 19.51, 33.0), a) + calculate_something(c, 18.8, calculate_something(7.5, b, a)); } This problem is new in KDE4.
How about kde-4.5.4?
Still happens in KDE 4.5.4.
How about kde-4.6.2?
No news on the upstream bug- could you please recheck if this still occurs with 4.7.2?
Tested it with 4.7.3, still valid.
KDE SC 4.8.1 in portage.