Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337003 - kde-base/kompare-4.5.4: changing tab width and applying the change does not apply the change
Summary: kde-base/kompare-4.5.4: changing tab width and applying the change does not a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 21:07 UTC by Erik
Modified: 2011-11-16 00:11 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 21:07:20 UTC
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 (and a redraw takes place).

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 Maciej Mrozowski gentoo-dev 2010-09-15 09:21:23 UTC
Thanks.
Although I don't think it was really worth filling that bug here. Filling bug at bugs.kde.org was good enough.
It is not critical enough so that we need to track it and backport patches instead of waiting for fix to appear in next patch release.
And I can pretty much guarantee nobody will backport patches for non-core components (kdelibs, kwin, plasma, etc).
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-01-09 12:39:55 UTC
How about kde-4.5.4?
Comment 3 Erik 2011-01-09 14:21:50 UTC
Still happens in KDE 4.5.4. It might work the first time, but changing the value again and pressing apply again, it does not update any more. So this might need some tries to reproduce.

I do not expect bugs Kompare bugs to disappear from kde-base/kompare-4.5.1 to 4.5.4, since the installed Kompare still identifies itself as the same version (4.0.0). So only if something is caused by an underlying library, it might have been fixed.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 19:06:39 UTC
How about kde-4.6.2?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-10-17 19:57:08 UTC
No news on the upstream bug- could you please recheck if this still occurs with 4.7.2?
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2011-11-15 23:59:41 UTC
Tested it. Tab width is applied after pressing "Apply" and closing the preferences dialog with "OK". I see no reason track such an "Issue"
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-11-16 00:11:53 UTC
(In reply to comment #6)
> Tested it. Tab width is applied after pressing "Apply" and closing the
> preferences dialog with "OK". I see no reason track such an "Issue"

OK let's close it.