Bug 340363

Summary: JJ: Line number in not properly updated
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Dominik Haumann <dhaumann>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: mikisabate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominik Haumann 2014-10-26 10:58:39 UTC
Since a few weeks, Kate in KF5 gained the option to set a different "Current Line Number" color (in the "Colors" tab, section "Icon Border").

This line number is not repainted correctly when the "Current Line Number" color is different than the "Line Numbers" color. Somewhere, an update() call is missing that tells the icon border to repaint some parts it.
Comment 1 Miquel Sabaté 2014-11-24 11:12:03 UTC
Hi Dominik,

Sorry for not looking to this bug report earlier :) Could you please tell me the exact steps to reproduce this ? The case you are describing works for me.
Comment 2 Dominik Haumann 2014-11-24 18:11:28 UTC
You have to disable showing relative line numbers, then you'll run into this immediately :-)
Comment 3 Miquel Sabaté 2014-11-24 18:14:04 UTC
Ahh, ok, I can reproduce this now. I'll fix this as soon as possible.
Comment 4 Christoph Cullmann 2015-10-08 13:10:35 UTC
Git commit 6743b4fcb3bb5fa7d3b59ea70429c729058a9d75 by Christoph Cullmann.
Committed on 08/10/2015 at 13:10.
Pushed by cullmann into branch 'master'.

fix update of current line number color

M  +4    -2    src/view/kateviewhelpers.cpp
M  +1    -1    src/view/kateviewhelpers.h
M  +2    -2    src/view/kateviewinternal.cpp

http://commits.kde.org/ktexteditor/6743b4fcb3bb5fa7d3b59ea70429c729058a9d75