Bug 330715

Summary: Static word wrap line fails when zooming
Product: [Applications] kate Reporter: Arne <bugs.kde.org>
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Zoom example 1, static word wrap line at wrong position
Zoom example 2, static word wrap line at wrong position
Zoom example 3, static word wrap line at wrong position

Description Arne 2014-02-03 20:12:42 UTC
When zooming in the kile editor (e.g. ctrl-- and ctrl-+, or ctrl-mousewheel), the static word wrap line behaves erronous. In different zooms the line is drawn at different positions, not always behind character 80 (or whatever character you configured for the static word wrap).

Kile Version 2.1.0 - Using KDE Development Platform 4.8.5

I'll try to attach screenshots, if this bug tracker let's me do this.

Reproducible: Always

Steps to Reproduce:
1. Enable static word wrap
2. Zooming the kile text editor (e.g. ctrl-- and ctrl-+, or ctrl-mousewheel)
Actual Results:  
Static word wrap line is at different characters

Expected Results:  
Static word wrap line is always after character 80 (or whatever character I configure for the static word wrap line)
Comment 1 Arne 2014-02-03 20:13:49 UTC
Created attachment 84974 [details]
Zoom example 1, static word wrap line at wrong position
Comment 2 Arne 2014-02-03 20:14:14 UTC
Created attachment 84975 [details]
Zoom example 2, static word wrap line at wrong position
Comment 3 Arne 2014-02-03 20:14:31 UTC
Created attachment 84976 [details]
Zoom example 3, static word wrap line at wrong position
Comment 4 Arne 2014-02-03 20:17:04 UTC
The attached screenshots show the static word wrap line (configured to mark the 80 characters width) at different positions in the text after zooming, where it should always be right in fromt of the figure '8888 8888'.
Comment 5 Michel Ludwig 2014-02-04 09:59:15 UTC
Forwarding to KatePart.
Comment 6 Christoph Cullmann 2014-09-22 19:49:16 UTC
IMHO that was fixed and works with Kate in KF 5.
At least here it works.