Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.15.2
-
None
Description
I recently upgraded Qt version of a project from 5.12.8 to 5.15.2. I have a custom ScrollBar in ScrollView, it works fine. But there are also another noninteractive tiny ScrollBars on corners.
import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true ScrollView { anchors.centerIn: parent width: 200 height: 200 contentWidth: 400 contentHeight: 400 clip: true ScrollBar.horizontal: ScrollBar { visible: false } ScrollBar.vertical: ScrollBar { visible: false } Rectangle { width: 400 height: 400 gradient: Gradient { GradientStop { position: 0.0; color: "lightsteelblue" } GradientStop { position: 1.0; color: "blue" } } } } }
It was not an issue back in Qt5.12.8. I tested it on Android, Ubuntu, Windows and custom Buildroot Linux. Seems like it applies to all platforms.
Attachments
Issue Links
- duplicates
-
QTBUG-89126 REG: ScrollView doesn't remove ScrollBar after settinging the new one
- Closed