Correct QT Bug URL for font rendering hack

This makes it clear which version of Qt (5.14) Frameworks has to be
able to depend on before we can remove the font rendering hack.
This commit is contained in:
Nate Graham 2020-07-14 16:35:28 -06:00
parent c0e721429c
commit 1a2e4023b0
10 changed files with 10 additions and 10 deletions

View File

@ -29,7 +29,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
Text {
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
font.pointSize: 22

View File

@ -44,7 +44,7 @@ Text {
activeFocusOnTab: false
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
font.capitalization: theme.defaultFont.capitalization

View File

@ -98,7 +98,7 @@ Item {
text: dualButton.text
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
anchors {
top: parent.top

View File

@ -141,7 +141,7 @@ T.ComboBox {
validator: control.validator
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
color: PlasmaCore.ColorScope.textColor
selectionColor: Kirigami.Theme.highlightColor

View File

@ -30,7 +30,7 @@ T.Label {
activeFocusOnTab: false
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
//font data is the system one by default

View File

@ -47,7 +47,7 @@ T.TextArea {
hoverEnabled: !Kirigami.Settings.tabletMode
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
selectByMouse: !Kirigami.Settings.tabletMode

View File

@ -67,7 +67,7 @@ T.TextField {
hoverEnabled: !Kirigami.Settings.tabletMode
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
selectByMouse: !Kirigami.Settings.tabletMode

View File

@ -42,7 +42,7 @@ QtQuickControlStyle.SpinBoxStyle {
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
PlasmaCore.Svg {

View File

@ -43,7 +43,7 @@ QtQuickControlStyle.TextAreaStyle {
selectedTextColor: control.backgroundVisible ? theme.viewHighlightedTextColor : PlasmaCore.ColorScope.highlightedTextColor
// Work around Qt bug where NativeRendering breaks for non-integer scale factors
// https://bugreports.qt.io/browse/QTBUG-67007
// https://bugreports.qt.io/browse/QTBUG-70481
renderType: QtQuickControlsPrivate.Settings.isMobile || Screen.devicePixelRatio % 1 !== 0 ? Text.QtRendering : Text.NativeRendering
frame: PlasmaCore.FrameSvgItem {

View File

@ -42,7 +42,7 @@ QtQuickControlStyle.TextFieldStyle {
* Using Qt rendering, the dots will look more aligned and equally spaced.
* Also if we are on mobile, make sure we use QtRendering
* Finally, use QtRendering if we're using a non-integer scale factor to work around
* https://bugreports.qt.io/browse/QTBUG-67007
* https://bugreports.qt.io/browse/QTBUG-70481
*
* color with an alpha is also broken. https://bugreports.qt.io/browse/QTBUG-70138
*