https://bugs.kde.org/show_bug.cgi?id=453742

            Bug ID: 453742
           Summary: color coding is offset by number preceding umlauts per
                    line
           Product: kdevelop
           Version: 5.7.211203
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: UI: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: leokap...@gmail.com
  Target Milestone: ---

Created attachment 148796
  --> https://bugs.kde.org/attachment.cgi?id=148796&action=edit
Screenshot of observed result

STEPS TO REPRODUCE
1. create a *.c file
2. enter some code that will be color coded and includes umlauts near the
beginning of a line. For example:
´´´
#include <stdio.h>

int var;

int main() {
    printf("äää %d\n", var); //asdf
    // if I hover over    ^^^ this section (which is currently in the color of
var)
    // I get the Pop Up I would normally get while hovering over var.
    // var itself is displayed in black like printf.
    // the string has the expected color coding.
}
´´´
3. hover over some variable behind the umlauts.

OBSERVED RESULT
See comment in sample code. The color and the hover sensitive range is in the
wrong place. (See attachment)

EXPECTED RESULT
var should be green and if I hover over var I should get the popup.


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-27-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
For all I know, I didn't tweak any color coding settings. I don't know since
when this bug exists.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to