From be14af2d51852951dbfea41913a7dd9d1190151e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 23 Mar 2023 00:43:56 +0000 Subject: gentoo auto-resync : 23:03:2023 - 00:43:55 --- ...space-5.27.3-dashboard-skip-task-switcher.patch | 33 ++++++++++++++ ...pace-5.27.3-nightcolor-fix-timing-strings.patch | 52 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-dashboard-skip-task-switcher.patch create mode 100644 kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-nightcolor-fix-timing-strings.patch (limited to 'kde-plasma/plasma-workspace/files') diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-dashboard-skip-task-switcher.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-dashboard-skip-task-switcher.patch new file mode 100644 index 000000000000..2ebb9aa09fd6 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-dashboard-skip-task-switcher.patch @@ -0,0 +1,33 @@ +From 29eb56d4d16c9a5544ba2b1da2369a9ed3190bb7 Mon Sep 17 00:00:00 2001 +From: Nicolas Fella +Date: Sun, 5 Feb 2023 16:49:04 +0100 +Subject: [PATCH] [dashboard] Skip task switcher + +CCBUG: 465303 +(cherry picked from commit 813dcc46c125fbdff4a208a23cec0ae1363f7cd8) +--- + applets/kicker/plugin/dashboardwindow.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/applets/kicker/plugin/dashboardwindow.cpp b/applets/kicker/plugin/dashboardwindow.cpp +index fc6baedcb8..ac7522aab8 100644 +--- a/applets/kicker/plugin/dashboardwindow.cpp ++++ b/applets/kicker/plugin/dashboardwindow.cpp +@@ -124,12 +124,12 @@ bool DashboardWindow::event(QEvent *event) + if (event->type() == QEvent::Expose) { + // FIXME TODO: We can remove this once we depend on Qt 5.6.1+. + // See: https://bugreports.qt.io/browse/QTBUG-26978 +- KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); ++ KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::SkipSwitcher); + } else if (event->type() == QEvent::PlatformSurface) { + const QPlatformSurfaceEvent *pSEvent = static_cast(event); + + if (pSEvent->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) { +- KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager); ++ KWindowSystem::setState(winId(), NET::SkipTaskbar | NET::SkipPager | NET::SkipSwitcher); + } + } else if (event->type() == QEvent::Show) { + updateTheme(); +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-nightcolor-fix-timing-strings.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-nightcolor-fix-timing-strings.patch new file mode 100644 index 000000000000..9230e2b2354f --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.3-nightcolor-fix-timing-strings.patch @@ -0,0 +1,52 @@ +From 32982eff1abe7653f96f746cc15c0d6d1bbbb249 Mon Sep 17 00:00:00 2001 +From: Nate Graham +Date: Tue, 14 Mar 2023 14:29:54 -0600 +Subject: [PATCH] kcms/nightcolor: fix timing strings with narrow window widths + +These labels lived in an item that had `anchors.centerIn: parent` set on +it, which makes it have no maximum width and it can overflow. Clearly it +was the intent to avoid that, because all the child items had their +properties set up correctly for it. + +To fix this, instead anchor to the parent's size and center the +contents, and then make the parent fill the available width. + +Resolves https://invent.kde.org/plasma/plasma-mobile/-/issues/244 + + +(cherry picked from commit 16a243c88b6f5e36ec4d3f9108f2e967b4e97ad8) +--- + kcms/nightcolor/package/contents/ui/main.qml | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/kcms/nightcolor/package/contents/ui/main.qml b/kcms/nightcolor/package/contents/ui/main.qml +index 60605b3180..c37cc0ea9a 100644 +--- a/kcms/nightcolor/package/contents/ui/main.qml ++++ b/kcms/nightcolor/package/contents/ui/main.qml +@@ -406,7 +406,7 @@ KCM.SimpleKCM { + visible: kcm.nightColorSettings.mode === NightColorMode.Automatic || kcm.nightColorSettings.mode === NightColorMode.Location + && kcm.nightColorSettings.active + Layout.topMargin: Kirigami.Units.largeSpacing * 4 +- Layout.alignment: Qt.AlignHCenter ++ Layout.fillWidth: true + + Kirigami.LoadingPlaceholder { + visible: kcm.nightColorSettings.active && kcm.nightColorSettings.mode === NightColorMode.Automatic && (!locator || !root.doneLocating) +@@ -416,9 +416,13 @@ KCM.SimpleKCM { + + TimingsView { + id: timings ++ anchors { ++ top: parent.top ++ left: parent.left ++ right: parent.right ++ } + visible: kcm.nightColorSettings.mode === NightColorMode.Location || + (kcm.nightColorSettings.mode === NightColorMode.Automatic && root.doneLocating) && kcm.nightColorSettings.active +- anchors.centerIn: parent + enabled: kcm.nightColorSettings.active + latitude: kcm.nightColorSettings.mode === NightColorMode.Automatic + && (locator !== undefined) ? locator.latitude : kcm.nightColorSettings.latitudeFixed +-- +GitLab + -- cgit v1.2.3