Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(aurora): kf.svg log spam and splash gear size #1325

Merged
merged 1 commit into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading