git: 782429b1ba1f - main - x11/plasma6-plasma-desktop: Fix keyboard layout initialization in the SDDM Breeze theme
Gleb Popov <[email protected]> Sat, 01 Aug 2026 16:00:27 +0000
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <6a6e181b.3c951.4d1f22ee__8091.49904396094$1785600042$gmane$org@gitrepo.freebsd.org> |
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=782429b1ba1f9bae6cd9da03c591f12d14c6b58c commit 782429b1ba1f9bae6cd9da03c591f12d14c6b58c Author: Gleb Popov <[email protected]> AuthorDate: 2026-08-01 14:53:15 +0000 Commit: Gleb Popov <[email protected]> CommitDate: 2026-08-01 15:25:58 +0000 x11/plasma6-plasma-desktop: Fix keyboard layout initialization in the SDDM Breeze theme PR: 296696 --- x11/plasma6-plasma-desktop/Makefile | 1 + .../files/patch-sddm-theme_KeyboardButton.qml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/x11/plasma6-plasma-desktop/Makefile b/x11/plasma6-plasma-desktop/Makefile index 99fbb3dbfd23..642be8b41f08 100644 --- a/x11/plasma6-plasma-desktop/Makefile +++ b/x11/plasma6-plasma-desktop/Makefile @@ -1,5 +1,6 @@ PORTNAME= plasma-desktop DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= x11 kde kde-plasma MAINTAINER= [email protected] diff --git a/x11/plasma6-plasma-desktop/files/patch-sddm-theme_KeyboardButton.qml b/x11/plasma6-plasma-desktop/files/patch-sddm-theme_KeyboardButton.qml new file mode 100644 index 000000000000..e1ddb7260490 --- /dev/null +++ b/x11/plasma6-plasma-desktop/files/patch-sddm-theme_KeyboardButton.qml @@ -0,0 +1,21 @@ +--- sddm-theme/KeyboardButton.qml.orig 2026-07-07 12:50:32 UTC ++++ sddm-theme/KeyboardButton.qml +@@ -36,17 +36,9 @@ PlasmaComponents.ToolButton { + Kirigami.Theme.colorSet: Kirigami.Theme.Window + Kirigami.Theme.inherit: false + +- onAboutToShow: { +- if (instantiator.model === null) { +- let layouts = keyboard.layouts; +- layouts.sort((a, b) => a.longName.localeCompare(b.longName)); +- instantiator.model = layouts; +- } +- } +- + Instantiator { + id: instantiator +- model: null ++ model: keyboard.layouts + onObjectAdded: (index, object) => menu.insertItem(index, object) + onObjectRemoved: (index, object) => menu.removeItem(object) + delegate: PlasmaComponents.MenuItem {