Commit 682c9cfb authored by Nate Graham's avatar Nate Graham
Browse files

Work around QTBUG-83890

This bug is still not fixed, so let's push a harmless workaround for it
to benefit users whose distros haven't backported the submitted patch
for it.
parent ab7f41a3
Pipeline #134669 passed with stage
in 3 minutes and 48 seconds
......@@ -202,6 +202,8 @@ Kirigami.Page {
contentWidth: implicitWidth
contentHeight: allMetaDataLoader.height
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
Loader {
......
......@@ -182,6 +182,9 @@ FocusScope {
Layout.fillWidth: true
Layout.leftMargin: Kirigami.Units.smallSpacing
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentItem: GridView {
id: contentDirectoryView
......
......@@ -143,6 +143,9 @@ FocusScope {
Layout.fillHeight: true
Layout.fillWidth: true
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentItem: ListView {
id: contentDirectoryView
......
......@@ -97,6 +97,10 @@ Kirigami.Page {
id: desktopListView
ScrollView {
property alias list: playListView
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentItem: ListView {
id: playListView
......
......@@ -67,6 +67,9 @@ Window {
leftPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing
rightPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
ColumnLayout {
MediaTrackMetadataForm {
Layout.maximumWidth: column.width
......
......@@ -270,6 +270,9 @@ ColumnLayout {
Layout.fillHeight: true
Layout.maximumHeight: Kirigami.Units.gridUnit * 12
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
// Show the border
Component.onCompleted: {
scrollview.background.visible = true;
......
......@@ -21,6 +21,9 @@ ScrollView {
signal pausePlayback()
signal displayError(var errorText)
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentItem: ListView {
id: playListView
......
......@@ -29,6 +29,9 @@ ScrollView {
implicitWidth: 225
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
contentItem: ListView {
id: viewModeView
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment