From 8d394f0445d9711a2960a1f7207d5fc1235ca4dd Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 30 Aug 2019 15:21:14 +0300 Subject: [PATCH 1/5] forceSolidness higher priority from busy background --- containment/package/contents/ui/PanelBox.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containment/package/contents/ui/PanelBox.qml b/containment/package/contents/ui/PanelBox.qml index a2c2e8357..d347d6c32 100644 --- a/containment/package/contents/ui/PanelBox.qml +++ b/containment/package/contents/ui/PanelBox.qml @@ -510,7 +510,7 @@ Item{ readonly property bool coloredView: colorizerManager.mustBeShown && colorizerManager.applyTheme !== theme opacity: { - if (busyBackground) { + if (busyBackground && !forceSolidness) { return plasmoid.configuration.panelTransparency / 100; } From 2df56afef2f97003f1fb44feb10253c32c24f0d5 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Fri, 30 Aug 2019 15:46:21 +0300 Subject: [PATCH 2/5] check no panel shadows from windows states first --- containment/package/contents/ui/main.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index 94bf45ee0..87de38fe9 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -287,6 +287,13 @@ Item { return plasmoid.configuration.panelShadows; } + var forcedNoShadows = (plasmoid.configuration.panelShadows && disablePanelShadowMaximized + && latteView && latteView.windowsTracker && latteView.windowsTracker.currentScreen.activeWindowMaximized); + + if (forcedNoShadows) { + return false; + } + var transparencyCheck = (blurEnabled || (!blurEnabled && currentPanelTransparency>20)); //! Draw shadows for isBusy state only when current panelTransparency is greater than 10% @@ -296,8 +303,7 @@ Item { if (( (plasmoid.configuration.panelShadows && !root.backgroundOnlyOnMaximized) || (plasmoid.configuration.panelShadows && root.backgroundOnlyOnMaximized && !root.forceTransparentPanel)) - && !(disablePanelShadowMaximized && latteView && latteView.windowsTracker - && latteView.windowsTracker.currentScreen.activeWindowMaximized)) { + && !forcedNoShadows) { return true; } From 7f83c043132661998ea07bed3bc1d72a5c1fd585 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 31 Aug 2019 01:47:03 +0300 Subject: [PATCH 3/5] dont draw outline for plasma popups --when the user of course has chosen the plasma experience for applets popups --- containment/package/contents/ui/PanelBox.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containment/package/contents/ui/PanelBox.qml b/containment/package/contents/ui/PanelBox.qml index d347d6c32..77548f557 100644 --- a/containment/package/contents/ui/PanelBox.qml +++ b/containment/package/contents/ui/PanelBox.qml @@ -573,7 +573,7 @@ Item{ //! Outline drawing Loader{ anchors.fill: solidBackground - active: root.panelOutline + active: root.panelOutline && !(root.hasExpandedApplet && root.plasmaBackgroundForPopups) sourceComponent: Colorizer.CustomBackground{ backgroundColor: "transparent" borderColor: colorizerManager.outlineColor From 20a4610a850ccc5e4d2bf72faeca75c2ef368153 Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Sat, 31 Aug 2019 08:45:35 +0200 Subject: [PATCH 4/5] SVN_SILENT made messages (.desktop file) - always resolve ours In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop" --- app/lattedock.notifyrc | 1 + app/org.kde.latte-dock.desktop.cmake | 2 ++ .../indicator/latte-packagestructure-indicator.desktop | 1 + containment/metadata.desktop.cmake | 1 + containment/package/metadata.desktop | 1 + indicators/default/metadata.desktop | 1 + indicators/org.kde.latte.plasma/metadata.desktop | 1 + 7 files changed, 8 insertions(+) diff --git a/app/lattedock.notifyrc b/app/lattedock.notifyrc index c8a443e98..c92337638 100644 --- a/app/lattedock.notifyrc +++ b/app/lattedock.notifyrc @@ -198,6 +198,7 @@ Name[pl]=Nie udało się usunąć Name[pt]=Não foi possível remover Name[pt_BR]=Ocorreu um erro ao remover Name[ru]=Ошибка удаления +Name[sk]=Zlyhalo odstránenie Name[sv]=Misslyckades ta bort Name[uk]=Не вдалося вилучити Name[x-test]=xxFailed to removexx diff --git a/app/org.kde.latte-dock.desktop.cmake b/app/org.kde.latte-dock.desktop.cmake index f601985e7..94316e06f 100644 --- a/app/org.kde.latte-dock.desktop.cmake +++ b/app/org.kde.latte-dock.desktop.cmake @@ -21,6 +21,7 @@ Name[pl]=Latte Name[pt]=Latte Name[pt_BR]=Latte Name[ru]=Latte +Name[sk]=Latte Name[sv]=Latte Name[uk]=Латте Name[x-test]=xxLattexx @@ -47,6 +48,7 @@ Comment[pl]=Dok dla mas Comment[pt]=Área acoplável para as massas Comment[pt_BR]=Área acoplável para todos Comment[ru]=Док для всех +Comment[sk]=Dok pre masy Comment[sv]=Dockningsfönster för alla Comment[uk]=Панель для усіх Comment[x-test]=xxDock for the massesxx diff --git a/app/packageplugins/indicator/latte-packagestructure-indicator.desktop b/app/packageplugins/indicator/latte-packagestructure-indicator.desktop index 9d6a6114b..8e57b4c2b 100644 --- a/app/packageplugins/indicator/latte-packagestructure-indicator.desktop +++ b/app/packageplugins/indicator/latte-packagestructure-indicator.desktop @@ -15,6 +15,7 @@ Name[pl]=Wskaźnik Name[pt]=Indicador Name[pt_BR]=Indicador Name[ru]=Индикатор +Name[sk]=indikátor Name[sv]=Indikator Name[uk]=Індикатор Name[x-test]=xxIndicatorxx diff --git a/containment/metadata.desktop.cmake b/containment/metadata.desktop.cmake index a255dda5b..c0fdc3958 100644 --- a/containment/metadata.desktop.cmake +++ b/containment/metadata.desktop.cmake @@ -22,6 +22,7 @@ Name[pl]=Latte Name[pt]=Latte Name[pt_BR]=Latte Name[ru]=Latte +Name[sk]=Latte Name[sv]=Latte Name[uk]=Латте Name[x-test]=xxLattexx diff --git a/containment/package/metadata.desktop b/containment/package/metadata.desktop index cf67f69e2..c60ff73c2 100644 --- a/containment/package/metadata.desktop +++ b/containment/package/metadata.desktop @@ -22,6 +22,7 @@ Name[pl]=Latte Name[pt]=Latte Name[pt_BR]=Latte Name[ru]=Latte +Name[sk]=Latte Name[sv]=Latte Name[uk]=Латте Name[x-test]=xxLattexx diff --git a/indicators/default/metadata.desktop b/indicators/default/metadata.desktop index 55f7ea32f..f1c6809d5 100644 --- a/indicators/default/metadata.desktop +++ b/indicators/default/metadata.desktop @@ -21,6 +21,7 @@ Name[pl]=Latte Name[pt]=Latte Name[pt_BR]=Latte Name[ru]=Latte +Name[sk]=Latte Name[sv]=Latte Name[uk]=Латте Name[x-test]=xxLattexx diff --git a/indicators/org.kde.latte.plasma/metadata.desktop b/indicators/org.kde.latte.plasma/metadata.desktop index 5be765a0c..7906ebfa7 100644 --- a/indicators/org.kde.latte.plasma/metadata.desktop +++ b/indicators/org.kde.latte.plasma/metadata.desktop @@ -18,6 +18,7 @@ Name[pl]=Plazma Name[pt]=Plasma Name[pt_BR]=Plasma Name[ru]=Plasma +Name[sk]=Plasma Name[sv]=Plasma Name[uk]=Плазма Name[x-test]=xxPlasmaxx From f3e6debc2687e93e9819e94f16211e8024da6c54 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 31 Aug 2019 09:45:14 +0300 Subject: [PATCH 5/5] let the user close multiple windows from previews BUG:411461 FIXED-IN:0.9.2 --- .../ui/previews/ToolTipWindowMouseArea.qml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/plasmoid/package/contents/ui/previews/ToolTipWindowMouseArea.qml b/plasmoid/package/contents/ui/previews/ToolTipWindowMouseArea.qml index 81742aa1d..fe5ee50b7 100644 --- a/plasmoid/package/contents/ui/previews/ToolTipWindowMouseArea.qml +++ b/plasmoid/package/contents/ui/previews/ToolTipWindowMouseArea.qml @@ -35,15 +35,25 @@ MouseArea { (!Latte.WindowSystem.isPlatformWayland && winId != 0) onClicked: { + //!used mainly to not close the previews window when the user closes many windows simultaneously + var keepVisibility = false; + if (mouse.button == Qt.LeftButton) { tasksModel.requestActivate(modelIndex); } else if (mouse.button == Qt.MiddleButton) { + if (isGroup) { + keepVisibility = true; + } + tasksModel.requestClose(modelIndex); } else { root.createContextMenu(rootTask, modelIndex).show(); } - icList.hoveredIndex = -1; - windowsPreviewDlg.hide("7.1"); + + if (!keepVisibility) { + icList.hoveredIndex = -1; + windowsPreviewDlg.hide("7.1"); + } } onContainsMouseChanged: {