Bug 506994

Summary: Lines are shifted, Viewport broken, Kompare unusable
Product: [Applications] kompare Reporter: A Linux User <idontfeelcomfygivingyoumyemail>
Component: viewpartAssignee: Kompare developers <kompare-devel>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: NOR    
Version First Reported In: 4.2.25043   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of bug

Description A Linux User 2025-07-13 15:20:53 UTC
Created attachment 183205 [details]
Screenshot of bug

SUMMARY
When comparing two files, the viewport is broken. See attachment. It looks like every line is shifted or so? This is even worse with proper code, this is just an example.
This effectively renders Kompare completely unusable, similar to it not starting at all.

STEPS TO REPRODUCE
1. Open Kompare
2. Pick any two files to compare against.


OBSERVED RESULT
The lines are all broken and unreadable

EXPECTED RESULT
Proper lines

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version:  6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
100% reproducible for me
Comment 1 A Linux User 2025-07-13 15:22:59 UTC
Ah, my bad, I should have went with severity `grave`, as it is unusable. Critical is only for data loss, which was not observed on my part.
Comment 2 Christoph Feck 2025-07-29 18:07:54 UTC

*** This bug has been marked as a duplicate of bug 481778 ***