Skip to content

Commit

Permalink
fix(aurora): kf.svg log spam and splash gear size (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored May 19, 2024
1 parent a3366ca commit 065b90b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/

import QtQuick 2.5
import QtQuick.Window 2.2
import org.kde.plasma.core 2.0 as PlasmaCore
import QtQuick
import org.kde.kirigami 2 as Kirigami

Rectangle {
id: root
Expand All @@ -25,11 +24,6 @@ Rectangle {
}
}

width: 1280
height: 800

Component.onCompleted: stage = 2

Item {
id: content
anchors.fill: parent
Expand All @@ -38,25 +32,27 @@ Rectangle {
Image {
id: logo
//match SDDM/lockscreen avatar positioning
property real size: PlasmaCore.Units.gridUnit * 24
readonly property real size: Kirigami.Units.gridUnit * 8

anchors.centerIn: parent

asynchronous: true
source: "images/aurora_logo.svgz"

sourceSize.width: 128
sourceSize.height: 128
sourceSize.width: size
sourceSize.height: size
}

// TODO: port to PlasmaComponents3.BusyIndicator
Image {
id: busyIndicator
//in the middle of the remaining space
y: parent.height - (parent.height - logo.y) / 3 - height/2
y: parent.height - (parent.height - logo.y) / 2 - height/2
anchors.horizontalCenter: parent.horizontalCenter
asynchronous: true
source: "images/busywidget.svgz"
sourceSize.height: PlasmaCore.Units.gridUnit
sourceSize.width: PlasmaCore.Units.gridUnit
sourceSize.height: Kirigami.Units.gridUnit * 2
sourceSize.width: Kirigami.Units.gridUnit * 2
RotationAnimator on rotation {
id: rotationAnimator
from: 0
Expand All @@ -67,7 +63,7 @@ Rectangle {
duration: 2000
loops: Animation.Infinite
// Don't want it to animate at all if the user has disabled animations
running: PlasmaCore.Units.longDuration > 1
running: Kirigami.Units.longDuration > 1
}
}
}
Expand All @@ -78,7 +74,7 @@ Rectangle {
target: content
from: 0
to: 1
duration: PlasmaCore.Units.veryLongDuration * 2
duration: Kirigami.Units.veryLongDuration * 2
easing.type: Easing.InOutQuad
}
}
}
6 changes: 6 additions & 0 deletions system_files/kinoite/usr/share/qt5/qtlogging.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Rules]
*.debug=false
qt.qpa.xcb.xcberror.warning=false
kf.svg.info=false
kf.svg.debug=false
kf.svg.warning=false
6 changes: 6 additions & 0 deletions system_files/kinoite/usr/share/qt6/qtlogging.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Rules]
*.debug=false
qt.qpa.xcb.xcberror.warning=false
kf.svg.info=false
kf.svg.debug=false
kf.svg.warning=false

0 comments on commit 065b90b

Please sign in to comment.