Bug 404008 - Welcome screen: search field in toolbar doesn't look like a search field
Summary: Welcome screen: search field in toolbar doesn't look like a search field
Status: RESOLVED FIXED
Alias: None
Product: ring-kde
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Emmanuel Lepage Vallée
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-06 15:14 UTC by Nate Graham
Modified: 2019-02-28 16:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2019-02-06 15:14:42 UTC
The welcome screen's toolbar has a search field. But it doesn't look like a search field. Typically search fields actually have a text edit frame with a blinking insertion point cursor. This one doesn't.
Comment 1 Emmanuel Lepage Vallée 2019-02-06 15:19:53 UTC
I am a bit puzzled by this one, some /computer/ show the border and some don't. Regardless of the theme or color scheme. I did not investigate. searchbox.qml has

    border.width: 1
    border.color: Kirigami.Theme.textColor
Comment 2 Emmanuel Lepage Vallée 2019-02-28 16:28:43 UTC
Turns out this is a regression in Qt 5.12

From https://doc.qt.io/qt-5/qml-qtquick-controls2-textfield.html#background-prop

> Note: If the background item has no explicit size specified, it automatically 
> follows the control's size. In most cases, there is no need to specify width or 
> height for a background item.

This is currently not true with the Material theme on 5.12. The size was 0x0 until I set "height: search.height; width: search.width" on the background item.