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

            Bug ID: 416574
           Summary: Caret is in the wrong position relative to text in
                    Qscintilla boxes
           Product: plasmashell
           Version: 5.17.5
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: isaacson31...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

Created attachment 125297
  --> https://bugs.kde.org/attachment.cgi?id=125297&action=edit
Qscintilla widget with misplaced caret

SUMMARY

In certain types of Qscintilla text boxes (I haven't been able to establish
which yet), the caret is in the wrong place relative to the text (see attached
screenshot).

The location is exactly where it should be if the text had no kerning - ie the
caret assumes no kerning, but the text is kerned.

I've tried different fonts, turning kerning on/off in Qt designer, changing the
system font, all to no effect.

Others have reported that the issue does not occur in other DEs on the same
platforms (Manjaro Gnome and Manjaro Xcfe have been tried), so it's something
to do with the way KDE renders these particular boxes.

STEPS TO REPRODUCE
1. Open a QgsExpressionBuilderWidget - The easiest way to do this is through
Qgis (mapping software) which uses the widget. a) Open Qgis b) Add a scratch
layer c) go to properties>manage fields>field calculator

2. Type in a string of letters ('w' works well)



OBSERVED RESULT

The caret is someway away from the actual letters

EXPECTED RESULT

The caret should follow the letters


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 4.19.97-1-MANJARO x86_64
(available in About System)
KDE Plasma Version: KDE Plasma 5.17.5
KDE Frameworks Version: 
Qt Version: 5.14.0

ADDITIONAL INFORMATION

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

Reply via email to