Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337001 - kde-base/kompare-{4.7.4,4.8.0}: setting tabwidth to anything < 4 shows only the first level of indentation
Summary: kde-base/kompare-{4.7.4,4.8.0}: setting tabwidth to anything < 4 shows only t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: Fixed in 4.8.1
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 20:55 UTC by Erik
Modified: 2012-03-07 08:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2010-09-12 20:55:11 UTC
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.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-01-09 12:38:52 UTC
How about kde-4.5.4?
Comment 2 Erik 2011-01-09 14:15:19 UTC
Still happens in KDE 4.5.4.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 19:06:09 UTC
How about kde-4.6.2?
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-10-17 19:56:42 UTC
No news on the upstream bug- could you please recheck if this still occurs with 4.7.2?
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2011-11-16 00:07:41 UTC
Tested it with 4.7.3, still valid.
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2012-03-07 08:04:31 UTC
KDE SC 4.8.1 in portage.