Bug 242576 - Cannot unset background color
Summary: Cannot unset background color
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 188982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-23 11:44 UTC by angel.tsankov
Modified: 2012-03-04 19:30 UTC (History)
2 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 angel.tsankov 2010-06-23 11:44:10 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

It seems that I cannot unset the background color in the normal text style for "Alert" and "Region Marker" and I cannot make errors not underlined -- when I close and reopen the configuration dialog these elements are reset to their defaults.

Reproducible: Always

Steps to Reproduce:
1. Open the normal text styles configuration dialog
2. Unset the background for "Alert"
3. Press "Apply", close and re-open the configuration dialog

Actual Results:  
The changes are lost

Expected Results:  
The changes should be preserved, shouldn't they?

Happens with kate 3.4.4.
Comment 1 Dominik Haumann 2010-06-23 13:39:18 UTC
*** Bug 188982 has been marked as a duplicate of this bug. ***
Comment 2 Pierre 2011-05-30 13:16:50 UTC
This bug also affects third party Latex editor Kile, which is using Kate as text editing component. 

Same symptoms : 
In Settings/Editors/Fonts & Colors :
 * Right-click on a background color (that was previously set to some color) and select "Unset Background Color". It seems to work
 * but as soon as the Dialog is accepted, there is no change in the Text Editor colors
 * and reopening the Settings dialog shows that changes were lost.

Kile : 2.0.85 for KDE 4.4.5 (Ubuntu 10.4)
I unfortunately cannot test a more recent version of KDE.

Either it has been fixed and the bug should be closed, or it should be CONFIRMED !
Comment 3 Dominik Haumann 2012-02-27 13:30:43 UTC
This seems to work for me. Can you please try again?
Comment 4 Dominik Haumann 2012-03-04 19:24:21 UTC
Git commit 2c0a1b1a225443b40f461ddcdc7694bd403c1bcc by Dominik Haumann.
Committed on 04/03/2012 at 20:20.
Pushed by dhaumann into branch 'master'.

fix bug 242576: cannot unset background colors

Anders already fixed this issue already in bug #97400 in January 2005.
In October 2005 Hamish overwrote this again accidently. Hence, this
bug was back for 6 years now. Finally, fix it again.

M  +2    -2    part/syntax/katesyntaxmanager.cpp

http://commits.kde.org/kate/2c0a1b1a225443b40f461ddcdc7694bd403c1bcc
Comment 5 Dominik Haumann 2012-03-04 19:30:03 UTC
Git commit 8021a3c937a062d45362df1f2f0ae082574f6c58 by Dominik Haumann.
Committed on 04/03/2012 at 20:25.
Pushed by dhaumann into branch 'KDE/4.8'.

backport: make unset background colors work again
Related: bug 97400

M  +2    -2    part/syntax/katesyntaxmanager.cpp

http://commits.kde.org/kate/8021a3c937a062d45362df1f2f0ae082574f6c58