internal: no async loaders
Fixes reload issue and all stuff not loading issues
This commit is contained in:
parent
44e8d811c1
commit
4f7f21a86d
42 changed files with 0 additions and 70 deletions
|
|
@ -74,7 +74,6 @@ StyledRect {
|
|||
}
|
||||
|
||||
Loader {
|
||||
asynchronous: true
|
||||
active: !!root.label
|
||||
visible: active
|
||||
|
||||
|
|
@ -103,7 +102,6 @@ StyledRect {
|
|||
Loader {
|
||||
id: tooltipLoader
|
||||
active: root.tooltip !== ""
|
||||
asynchronous: true
|
||||
z: 10000
|
||||
width: 0
|
||||
height: 0
|
||||
|
|
|
|||
|
|
@ -51,7 +51,6 @@ Item {
|
|||
|
||||
opacity: view.count === 0 ? 1 : 0
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ColumnLayout {
|
||||
MaterialIcon {
|
||||
|
|
|
|||
|
|
@ -77,7 +77,6 @@ StyledRect {
|
|||
Loader {
|
||||
Layout.rightMargin: Appearance.spacing.small
|
||||
active: folder.index > 0
|
||||
asynchronous: true
|
||||
sourceComponent: StyledText {
|
||||
text: "/"
|
||||
color: Colours.palette.m3onSurfaceVariant
|
||||
|
|
@ -92,7 +91,6 @@ StyledRect {
|
|||
Loader {
|
||||
anchors.fill: parent
|
||||
active: folder.index < root.dialog.cwd.length - 1
|
||||
asynchronous: true
|
||||
sourceComponent: StateLayer {
|
||||
radius: Appearance.rounding.small
|
||||
|
||||
|
|
@ -110,7 +108,6 @@ StyledRect {
|
|||
anchors.leftMargin: Appearance.padding.normal
|
||||
|
||||
active: folder.index === 0 && folder.modelData === "Home"
|
||||
asynchronous: true
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "home"
|
||||
color: root.dialog.cwd.length === 1 ? Colours.palette.m3onSurface : Colours.palette.m3onSurfaceVariant
|
||||
|
|
|
|||
|
|
@ -197,7 +197,6 @@ MouseArea {
|
|||
anchors.fill: parent
|
||||
|
||||
active: root.loader.freeze
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ScreencopyView {
|
||||
captureSource: root.screen
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ Loader {
|
|||
anchors.margins: Appearance.padding.large
|
||||
|
||||
active: Config.background.desktopClock.enabled
|
||||
asynchronous: true
|
||||
|
||||
source: "DesktopClock.qml"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ Item {
|
|||
anchors.fill: parent
|
||||
|
||||
active: !root.source
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: StyledRect {
|
||||
color: Colours.palette.m3surfaceContainer
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ Column {
|
|||
|
||||
active: Config.bar.clock.showIcon
|
||||
visible: active
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "calendar_month"
|
||||
|
|
|
|||
|
|
@ -265,7 +265,6 @@ StyledRect {
|
|||
required property string name
|
||||
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
asynchronous: true
|
||||
visible: active
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -167,7 +167,6 @@ Item {
|
|||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||
Layout.preferredHeight: Config.bar.sizes.innerWidth - Appearance.padding.small * 2
|
||||
|
||||
asynchronous: true
|
||||
sourceComponent: ws.icon.length === 1 ? letterComp : iconComp
|
||||
|
||||
Component {
|
||||
|
|
@ -199,7 +198,6 @@ Item {
|
|||
|
||||
visible: active
|
||||
active: ws.hasWindows
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: Column {
|
||||
spacing: 0
|
||||
|
|
@ -292,7 +290,6 @@ Item {
|
|||
|
||||
Loader {
|
||||
active: Config.bar.workspaces.activeIndicator
|
||||
asynchronous: true
|
||||
anchors.fill: parent
|
||||
|
||||
sourceComponent: Item {
|
||||
|
|
|
|||
|
|
@ -61,7 +61,6 @@ ColumnLayout {
|
|||
|
||||
visible: active
|
||||
active: root.hasWindows
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: Column {
|
||||
spacing: 0
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ StyledClippingRect {
|
|||
|
||||
Loader {
|
||||
active: Config.bar.workspaces.occupiedBg
|
||||
asynchronous: true
|
||||
|
||||
anchors.fill: parent
|
||||
anchors.margins: Appearance.padding.small
|
||||
|
|
@ -78,7 +77,6 @@ StyledClippingRect {
|
|||
Loader {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
active: Config.bar.workspaces.activeIndicator
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ActiveIndicator {
|
||||
activeWsId: root.activeWsId
|
||||
|
|
@ -114,7 +112,6 @@ StyledClippingRect {
|
|||
anchors.margins: Appearance.padding.small
|
||||
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
|
||||
scale: root.onSpecial ? 1 : 0.5
|
||||
opacity: root.onSpecial ? 1 : 0
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ Column {
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
active: PowerProfiles.degradationReason !== PerformanceDegradationReason.None
|
||||
asynchronous: true
|
||||
|
||||
height: active ? (item?.implicitHeight ?? 0) : 0
|
||||
|
||||
|
|
|
|||
|
|
@ -142,7 +142,6 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
Loader {
|
||||
asynchronous: true
|
||||
active: device.modelData.bonded
|
||||
sourceComponent: Item {
|
||||
implicitWidth: connectBtn.implicitWidth
|
||||
|
|
|
|||
|
|
@ -85,7 +85,6 @@ StackView {
|
|||
anchors.right: parent.right
|
||||
|
||||
active: !item.modelData.isSeparator
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: Item {
|
||||
implicitHeight: label.implicitHeight
|
||||
|
|
@ -118,7 +117,6 @@ StackView {
|
|||
anchors.left: parent.left
|
||||
|
||||
active: item.modelData.icon !== ""
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: IconImage {
|
||||
implicitSize: label.implicitHeight
|
||||
|
|
@ -155,7 +153,6 @@ StackView {
|
|||
anchors.right: parent.right
|
||||
|
||||
active: item.modelData.hasChildren
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "chevron_right"
|
||||
|
|
@ -169,7 +166,6 @@ StackView {
|
|||
|
||||
Loader {
|
||||
active: menu.isSubMenu
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: Item {
|
||||
implicitWidth: back.implicitWidth
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ Item {
|
|||
id: content
|
||||
|
||||
shouldBeActive: root.hasCurrent && !root.detachedMode
|
||||
asynchronous: true
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
|
|
@ -112,7 +111,6 @@ Item {
|
|||
|
||||
Comp {
|
||||
shouldBeActive: root.detachedMode === "winfo"
|
||||
asynchronous: true
|
||||
anchors.centerIn: parent
|
||||
|
||||
sourceComponent: WindowInfo {
|
||||
|
|
@ -123,7 +121,6 @@ Item {
|
|||
|
||||
Comp {
|
||||
shouldBeActive: root.detachedMode === "any"
|
||||
asynchronous: true
|
||||
anchors.centerIn: parent
|
||||
|
||||
sourceComponent: ControlCenter {
|
||||
|
|
@ -173,7 +170,6 @@ Item {
|
|||
|
||||
property bool shouldBeActive
|
||||
|
||||
asynchronous: true
|
||||
active: false
|
||||
opacity: 0
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ Item {
|
|||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 2
|
||||
|
||||
asynchronous: true
|
||||
active: root.floating
|
||||
visible: active
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ Item {
|
|||
|
||||
Loader {
|
||||
Layout.topMargin: Appearance.spacing.large
|
||||
asynchronous: true
|
||||
active: !root.session.floating
|
||||
visible: active
|
||||
|
||||
|
|
|
|||
|
|
@ -129,7 +129,6 @@ ClippingRectangle {
|
|||
|
||||
anchors.fill: parent
|
||||
clip: false
|
||||
asynchronous: true
|
||||
active: false
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@ Item {
|
|||
Layout.fillHeight: true
|
||||
Layout.bottomMargin: -Appearance.padding.large * 2
|
||||
|
||||
asynchronous: true
|
||||
active: {
|
||||
const isActive = root.session.activeIndex === 3;
|
||||
const isAdjacent = Math.abs(root.session.activeIndex - 3) === 1;
|
||||
|
|
|
|||
|
|
@ -129,7 +129,6 @@ CollapsibleSection {
|
|||
|
||||
Loader {
|
||||
active: isCurrent
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "check"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ CollapsibleSection {
|
|||
id: materialFontLoader
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: item ? Math.min(item.contentHeight, 300) : 0
|
||||
asynchronous: true
|
||||
active: materialFontSection.expanded
|
||||
|
||||
sourceComponent: StyledListView {
|
||||
|
|
@ -84,7 +83,6 @@ CollapsibleSection {
|
|||
|
||||
Loader {
|
||||
active: isCurrent
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "check"
|
||||
|
|
@ -110,7 +108,6 @@ CollapsibleSection {
|
|||
Loader {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: item ? Math.min(item.contentHeight, 300) : 0
|
||||
asynchronous: true
|
||||
active: monoFontSection.expanded
|
||||
|
||||
sourceComponent: StyledListView {
|
||||
|
|
@ -165,7 +162,6 @@ CollapsibleSection {
|
|||
|
||||
Loader {
|
||||
active: isCurrent
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "check"
|
||||
|
|
@ -191,7 +187,6 @@ CollapsibleSection {
|
|||
Loader {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: item ? Math.min(item.contentHeight, 300) : 0
|
||||
asynchronous: true
|
||||
active: sansFontSection.expanded
|
||||
|
||||
sourceComponent: StyledListView {
|
||||
|
|
@ -246,7 +241,6 @@ CollapsibleSection {
|
|||
|
||||
Loader {
|
||||
active: isCurrent
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "check"
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ RowLayout {
|
|||
anchors.leftMargin: Appearance.padding.large
|
||||
anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2
|
||||
|
||||
asynchronous: true
|
||||
sourceComponent: root.leftContent
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
@ -91,7 +90,6 @@ RowLayout {
|
|||
anchors.fill: parent
|
||||
anchors.margins: Appearance.padding.large * 2
|
||||
|
||||
asynchronous: true
|
||||
sourceComponent: root.rightContent
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ Item {
|
|||
transformOrigin: Item.Center
|
||||
|
||||
clip: false
|
||||
asynchronous: true
|
||||
sourceComponent: rightPaneItem.targetComponent
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -289,7 +289,6 @@ Item {
|
|||
id: appsListLoader
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
asynchronous: true
|
||||
active: true
|
||||
|
||||
sourceComponent: StyledListView {
|
||||
|
|
@ -396,7 +395,6 @@ Item {
|
|||
transformOrigin: Item.Center
|
||||
clip: false
|
||||
|
||||
asynchronous: true
|
||||
sourceComponent: rightLauncherPane.targetComponent
|
||||
active: true
|
||||
|
||||
|
|
|
|||
|
|
@ -208,7 +208,6 @@ Item {
|
|||
transformOrigin: Item.Center
|
||||
clip: false
|
||||
|
||||
asynchronous: true
|
||||
sourceComponent: rightPaneItem.targetComponent
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ Item {
|
|||
anchors.leftMargin: Appearance.padding.large
|
||||
anchors.rightMargin: Appearance.padding.large
|
||||
|
||||
asynchronous: true
|
||||
sourceComponent: taskbarContentComponent
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ Item {
|
|||
Loader {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
asynchronous: true
|
||||
active: Config.services.useTwelveHourClock
|
||||
visible: active
|
||||
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ Item {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
active: `${root.modelData?.name} ${root.modelData?.flavour}` === Schemes.currentScheme
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "check"
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ Item {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
active: root.modelData?.variant === Schemes.currentVariant
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MaterialIcon {
|
||||
text: "check"
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ ColumnLayout {
|
|||
Layout.leftMargin: Appearance.spacing.small
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
|
||||
asynchronous: true
|
||||
active: Config.services.useTwelveHourClock
|
||||
visible: active
|
||||
|
||||
|
|
|
|||
|
|
@ -143,7 +143,6 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
component WrappedLoader: Loader {
|
||||
asynchronous: true
|
||||
visible: active
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ ColumnLayout {
|
|||
|
||||
Loader {
|
||||
anchors.centerIn: parent
|
||||
asynchronous: true
|
||||
active: opacity > 0
|
||||
opacity: Notifs.list.length > 0 ? 0 : 1
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ StyledRect {
|
|||
|
||||
Loader {
|
||||
anchors.centerIn: parent
|
||||
asynchronous: true
|
||||
sourceComponent: root.image ? imageComp : root.appIcon ? appIconComp : materialIconComp
|
||||
}
|
||||
}
|
||||
|
|
@ -95,7 +94,6 @@ StyledRect {
|
|||
Loader {
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
asynchronous: true
|
||||
active: root.appIcon && root.image
|
||||
|
||||
sourceComponent: StyledRect {
|
||||
|
|
@ -254,7 +252,6 @@ StyledRect {
|
|||
opacity: root.expanded ? 1 : 0
|
||||
Layout.preferredHeight: root.expanded ? implicitHeight : 0
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ColumnLayout {
|
||||
Repeater {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ ColumnLayout {
|
|||
Layout.bottomMargin: -Appearance.padding.large
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
asynchronous: true
|
||||
active: root.rootHeight > 610
|
||||
visible: active
|
||||
|
||||
|
|
@ -73,7 +72,6 @@ ColumnLayout {
|
|||
|
||||
Loader {
|
||||
Layout.rightMargin: Appearance.padding.smaller
|
||||
asynchronous: true
|
||||
active: root.width > 400
|
||||
visible: active
|
||||
|
||||
|
|
@ -113,7 +111,6 @@ ColumnLayout {
|
|||
Layout.bottomMargin: Appearance.padding.large * 2
|
||||
Layout.fillWidth: true
|
||||
|
||||
asynchronous: true
|
||||
active: root.rootHeight > 820
|
||||
visible: active
|
||||
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ StyledRect {
|
|||
id: image
|
||||
|
||||
active: root.hasImage
|
||||
asynchronous: true
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
|
|
@ -135,7 +134,6 @@ StyledRect {
|
|||
id: appIcon
|
||||
|
||||
active: root.hasAppIcon || !root.hasImage
|
||||
asynchronous: true
|
||||
|
||||
anchors.horizontalCenter: root.hasImage ? undefined : image.horizontalCenter
|
||||
anchors.verticalCenter: root.hasImage ? undefined : image.verticalCenter
|
||||
|
|
@ -152,7 +150,6 @@ StyledRect {
|
|||
id: icon
|
||||
|
||||
active: root.hasAppIcon
|
||||
asynchronous: true
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
|
|
@ -169,7 +166,6 @@ StyledRect {
|
|||
|
||||
Loader {
|
||||
active: !root.hasAppIcon
|
||||
asynchronous: true
|
||||
anchors.centerIn: parent
|
||||
anchors.horizontalCenterOffset: -Appearance.font.size.large * 0.02
|
||||
anchors.verticalCenterOffset: Appearance.font.size.large * 0.02
|
||||
|
|
|
|||
|
|
@ -112,7 +112,6 @@ Item {
|
|||
Layout.preferredHeight: shouldBeActive ? Config.osd.sizes.sliderHeight : 0
|
||||
opacity: shouldBeActive ? 1 : 0
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
visible: active
|
||||
|
||||
Behavior on Layout.preferredHeight {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ Item {
|
|||
|
||||
Loader {
|
||||
anchors.centerIn: parent
|
||||
asynchronous: true
|
||||
active: opacity > 0
|
||||
opacity: root.notifCount > 0 ? 0 : 1
|
||||
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@ StyledRect {
|
|||
|
||||
Loader {
|
||||
anchors.centerIn: parent
|
||||
asynchronous: true
|
||||
sourceComponent: root.image ? imageComp : root.appIcon ? appIconComp : materialIconComp
|
||||
}
|
||||
}
|
||||
|
|
@ -117,7 +116,6 @@ StyledRect {
|
|||
Loader {
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
asynchronous: true
|
||||
active: root.appIcon && root.image
|
||||
|
||||
sourceComponent: StyledRect {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ Loader {
|
|||
|
||||
opacity: root.props.recordingConfirmDelete ? 1 : 0
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: MouseArea {
|
||||
id: deleteConfirmation
|
||||
|
|
|
|||
|
|
@ -167,7 +167,6 @@ ColumnLayout {
|
|||
|
||||
opacity: list.count === 0 ? 1 : 0
|
||||
active: opacity > 0
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ColumnLayout {
|
||||
spacing: Appearance.spacing.small
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ ColumnLayout {
|
|||
|
||||
Loader {
|
||||
active: root.client?.lastIpcObject.floating
|
||||
asynchronous: true
|
||||
Layout.fillWidth: active
|
||||
Layout.leftMargin: active ? 0 : -parent.spacing
|
||||
Layout.rightMargin: active ? 0 : -parent.spacing
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ Item {
|
|||
Loader {
|
||||
anchors.centerIn: parent
|
||||
active: !root.client
|
||||
asynchronous: true
|
||||
|
||||
sourceComponent: ColumnLayout {
|
||||
spacing: 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue