Bug 251027 - kompare: changing tab width and applying the change does not apply the change
Summary: kompare: changing tab width and applying the change does not apply the change
Status: CONFIRMED
Alias: None
Product: kompare
Classification: Applications
Component: viewpart (show other bugs)
Version: 4.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 23:02 UTC by esigra
Modified: 2018-11-09 00:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esigra 2010-09-12 23:02:32 UTC
Version:           4.0.0 (using KDE 4.5.1) 
OS:                Linux

When the tab width is changed (in the configuredialog) and the change is applied (by pressing Apply and keeping the dialog open), the change does not take effect.

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 8 (or 4 if it was 8 before).
7. Press Apply.

Actual Results:  
Nothing changes (not even when forcing a redraw by switching to another program and switching back to Kompare).

Expected Results:  
The change of tab width is applied.

The change is applied if the configuredialog is closed (Ok or Cancel). It is also applied if the font is changed and Apply is pressed afterwards.
Comment 1 Andrew Crouthamel 2018-11-06 15:14:38 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 esigra 2018-11-08 21:38:00 UTC
This is a confirmation that the bug still exists in Kompare 4.1.3. But now it seems to work the first time the Apply button is pressed in a Kompare session. The following times it fails as previously reported.
Comment 3 Andrew Crouthamel 2018-11-09 00:28:56 UTC
Thanks for the update!