diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /kde-plasma/plasma-workspace/files | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
4 files changed, 187 insertions, 138 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.2-waylandsessionrename.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.2-waylandsessionrename.patch deleted file mode 100644 index 71d1ce4abb87..000000000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.2-waylandsessionrename.patch +++ /dev/null @@ -1,91 +0,0 @@ -From 36bc9bfd9661f88039a8945688e07b0626b48610 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Tue, 15 Oct 2019 18:33:45 +0200 -Subject: [PATCH 1/2] Fix Name conflict between plasma.desktop and - plasmawayland.desktop - -Summary: -SDDM until 0.18.1 appends " (Wayland)" to the name of any session file it -finds in wayland-sessions dir, and Plasma is relying on that behaviour to -distinguish between its X11 and Wayland sessions. This leads to duplicate -"Plasma" entries on any other DM not applying the same hack, e.g. lightdm, -and users are lost without downstream patching. - -SDDM in 0.19 only appends " (Wayland)" in case the session name does -not already end with this, to avoid duplicating it. - -CCBUG: https://bugs.kde.org/show_bug.cgi?id=368409 -See also: https://github.com/sddm/sddm/pull/997 - -Reviewers: #plasma, davidedmundson, fvogt, ngraham - -Reviewed By: #plasma, davidedmundson, fvogt, ngraham - -Subscribers: ngraham, pino, rdieter, fvogt, davidedmundson, plasma-devel - -Tags: #plasma - -Differential Revision: https://phabricator.kde.org/D22210 ---- - login-sessions/plasmawayland.desktop.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/login-sessions/plasmawayland.desktop.cmake b/login-sessions/plasmawayland.desktop.cmake -index 64f997ea4..3e9b46bc9 100644 ---- a/login-sessions/plasmawayland.desktop.cmake -+++ b/login-sessions/plasmawayland.desktop.cmake -@@ -2,51 +2,7 @@ - Exec=dbus-run-session ${CMAKE_INSTALL_FULL_BINDIR}/startplasma-wayland - TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startplasma-wayland - DesktopNames=KDE --Name=Plasma --Name[ar]=بلازما --Name[bs]=Plazma --Name[ca]=Plasma --Name[ca@valencia]=Plasma --Name[cs]=Plasma --Name[da]=Plasma --Name[de]=Plasma --Name[el]=Plasma --Name[en_GB]=Plasma --Name[es]=Plasma --Name[et]=Plasma --Name[eu]=Plasma --Name[fi]=Plasma --Name[fr]=Plasma --Name[gl]=Plasma --Name[he]=פלזמה --Name[hu]=Plasma --Name[id]=Plasma --Name[is]=Plasma --Name[it]=Plasma --Name[ja]=プラズマ --Name[ko]=Plasma --Name[lt]=Plasma --Name[nb]=Plasma --Name[nds]=Plasma --Name[nl]=Plasma --Name[nn]=Plasma --Name[pa]=ਪਲਾਜ਼ਮਾ --Name[pl]=Plazma --Name[pt]=Plasma --Name[pt_BR]=Plasma --Name[ru]=Plasma --Name[sk]=Plasma --Name[sl]=Plasma --Name[sr]=Плазма --Name[sr@ijekavian]=Плазма --Name[sr@ijekavianlatin]=Plasma --Name[sr@latin]=Plasma --Name[sv]=Plasma --Name[tr]=Plama --Name[uk]=Плазма --Name[x-test]=xxPlasmaxx --Name[zh_CN]=Plasma --Name[zh_TW]=Plasma -+Name=Plasma (Wayland) - Comment=Plasma by KDE - Comment[ar]=بلازما كدي - Comment[bs]=Plazma od strane KDe --- -2.23.0 diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.5-disable-autoscaling-on-qt-5.14.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.5-disable-autoscaling-on-qt-5.14.patch deleted file mode 100644 index 114e653df8e1..000000000000 --- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.5-disable-autoscaling-on-qt-5.14.patch +++ /dev/null @@ -1,47 +0,0 @@ -From ea66bff2af8466f2bb5acafcc43ac8f79b1f447f Mon Sep 17 00:00:00 2001 -From: Fabian Vogt <fabian@ritter-vogt.de> -Date: Tue, 21 Jan 2020 11:55:49 +0100 -Subject: Also disable automatic scaling on Qt >= 5.14 - -Summary: -Applications which set `Qt::AA_EnableHighDpiScaling` use the DPI of the monitor the window is on to calculate an additional scaling factor. -Plasma sets `QT_SCREEN_SCALE_FACTORS` in the environment for manual specification of per-monitor scale, which combined with the automatic scaling may result in double scaling. -To disable the automatic scaling, `QT_AUTO_SCREEN_SCALE_FACTOR=0` has to be set, even on Qt 5.14. - -As a side effect, this works around QTBUG-80967 as well. - -BUG: 415421 - -Test Plan: On X11, with a >144dpi monitor and a scaling factor of 2 set manually, scaling was doubled previously. Now it works as expected. - -Reviewers: #plasma, apol, davidedmundson, fvogt - -Reviewed By: #plasma, davidedmundson, fvogt - -Subscribers: acooligan, fvogt, asturmlechner, dfaure, davidedmundson, anthonyfieroni, plasma-devel - -Tags: #plasma - -Differential Revision: https://phabricator.kde.org/D26185 ---- - startkde/startplasma.cpp | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/startkde/startplasma.cpp b/startkde/startplasma.cpp -index 8d88587..4a89878 100644 ---- a/startkde/startplasma.cpp -+++ b/startkde/startplasma.cpp -@@ -222,11 +222,9 @@ void runEnvironmentScripts() - - void setupPlasmaEnvironment() - { --#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) - //Manually disable auto scaling because we are scaling above - //otherwise apps that manually opt in for high DPI get auto scaled by the developer AND manually scaled by us - qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0"); --#endif - - qputenv("KDE_FULL_SESSION", "true"); - qputenv("KDE_SESSION_VERSION", "5"); --- -cgit v1.1 diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.18.5-sddm-theme-prevent-logo-leaking.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.18.5-sddm-theme-prevent-logo-leaking.patch new file mode 100644 index 000000000000..7cbe139a1669 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.18.5-sddm-theme-prevent-logo-leaking.patch @@ -0,0 +1,94 @@ +From 68601675d13bdf44248991a56e888093e58c56c3 Mon Sep 17 00:00:00 2001 +From: Filip Fila <filipfila.kde@gmail.com> +Date: Wed, 13 May 2020 18:08:27 +0200 +Subject: [sddm-theme] Prevent the logo from leaking in after a fadeout + +Summary: +Even when the vendor logo is turned off it can be briefly seen when the login screen changes from the fadeout state back into normal. + +Comments in other code say that "OpacityAnimator when starting from 0 is buggy (it shows one frame with opacity 1)" so this patch replaces it with NumberAnimation. + +There's also a minor fix included - placing the drop shadow sooner in the hierarchy because it should be drawn underneath an object, not in front of it. + +Test Plan: +Reduce the fadeout time to something small and then: + +`sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze` + +Reviewers: ngraham, cblack, #plasma, mart + +Reviewed By: ngraham, #plasma, mart + +Subscribers: mart, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D29351 +--- + sddm-theme/Main.qml | 44 +++++++++++++++++++++++--------------------- + 1 file changed, 23 insertions(+), 21 deletions(-) + +diff --git a/sddm-theme/Main.qml b/sddm-theme/Main.qml +index 6746238..9910e7f 100644 +--- a/sddm-theme/Main.qml ++++ b/sddm-theme/Main.qml +@@ -411,26 +411,6 @@ PlasmaCore.ColorScope { + } + } + +- Image { +- id: logo +- visible: config.showlogo == "shown" +- source: config.logo +- anchors.horizontalCenter: parent.horizontalCenter +- anchors.bottom: footer.top +- anchors.bottomMargin: units.largeSpacing +- asynchronous: true +- sourceSize.height: height +- opacity: loginScreenRoot.uiVisible ? 0 : 1 +- fillMode: Image.PreserveAspectFit +- height: Math.round(units.gridUnit * 3.5) +- Behavior on opacity { +- OpacityAnimator { +- duration: units.longDuration +- easing.type: Easing.InOutQuad +- } +- } +- } +- + DropShadow { + id: logoShadow + anchors.fill: logo +@@ -444,7 +424,29 @@ PlasmaCore.ColorScope { + color: "black" // matches Breeze window decoration and desktopcontainment + opacity: loginScreenRoot.uiVisible ? 0 : 1 + Behavior on opacity { +- OpacityAnimator { ++ //OpacityAnimator when starting from 0 is buggy (it shows one frame with opacity 1)" ++ NumberAnimation { ++ duration: units.longDuration ++ easing.type: Easing.InOutQuad ++ } ++ } ++ } ++ ++ Image { ++ id: logo ++ visible: config.showlogo == "shown" ++ source: config.logo ++ anchors.horizontalCenter: parent.horizontalCenter ++ anchors.bottom: footer.top ++ anchors.bottomMargin: units.largeSpacing ++ asynchronous: true ++ sourceSize.height: height ++ opacity: loginScreenRoot.uiVisible ? 0 : 1 ++ fillMode: Image.PreserveAspectFit ++ height: Math.round(units.gridUnit * 3.5) ++ Behavior on opacity { ++ // OpacityAnimator when starting from 0 is buggy (it shows one frame with opacity 1)" ++ NumberAnimation { + duration: units.longDuration + easing.type: Easing.InOutQuad + } +-- +cgit v1.1 diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.18.5-stop-multiplying-duration-values.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.18.5-stop-multiplying-duration-values.patch new file mode 100644 index 000000000000..83539c14c043 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.18.5-stop-multiplying-duration-values.patch @@ -0,0 +1,93 @@ +From 2958702524348e9e4fcbdf490be731e92b353dad Mon Sep 17 00:00:00 2001 +From: Nate Graham <nate@kde.org> +Date: Tue, 24 Mar 2020 08:10:54 -0600 +Subject: 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, cblack + +Reviewed By: #vdg, #plasma, cblack + +Subscribers: cblack, plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D28238 +--- + applets/devicenotifier/package/contents/ui/FullRepresentation.qml | 2 +- + applets/systemtray/package/contents/ui/ExpanderArrow.qml | 2 +- + lookandfeel/contents/components/ActionButton.qml | 4 ++-- + lookandfeel/contents/components/UserDelegate.qml | 2 +- + 4 files changed, 5 insertions(+), 5 deletions(-) + +diff --git a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml +index d15e47c..80b9c73 100644 +--- a/applets/devicenotifier/package/contents/ui/FullRepresentation.qml ++++ b/applets/devicenotifier/package/contents/ui/FullRepresentation.qml +@@ -225,7 +225,7 @@ MouseArea { + popupIconTimer.restart() + } + } +- Behavior on height { NumberAnimation { duration: units.shortDuration * 3 } } ++ Behavior on height { NumberAnimation { duration: units.shortDuration } } + } + } + } +diff --git a/applets/systemtray/package/contents/ui/ExpanderArrow.qml b/applets/systemtray/package/contents/ui/ExpanderArrow.qml +index 9baf654..729f56b 100644 +--- a/applets/systemtray/package/contents/ui/ExpanderArrow.qml ++++ b/applets/systemtray/package/contents/ui/ExpanderArrow.qml +@@ -37,7 +37,7 @@ PlasmaCore.ToolTipArea { + anchors.fill: parent + onClicked: root.expanded = !root.expanded + +- readonly property int arrowAnimationDuration: units.shortDuration * 3 ++ readonly property int arrowAnimationDuration: units.shortDuration + + PlasmaCore.Svg { + id: arrowSvg +diff --git a/lookandfeel/contents/components/ActionButton.qml b/lookandfeel/contents/components/ActionButton.qml +index 9fbd2a8..7a66c56 100644 +--- a/lookandfeel/contents/components/ActionButton.qml ++++ b/lookandfeel/contents/components/ActionButton.qml +@@ -44,7 +44,7 @@ Item { + opacity: activeFocus || containsMouse ? 1 : 0.85 + Behavior on opacity { + PropertyAnimation { // OpacityAnimator makes it turn black at random intervals +- duration: units.longDuration * 2 ++ duration: units.longDuration + easing.type: Easing.InOutQuad + } + } +@@ -59,7 +59,7 @@ Item { + opacity: activeFocus || containsMouse ? (softwareRendering ? 0.8 : 0.15) : (softwareRendering ? 0.6 : 0) + Behavior on opacity { + PropertyAnimation { // OpacityAnimator makes it turn black at random intervals +- duration: units.longDuration * 3 ++ duration: units.longDuration + easing.type: Easing.InOutQuad + } + } +diff --git a/lookandfeel/contents/components/UserDelegate.qml b/lookandfeel/contents/components/UserDelegate.qml +index 8882e39..cdb55f1 100644 +--- a/lookandfeel/contents/components/UserDelegate.qml ++++ b/lookandfeel/contents/components/UserDelegate.qml +@@ -72,7 +72,7 @@ Item { + Behavior on width { + PropertyAnimation { + from: faceSize +- duration: units.longDuration * 2; ++ duration: units.longDuration; + } + } + width: isCurrent ? faceSize : faceSize - units.largeSpacing +-- +cgit v1.1 |