Bug 489585 - Kate duplicates first visible line on overscroll
Summary: Kate duplicates first visible line on overscroll
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 24.05.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 06:27 UTC by gudvinr+kde
Modified: 2024-10-16 03:47 UTC (History)
2 users (show)

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


Attachments
file causing issue (128.55 KB, text/x-log)
2024-07-02 06:27 UTC, gudvinr+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gudvinr+kde 2024-07-02 06:27:06 UTC
Created attachment 171266 [details]
file causing issue

SUMMARY

When I enabled search in one file, I noticed that when scrolling down, first visible line gets duplicated.
I suspect that it is related to word wrapping because "line" is actually a wrapped part of the real line.
But I am not sure what exact steps causing this.

STEPS TO REPRODUCE
1. Enable word wrapping
2. Open file with really long lines
3. Open search panel
4. Scroll down with mouse

OBSERVED RESULT
First line visibly duplicates

EXPECTED RESULT
Regular scrolling through text

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-arch1-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Video is too big to attach, here's google drive link:
https://drive.google.com/file/d/16-jnCA5bzvJrLMchbZXL5ViDxLcU4Fwo/view
Comment 1 TraceyC 2024-07-02 20:25:44 UTC
Thank you for the bug report, for the example file, and the video, that shows exactly what the problem is.

I wasn't able to reproduce this on either Solus (X11) or KDE Neon (Wayland), and I don't see other issues open about this.

Kate 24.05.1
1. Open the attached file in Kate
2. Have only dynamic wrapping enabled
3. Open Search & Replace
4. Scroll down to the bottom and then back up, down, up

Side note: I found it's possible to check both dynamic and static word wrap

I wonder if this is related to the particular video driver in use. What graphics card do you have?
Do you have any drivers installed for it? (Nouveau, nVidia etc)?
Do you have any other settings you can think of that might affect the view?
Comment 2 gudvinr+kde 2024-07-03 15:01:46 UTC
(In reply to TraceyC from comment #1)
> I wonder if this is related to the particular video driver in use. What
> graphics card do you have?
> Do you have any drivers installed for it? (Nouveau, nVidia etc)?

========
eglinfo
========
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Radeon RX Vega M GL Graphics (radeonsi, vegam, LLVM 17.0.6, DRM 3.57, 6.9.7-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.1.2-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Radeon RX Vega M GL Graphics (radeonsi, vegam, LLVM 17.0.6, DRM 3.57, 6.9.7-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.1.2-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Radeon RX Vega M GL Graphics (radeonsi, vegam, LLVM 17.0.6, DRM 3.57, 6.9.7-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.2-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
========

========
vulkaninfo
========
GPU0:
        apiVersion         = 1.3.278
        driverVersion      = 24.1.2
        vendorID           = 0x1002
        deviceID           = 0x694e
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = AMD Radeon RX Vega M GL Graphics (RADV VEGAM)
        driverID           = DRIVER_ID_MESA_RADV
        driverName         = radv
        driverInfo         = Mesa 24.1.2-arch1.1
        conformanceVersion = 1.2.7.1
        deviceUUID         = 00000000-0100-0000-0000-000000000000
        driverUUID         = 414d442d-4d45-5341-2d44-525600000000
========
Comment 3 TraceyC 2024-07-03 15:14:15 UTC
My system has an nVidia card. I'll leave this open so hopefully someone with an AMD gpu can test.
Comment 4 Christoph Cullmann 2024-09-15 15:54:00 UTC
Hi, can not reproduce either. Thanks a lot for the video + the test file, but seems to not happen for me. Could you try with the latest 24.08 release?
Comment 5 gudvinr+kde 2024-09-16 08:32:42 UTC
Can't reproduce myself either. But I'm not sure what was the cause in the first place.
Likely word wrap but why?

Issue can be closed I think if there were no other reports and nobody is able to reproduce it anymore.
Comment 6 Bug Janitor Service 2024-10-01 03:47:03 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-10-16 03:47:48 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.