[kde] [Bug 392779] New: Cursor doesn't disappear after deselecting QLabel

Egor Vladimirovich bugzilla_noreply at kde.org
Thu Apr 5 22:53:31 BST 2018


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

            Bug ID: 392779
           Summary: Cursor doesn't disappear after deselecting QLabel
           Product: kde
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: egor at opensrc.club
  Target Milestone: ---

Created attachment 111861
  --> https://bugs.kde.org/attachment.cgi?id=111861&action=edit
Screenshot of the bug, as it appears in Dolphin

When you change focus from a selectable QLabel (that is, a QLabel with
TextSelectableByKeyboard and TextSelectableByMouse interaction flags set), the
text cursor doesn't disappear. You can click back on the label, and it will
change the position of cursor as intended, but clicking on anything else won't
remove the cursor.

Steps to reproduce:
1) right click on any file in Dolphin
2) click Properties
3) on General tab, click anywhere inside Location field (make sure you don't
select any characters)
4) click the edit control on the top (the one with file name)

Actual Results:
The text cursor in Location field didn't disappear

Expected Results:
The cursor should disappear

Versions:
KDE Plasma Version: 5.12.4
KDE Frameworks Version: 5.44.0
Qt Version: 5.10.1
Kernel Version: 4.15.14-1-ARCH
Dolphin Version: 17.12.3

Additional Information:
This bug only occurs if nothing is selected. If at least one character is
selected, both the cursor and the highlight of the selected characters
disappear as intended.

This doesn't seem like a Dolphin bug. I made a Qt form with multiple QLabels,
and after clicking on each label, all of them had a text cursor.

This also doesn't look like a glitch, it's very consistent in how it works, and
it doesn't disappear on its own.

I should also note that the cursors (both the "real" one as well as the
"shadow" ones) don't blink. Not sure if they are supposed to blink or not, as I
don't remember how it's supposed to be. The cursor in the line edit widget
blinks correctly.

Things I tried:
- Changing window decorations and widget styles
- Disabling compositor (Shift+Alt+F12)
- Rebooting

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list