Bug 481778 - Text in lines is cut in half, only lower half of the line text is visible when font size less than 14
Summary: Text in lines is cut in half, only lower half of the line text is visible whe...
Status: CONFIRMED
Alias: None
Product: kompare
Classification: Applications
Component: viewpart (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-24 19:04 UTC by Jure Repinc
Modified: 2024-09-12 15:23 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of the line bug (341.30 KB, image/png)
2024-02-24 19:04 UTC, Jure Repinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2024-02-24 19:04:25 UTC
Created attachment 166069 [details]
Screenshot of the line bug

SUMMARY
When I open Kompare to show differences between two files the text in each line is only partially shown, only the bottom half is shown. I tried selecting different fonts (e.g. Hack, DejaVU Sans Mono) and it made no difference. Only when the font size was 14 or more it was fine. See the attached screenshot.


STEPS TO REPRODUCE
1. Open Kompare
2. Select two files to show diff of
3. Set font size to less than 14

OBSERVED RESULT
Text in each line is cut off in half and only the bottom line is shown

EXPECTED RESULT
Entire text should be shown in the line

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240220
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 31.1 GiB of RAM
Graphics Processor: AMD Radeon RX 480 Graphics

ADDITIONAL INFORMATION
I have two screen setup, one is set to 150% scale the other to 200%
Comment 1 Matti Rintala 2024-03-26 11:22:26 UTC
I have just noticed exactly the same problem, also on Tumbleweed.

Operating System: openSUSE Tumbleweed 20240320
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: X11
Processors: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Memory: 16 GiB of RAM
Graphics Processor: Intel Corporation UHD Graphics 620
Comment 2 Karl Ove Hufthammer 2024-07-06 14:20:44 UTC
I can confirm this bug. It makes Kompare almost unusable.

Operating System: openSUSE Tumbleweed 20240703
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7673
System Version: 1.0
Comment 3 Yevhen Popok 2024-08-31 07:13:03 UTC
Didn't have this problem when Fedora built package with QT5  (v24.05.2).
Now, for v24.08 min required KDE Framework version was raised from 5.24 to 6.0, so I expect that many users will be affected by this.
The last unaffected Flatpak version for me was 24.02.2 built with runtime 5.15-23.08 (see https://github.com/flathub/org.kde.kompare/issues/36).