Bug 433864

Summary: Cursor shape is incorrect when hovering over TextField while placeholder text is visible, except at the very tippy top of it
Product: [Frameworks and Libraries] libplasma Reporter: medin <med.medin.2014>
Component: componentsAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: minor CC: mikel5764, nate, plasma-bugs
Priority: NOR    
Version: 5.79.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.80
Attachments: Mouse Pointer is an arrow in the middle of search field

Description medin 2021-03-02 15:49:20 UTC
Created attachment 136324 [details]
Mouse Pointer is an arrow in the middle of search field

When mouse pointer is put in middle of search area it appears as an arrow while on edge of search area it appears as vertical. See attached image for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.4.100-1-MANJARO
OS Type: 64-bit
Comment 1 Nate Graham 2021-03-02 19:37:21 UTC
Confirmed but only when there is placeholder text. Also this is not Kickoff's fault; it affects all PlasmaComponents3 text fields. Moving to frameworks-plasma.
Comment 2 Nate Graham 2021-03-02 19:40:06 UTC
Oh yay, this is an easy fix. Fixing momentarily.
Comment 3 Nate Graham 2021-03-02 19:44:54 UTC
Git commit 15b75de387af9a9cbbc8aaeac29e29d2a2e2b0f6 by Nate Graham.
Committed on 02/03/2021 at 19:44.
Pushed by ngraham into branch 'master'.

[plasmacomponents3/TextField|TextArea] Fix placeholder text

In TextField, it was not disabled, so the mousearea that changes the
cursor shape wasn't working properly. Fixed now.

In TextArea, it was not disabled, not the right color, and was
inappropriately selectable. Fixed now.

The UI tests were testing for these conditions but were broken, and are
now fixed by these changes.
FIXED-IN: 5.80

M  +2    -0    src/declarativeimports/plasmacomponents3/TextArea.qml
M  +1    -0    src/declarativeimports/plasmacomponents3/TextField.qml

https://invent.kde.org/frameworks/plasma-framework/commit/15b75de387af9a9cbbc8aaeac29e29d2a2e2b0f6