Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37501056
en ru br
Репозитории ALT

Группа :: Графические оболочки/KDE
Пакет: plasma5-workspace

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: alt-fix-virtualkeyboard-size.patch
Скачать


From 401bd95c5ee08ccaf08efa6ba9c4973326c78d5c Mon Sep 17 00:00:00 2001
From: Slava Aseev <ptrnine@altlinux.org>
Date: Thu, 27 Jan 2022 17:16:30 +0300
Subject: [PATCH] sddm-theme: fix InputPanel height
For some unknown reason the height of the InputPanel depends on
the height of KeyboardLayout/DesktopSession menus. Expanding them
changes the height of the InputPanel parent and height of its
children. The patch fixes this issue by introducing an explicit
recalculation of the InputPanel height.
---
 .../lookandfeel/contents/components/VirtualKeyboard.qml          | 1 +
 1 file changed, 1 insertion(+)
diff --git a/plasma-workspace/lookandfeel/contents/components/VirtualKeyboard.qml b/plasma-workspace/lookandfeel/contents/components/VirtualKeyboard.qml
index 503a35b21..1227f2a08 100644
--- a/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/VirtualKeyboard.qml
+++ b/plasma-workspace/lookandfeel/org.kde.breeze/contents/components/VirtualKeyboard.qml
@@ -13,6 +13,7 @@ InputPanel {
     property bool activated: false
     active: activated && Qt.inputMethod.visible
     width: parent.width
+    height: parent.width * inputPanel.keyboard.style.keyboardDesignHeight / inputPanel.keyboard.style.keyboardDesignWidth
 
     states: [
         State {
-- 
2.33.0
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin