Add upstream patch to reduce overly long animation speed in Plasma Desktop in combination with KDE Frameworks 5.70
An explanation of the issue can be found here: https://pointieststick.com/2020/05/10/why-the-animations-in-your-plasma-5-18-feel-slow-now-and-when-it-will-be-fixed/
This commit is contained in:
parent
adab78854d
commit
41bce85f20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535465
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= plasma-desktop
|
||||
DISTVERSION= ${KDE_PLASMA_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 kde kde-plasma
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
|
128
x11/plasma5-plasma-desktop/files/patch-git-f3bbc0b
Normal file
128
x11/plasma5-plasma-desktop/files/patch-git-f3bbc0b
Normal file
@ -0,0 +1,128 @@
|
||||
From f3bbc0ba0e34ea1b34b106228c02d85865ed904a Mon Sep 17 00:00:00 2001
|
||||
From: Nate Graham <nate@kde.org>
|
||||
Date: Tue, 24 Mar 2020 08:15:12 -0600
|
||||
Subject: [PATCH] Stop multiplying duration values
|
||||
|
||||
Summary:
|
||||
After D28144, some animations are now too long because they were inappropriately
|
||||
multiplying a duration value. That's no longer necessary, so let's remove the
|
||||
multiplication.
|
||||
|
||||
Depends on D28144
|
||||
|
||||
Test Plan: Various things that were a bit too slow before feel just right now
|
||||
|
||||
Reviewers: #vdg, #plasma
|
||||
|
||||
Subscribers: plasma-devel
|
||||
|
||||
Tags: #plasma
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D28239
|
||||
---
|
||||
applets/taskmanager/package/contents/ui/Task.qml | 2 +-
|
||||
applets/taskmanager/package/contents/ui/TaskList.qml | 2 +-
|
||||
.../contents/configuration/PanelConfiguration.qml | 4 ++--
|
||||
desktoppackage/contents/explorer/WidgetExplorer.qml | 6 +++---
|
||||
toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml | 6 +++---
|
||||
5 files changed, 10 insertions(+), 10 deletions(-)
|
||||
|
||||
--- applets/taskmanager/package/contents/ui/Task.qml.orig 2020-05-05 14:51:18 UTC
|
||||
+++ applets/taskmanager/package/contents/ui/Task.qml
|
||||
@@ -293,7 +293,7 @@ MouseArea {
|
||||
Timer {
|
||||
id: timer
|
||||
|
||||
- interval: units.longDuration * 2
|
||||
+ interval: units.longDuration
|
||||
repeat: false
|
||||
|
||||
onTriggered: {
|
||||
--- applets/taskmanager/package/contents/ui/TaskList.qml.orig 2020-05-05 14:51:18 UTC
|
||||
+++ applets/taskmanager/package/contents/ui/TaskList.qml
|
||||
@@ -34,7 +34,7 @@ Flow {
|
||||
NumberAnimation {
|
||||
properties: "x, y"
|
||||
easing.type: Easing.OutQuad
|
||||
- duration: units.longDuration * 2
|
||||
+ duration: units.longDuration
|
||||
}
|
||||
|
||||
PropertyAction { target: taskList; property: "animating"; value: false }
|
||||
--- desktoppackage/contents/configuration/PanelConfiguration.qml.orig 2020-05-05 14:51:18 UTC
|
||||
+++ desktoppackage/contents/configuration/PanelConfiguration.qml
|
||||
@@ -103,7 +103,7 @@ PlasmaCore.FrameSvgItem {
|
||||
return panel.screenGeometry.y + panel.screenGeometry.height - panel.height - panel.distance
|
||||
}
|
||||
}
|
||||
- duration: units.shortDuration * 3
|
||||
+ duration: units.shortDuration
|
||||
}
|
||||
|
||||
NumberAnimation {
|
||||
@@ -122,7 +122,7 @@ PlasmaCore.FrameSvgItem {
|
||||
return panel.screenGeometry.y + panel.screenGeometry.height - panel.height - configDialog.height - panel.distance
|
||||
}
|
||||
}
|
||||
- duration: units.shortDuration * 3
|
||||
+ duration: units.shortDuration
|
||||
}
|
||||
}
|
||||
//END Animations
|
||||
--- desktoppackage/contents/explorer/WidgetExplorer.qml.orig 2020-05-05 14:51:18 UTC
|
||||
+++ desktoppackage/contents/explorer/WidgetExplorer.qml
|
||||
@@ -306,7 +306,7 @@ Item {
|
||||
properties: "x"
|
||||
from: -list.width
|
||||
to: 0
|
||||
- duration: units.shortDuration * 3
|
||||
+ duration: units.shortDuration
|
||||
|
||||
}
|
||||
}
|
||||
@@ -316,7 +316,7 @@ Item {
|
||||
NumberAnimation {
|
||||
properties: "x"
|
||||
to: list.width
|
||||
- duration: units.shortDuration * 3
|
||||
+ duration: units.shortDuration
|
||||
}
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ Item {
|
||||
displaced: Transition {
|
||||
NumberAnimation {
|
||||
properties: "y"
|
||||
- duration: units.shortDuration * 3
|
||||
+ duration: units.shortDuration
|
||||
}
|
||||
}
|
||||
}
|
||||
--- toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml.orig 2020-05-05 14:51:18 UTC
|
||||
+++ toolboxes/desktoptoolbox/contents/ui/ToolBoxButton.qml
|
||||
@@ -54,14 +54,14 @@ Item {
|
||||
}
|
||||
Behavior on rotation {
|
||||
NumberAnimation {
|
||||
- duration: units.shortDuration * 3;
|
||||
+ duration: units.shortDuration;
|
||||
easing.type: Easing.InOutExpo;
|
||||
}
|
||||
enabled: visible
|
||||
}
|
||||
Behavior on x {
|
||||
NumberAnimation {
|
||||
- duration: units.shortDuration * 3;
|
||||
+ duration: units.shortDuration;
|
||||
easing.type: Easing.InOutExpo;
|
||||
}
|
||||
enabled: visible
|
||||
@@ -69,7 +69,7 @@ Item {
|
||||
}
|
||||
Behavior on y {
|
||||
NumberAnimation {
|
||||
- duration: units.shortDuration * 3;
|
||||
+ duration: units.shortDuration;
|
||||
easing.type: Easing.InOutExpo;
|
||||
}
|
||||
enabled: visible
|
@ -2,8 +2,12 @@
|
||||
|
||||
PORTNAME= plasma-workspace
|
||||
DISTVERSION= ${KDE_PLASMA_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11 kde kde-plasma
|
||||
|
||||
PATCH_SITES= https://github.com/KDE/plasma-workspace/commit/
|
||||
PATCHFILES= 2958702524348e9e4fcbdf490be731e92b353dad.patch:-p1
|
||||
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= Plasma5 Plasma workspace
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
TIMESTAMP = 1588756274
|
||||
TIMESTAMP = 1589629399
|
||||
SHA256 (KDE/plasma/5.18.5/plasma-workspace-5.18.5.tar.xz) = 14e82033be745f4db46a70d319e2c86012295ea31056092bc974004189b92354
|
||||
SIZE (KDE/plasma/5.18.5/plasma-workspace-5.18.5.tar.xz) = 5696256
|
||||
SHA256 (KDE/plasma/5.18.5/2958702524348e9e4fcbdf490be731e92b353dad.patch) = 2e44fb12c5289d0a376a910ff4afdc24bc8dcf059b31e8124cd7b4e85f31fac4
|
||||
SIZE (KDE/plasma/5.18.5/2958702524348e9e4fcbdf490be731e92b353dad.patch) = 3893
|
||||
|
Loading…
Reference in New Issue
Block a user