Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337000 - kde-base/kompare-4.5.4: changing color in settings and applying that change only redraws middle piece (between before and after)
Summary: kde-base/kompare-4.5.4: changing color in settings and applying that change o...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-12 20:40 UTC by Erik
Modified: 2011-11-16 00:17 UTC (History)
0 users

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


Attachments
screenshot showing an example of the bug (apply_color_change-2011-01-09.png,84.75 KB, image/png)
2011-01-09 14:10 UTC, Erik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2010-09-12 20:40:49 UTC
When changing a color in the configuredialog and applying that change, only the
middle piece (between before and after) is redrawn.

Reproducible: Always

Steps to Reproduce:
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 background color of added blocks.
7. Press Apply.

Actual Results:  
Only the middle part is redrawn (see attached screenshot).

Expected Results:  
Also the before and after parts are redrawn.

The change does take effect if font is also changed before Apply is pressed, or
the configuredialog is closed (OK or Cancel).
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-01-09 12:38:05 UTC
How about kde-4.5.4?
Comment 2 Erik 2011-01-09 14:10:05 UTC
Created attachment 259370 [details]
screenshot showing an example of the bug

First few times, I could not reproduce it with current versions of packages, but then it happened again. Seems like it might need a few tries. Now I saw a different problem in addition. The middle part is not filled to the curve, but to a straight line. Maybe that has something to do with switching graphic driver from nv to nouveau?
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-04-12 22:29:54 UTC
Have you tried kde-4.6? 

No news on upstream bug report unfortunately...
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-10-17 19:57:27 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:15:39 UTC
Tested with 4.7.3. Can't reproduce.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-11-16 00:17:45 UTC
(In reply to comment #5)
> Tested with 4.7.3. Can't reproduce.

OK, bye bye bug.