Created attachment 179774 [details] KDevelop code editor showing horizontal lines SUMMARY When Kdevelop ver 6.1.241203 (24.12.3) is opened and a source file is edited horizontal lines are shown in the code editor. It does not matter what source code is edited, python or C or C++ or something else. For all editors a horizontal line is observed. Please see the attached screenshot for more details. This causes a problem while writing code. STEPS TO REPRODUCE 1. Launch KDevelop. 2. Open an existing project or create a new project (Python/General/C) 3. Open a source file. Observe the 3 horizontal lines that are displayed. OBSERVED RESULT EXPECTED RESULT There should not be any horizontal lines that are displayed. SOFTWARE/OS VERSIONS Windows: NA macOS: NA (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Arch Linux 6.12.20-1-lts (64-bit) KDE Plasma Version: 6.3.3 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION I have tried to change the Colour scheme by going to Settings > Windows Color Scheme and still the behaviour is observed. I changed from Default to various Breeze colour scheme to different Krita colour scheme and still the issue occurs. I have tried t change the Colour Theme from ayu Mirage to Breeze light to Homunculus to Monokai and still the issue persists.
Comment on attachment 179774 [details] KDevelop code editor showing horizontal lines this looks like a hidpi bug to me - do you use fractional scale factors?
(In reply to Milian Wolff from comment #1) > Comment on attachment 179774 [details] > KDevelop code editor showing horizontal lines > > this looks like a hidpi bug to me - do you use fractional scale factors? I do not think I do. If you can let me know how to confirm this, then I can get back to you.
Dont know if this is relevant or not, but I am using SDDM, KWIN and Wayland. Some details are given below KWin version: 6.3.3 SDDM version: 0.21.0-6 Wayland compositor: kwin_wayland Here are some of the environment variables related to display. XDG_SESSION_TYPE = wayland WAYLAND_DISPLAY = wayland-0
Created attachment 179808 [details] Display Settings in the System Settings App This is the screenshot of the Display settings which has the scaling factor set to 115%
(In reply to Milian Wolff from comment #1) > Comment on attachment 179774 [details] > KDevelop code editor showing horizontal lines > > this looks like a hidpi bug to me - do you use fractional scale factors? I looked at the Display Settings and when the scaling factor is set to 115% then the horizontal lines appear in Kdevelop. However If I were to change the Scale to 105% or 125% or 135% or 120% or 110% or 117% then the lines disappear. Side Note when I set the scale factor to 117% the value is changed to 116.667%. The same thing happens for values like 121%, which gets automatically changed to 120.833%. This change of value does not happen for 105% or 115% or 125% or 135%, i.e. the scale factor value remains unchanged. Only when the scale factor value is not a multiple of 5 does the scale factor value gets changed.
sorry to say, but there's nothing we can do to fix this I believe. It would need changes in Qt to resolve these issues I believe. Or maybe katepart can find some way to prevent it, you probably can trigger the same issues there, or? one way or another, nothing we can influence in kdevelop's code
This does not occur with Kate. Only with KDevelop. Does this bug have to be shifted or raised under a new category?
kdevelop and kate share the same editor (katepart) that is used for rendering the area where you are seeing the artefacts. maybe you got "un"lucky that the issue wasn't visible in kate? generally, nothing we can do about it I'm afraid in kdevelop land
Created attachment 179942 [details] Rendering artifacts visible in kate
I definitely see the same issue in kate, too (and in KDevelop). See attached file. Bug should be reported to kate.