public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joshua Strobl <me@joshuastrobl.com>
To: git-commits@fedoraproject.org
Subject: [rpms/budgie-desktop] rawhide: Add patches for not forcing Qt QPA platform and fix plugin load on non-EN locales
Date: Sun, 11 Oct 2026 14:21:43 GMT	[thread overview]
Message-ID: <179172850331.1.6199464392109912935.rpms-budgie-desktop-f660dd0fc61c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/budgie-desktop
            Branch : rawhide
            Commit : f660dd0fc61c77bf9828bc9e937ebc4332adfc6e
            Author : Joshua Strobl <me@joshuastrobl.com>
            Date   : 2026-10-11T17:21:28+03:00
            Stats  : +1486/-12 in 9 file(s)
            URL    : https://src.fedoraproject.org/rpms/budgie-desktop/c/f660dd0fc61c77bf9828bc9e937ebc4332adfc6e?branch=rawhide

            Log:
            Add patches for not forcing Qt QPA platform and fix plugin load on non-EN locales

Signed-off-by: Joshua Strobl <me@joshuastrobl.com>

---
diff --git a/.gitignore b/.gitignore
index 5233980..bec5f8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,11 +16,6 @@
 /0002-fix-workspace-applet.patch
 /budgie-desktop-v10.9.1.tar.xz
 /budgie-desktop-v10.9.1.tar.xz.asc
-/0001-fix-set-budgie-run-dialog-to-skip-pager-and-taskbar-.patch
-/0002-fix-workspace-applet-window-icon-click-not-performin.patch
-/0003-Work-around-even-more-SNI-noncompliance-540.patch
-/0004-vapi-Update-libxfce4windowing-to-4.19.3-547.patch
-/0005-Add-am_cflags-to-ignore-poorly-generated-C-code-from.patch
 /budgie-desktop-v10.9.2.tar.xz
 /budgie-desktop-v10.9.2.tar.xz.asc
 /Adapt-to-libxfce4windowing-4_19_7.patch
@@ -40,6 +35,3 @@
 /budgie-desktop-v10.10.2.tar.xz.asc
 /budgie-desktop-v10.10.3.tar.xz
 /budgie-desktop-v10.10.3.tar.xz.asc
-/0001-fix-bridges-stop-left-click-on-the-desktop-opening-t.patch
-/0002-fix-panel-stop-aborting-when-a-panel-has-no-stored-l.patch
-/0003-fix-panel-store-a-new-panel-s-edge-before-it-is-show.patch

diff --git a/0001-fix-bridges-stop-left-click-on-the-desktop-opening-t.patch b/0001-fix-bridges-stop-left-click-on-the-desktop-opening-t.patch
new file mode 100644
index 0000000..6aefdd7
--- /dev/null
+++ b/0001-fix-bridges-stop-left-click-on-the-desktop-opening-t.patch
@@ -0,0 +1,319 @@
+From 2c83d1e14b80974641523e55bbcc546304a38d50 Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <me@joshuastrobl.com>
+Date: Tue, 29 Sep 2026 19:30:17 +0300
+Subject: [PATCH] fix(bridges): stop left click on the desktop opening the root
+ menu
+
+labwc's default mousebinds open the root menu on a left press on the desktop. With a touchpad that was easy to trigger by accident, and since releasing over a menu item activates it, a stray tap-and-drag could open or run whatever item the cursor ended up on.
+
+Bind a left press on Desktop to Focus and keep the root menu on a right press, loaded after <default /> since labwc keeps the later of two identical mousebinds. Bump rc.xml to version 5 and merge the template's mouse settings and contexts into existing configs during migration, keeping any the user already has.
+
+Assisted-by: Claude:claude-opus-5-5
+Signed-off-by: Joshua Strobl <me@joshuastrobl.com>
+---
+ .../labwc_bridge/migrations/migration.py      |  60 ++++++++-
+ src/bridges/labwc/rc.xml                      |  18 ++-
+ src/bridges/labwc/tests/test_migration.py     | 121 +++++++++++++++++-
+ 3 files changed, 188 insertions(+), 11 deletions(-)
+
+diff --git a/src/bridges/labwc/labwc_bridge/migrations/migration.py b/src/bridges/labwc/labwc_bridge/migrations/migration.py
+index 52ef874d..3ed58855 100644
+--- a/src/bridges/labwc/labwc_bridge/migrations/migration.py
++++ b/src/bridges/labwc/labwc_bridge/migrations/migration.py
+@@ -23,7 +23,7 @@ from .rewrites import REWRITES
+ 
+ log = logging.getLogger(__name__)
+ 
+-CURRENT_RC_VERSION = 4
++CURRENT_RC_VERSION = 5
+ 
+ 
+ class RcXmlMigration:
+@@ -130,6 +130,53 @@ class RcXmlMigration:
+ 
+         return True
+ 
++    def merge_mouse_section(
++        self,
++        user_et: Et.ElementTree[Et.Element],
++        template_et: Et.ElementTree[Et.Element],
++    ) -> None:
++        """Add the template's mouse settings and contexts the user's config lacks"""
++        template_mouse = template_et.getroot().find("./mouse")
++        if template_mouse is None:
++            log.info("Template has no mouse section - nothing to merge")
++            return
++
++        user_root = user_et.getroot()
++        user_mouse = user_root.find("./mouse")
++
++        if user_mouse is None:
++            user_root.append(copy.deepcopy(template_mouse))
++            log.info("Inserted mouse section from template")
++            return
++
++        # labwc keeps the later of two identical mousebinds, so <default /> must precede contexts
++        insert_at = 0
++        added_any = False
++        for template_child in template_mouse:
++            existing = self.find_mouse_child(user_mouse, template_child)
++            if existing is not None:
++                insert_at = list(user_mouse).index(existing) + 1
++                continue
++
++            user_mouse.insert(insert_at, copy.deepcopy(template_child))
++            insert_at += 1
++            added_any = True
++
++        if added_any:
++            log.info("Added missing mouse settings from template")
++        else:
++            log.info("Mouse section already has all template settings - nothing to merge")
++
++    def find_mouse_child(
++        self, user_mouse: Et.Element, template_child: Et.Element
++    ) -> Et.Element | None:
++        """The user's counterpart of a template <mouse> child, a context matched by name"""
++        name = template_child.get("name")
++        for child in user_mouse:
++            if child.tag == template_child.tag and child.get("name") == name:
++                return child
++        return None
++
+     def apply_rewrites(
+         self, user_et: Et.ElementTree[Et.Element], from_version: int
+     ) -> bool:
+@@ -148,7 +195,7 @@ class RcXmlMigration:
+         return changed
+ 
+     def migrate(self) -> bool:
+-        """Merge the template's keyboard settings, apply the rewrites, and record the version"""
++        """Merge the template's keyboard and mouse settings, apply the rewrites, and record the version"""
+         user_version = self.get_rc_version(self.config.et)
+         log.info(f"Starting rc.xml migration from version {user_version}")
+ 
+@@ -169,13 +216,16 @@ class RcXmlMigration:
+             log.error("Migration aborted - failed to replace keyboard section")
+             return False
+ 
+-        # Step 4: Bring values written by older versions up to date
++        # Step 4: Add mouse settings and contexts the user's config lacks
++        self.merge_mouse_section(user_et, template_et)
++
++        # Step 5: Bring values written by older versions up to date
+         self.apply_rewrites(user_et, user_version)
+ 
+-        # Step 5: Set version number on user config
++        # Step 6: Set version number on user config
+         user_et.getroot().set("version", str(CURRENT_RC_VERSION))
+ 
+-        # Step 6: Write updated config
++        # Step 7: Write updated config
+         save(user_et, self.config.path)
+ 
+         return True
+diff --git a/src/bridges/labwc/rc.xml b/src/bridges/labwc/rc.xml
+index c1681c11..c7257cb6 100644
+--- a/src/bridges/labwc/rc.xml
++++ b/src/bridges/labwc/rc.xml
+@@ -1,13 +1,11 @@
+-<labwc_config version="4">
++<labwc_config version="5">
+ 	<desktops number="2">
+ 		<popupTime>1000</popupTime>
+ 	</desktops>
+ 	<keyboard>
+ 		<numlock>off</numlock>
+ 
+-		<!-- bridged keybinds merged from keybinds.xml(.example) and current
+-		     gsettings bridged keys.
+-		-->
++		<!-- bridged keybinds merged from keybinds.xml(.example) and current gsettings bridged keys. -->
+ 
+ 		<keybind key="XF86AudioNext">
+ 			<action name="Execute" command="dbus-send --type=method_call --dest=org.buddiesofbudgie.BudgieMprisController /org/buddiesofbudgie/MprisController org.buddiesofbudgie.BudgieMprisController.Next" />
+@@ -63,6 +61,18 @@
+ 	<windowSwitcher style="thumbnail" allWorkspaces="no" />
+ 	<mouse>
+ 		<doubleClickTime>400</doubleClickTime>
++		<default />
++		<context name="Desktop">
++    		<!-- Left click: Closes open menus, does not open anything -->
++    		<mousebind button="Left" action="Press">
++        		<action name="Focus" />
++    		</mousebind>
++
++    		<!-- Right click: Opens the desktop menu -->
++    		<mousebind button="Right" action="Press">
++        		<action name="ShowMenu" menu="root-menu" />
++    		</mousebind>
++		</context>
+ 	</mouse>
+ 	<libinput>
+ 		<device category="touchpad">
+diff --git a/src/bridges/labwc/tests/test_migration.py b/src/bridges/labwc/tests/test_migration.py
+index 1265d686..1341397e 100644
+--- a/src/bridges/labwc/tests/test_migration.py
++++ b/src/bridges/labwc/tests/test_migration.py
+@@ -33,10 +33,19 @@ RC_XML = """<labwc_config version="1">
+ 	</keyboard>
+ </labwc_config>"""
+ 
+-TEMPLATE_XML = """<labwc_config version="4">
++TEMPLATE_XML = """<labwc_config version="5">
+ 	<keyboard>
+ 		<numlock>off</numlock>
+ 	</keyboard>
++	<mouse>
++		<doubleClickTime>400</doubleClickTime>
++		<default />
++		<context name="Desktop">
++			<mousebind button="Right" action="Press">
++				<action name="ShowMenu" menu="root-menu" />
++			</mousebind>
++		</context>
++	</mouse>
+ </labwc_config>"""
+ 
+ 
+@@ -134,7 +143,8 @@ class ApplyRewritesTest(unittest.TestCase):
+         self.assertEqual(et.getroot().findtext("./keyboard/numlock"), "1")
+ 
+     def test_corrects_the_maximize_directions_of_every_older_config(self):
+-        for version in range(migration.CURRENT_RC_VERSION):
++        # The maximize rewrites are keyed at version 4
++        for version in range(4):
+             with self.subTest(version=version):
+                 et = tree(RC_XML)
+ 
+@@ -154,6 +164,97 @@ class ApplyRewritesTest(unittest.TestCase):
+         self.assertFalse(applied)
+ 
+ 
++class MergeMouseSectionTest(unittest.TestCase):
++    def setUp(self):
++        self.subject = subject_for(RC_XML)
++
++    def merged(self, user_xml: str, template_xml: str = TEMPLATE_XML) -> Et.Element:
++        et = tree(user_xml)
++        self.subject.merge_mouse_section(et, tree(template_xml))
++        return et.getroot()
++
++    def layout(self, root: Et.Element) -> list[tuple[str, str | None]]:
++        return [(child.tag, child.get("name")) for child in find(root, "./mouse")]
++
++    def test_inserts_the_whole_section_when_the_user_has_none(self):
++        root = self.merged(RC_XML)
++
++        self.assertEqual(
++            self.layout(root),
++            [("doubleClickTime", None), ("default", None), ("context", "Desktop")],
++        )
++
++    def test_adds_what_an_existing_section_lacks(self):
++        root = self.merged(
++            """<labwc_config>
++	<mouse>
++		<doubleClickTime>250</doubleClickTime>
++	</mouse>
++</labwc_config>"""
++        )
++
++        self.assertEqual(
++            self.layout(root),
++            [("doubleClickTime", None), ("default", None), ("context", "Desktop")],
++        )
++        self.assertEqual(root.findtext("./mouse/doubleClickTime"), "250")
++
++    def test_places_default_ahead_of_the_user_contexts(self):
++        root = self.merged(
++            """<labwc_config>
++	<mouse>
++		<context name="Frame">
++			<mousebind button="A-Left" action="Drag"><action name="Move" /></mousebind>
++		</context>
++	</mouse>
++</labwc_config>"""
++        )
++
++        self.assertEqual(
++            self.layout(root),
++            [
++                ("doubleClickTime", None),
++                ("default", None),
++                ("context", "Desktop"),
++                ("context", "Frame"),
++            ],
++        )
++
++    def test_leaves_a_desktop_context_the_user_has_alone(self):
++        root = self.merged(
++            """<labwc_config>
++	<mouse>
++		<default />
++		<context name="Desktop">
++			<mousebind button="Middle" action="Press">
++				<action name="ShowMenu" menu="client-list-combined-menu" />
++			</mousebind>
++		</context>
++	</mouse>
++</labwc_config>"""
++        )
++
++        desktop = root.findall("./mouse/context[@name='Desktop']")
++        self.assertEqual(len(desktop), 1)
++        self.assertEqual(
++            [bind.get("button") for bind in desktop[0].findall("./mousebind")],
++            ["Middle"],
++        )
++        self.assertEqual(len(root.findall("./mouse/default")), 1)
++
++    def test_is_idempotent(self):
++        once = self.merged(RC_XML)
++        twice = tree(Et.tostring(once, encoding="unicode"))
++        self.subject.merge_mouse_section(twice, tree(TEMPLATE_XML))
++
++        self.assertEqual(self.layout(twice.getroot()), self.layout(once))
++
++    def test_a_template_without_a_mouse_section_changes_nothing(self):
++        root = self.merged(RC_XML, "<labwc_config><keyboard /></labwc_config>")
++
++        self.assertIsNone(root.find("./mouse"))
++
++
+ class MigrateTest(unittest.TestCase):
+     """The whole run, against a config on disk."""
+ 
+@@ -209,6 +310,14 @@ class MigrateTest(unittest.TestCase):
+ 
+         self.assertEqual(self.directions(self.written()), ["horizontal", "vertical"])
+ 
++    def test_writes_the_template_mouse_settings(self):
++        with self.with_template():
++            self.subject.migrate()
++
++        written = self.written()
++        self.assertIsNotNone(written.find("./mouse/default"))
++        self.assertIsNotNone(written.find("./mouse/context[@name='Desktop']"))
++
+     def test_backs_the_config_up_before_writing(self):
+         with self.with_template():
+             self.subject.migrate()
+@@ -233,6 +342,14 @@ class MigrateTest(unittest.TestCase):
+ 
+ 
+ class ShippedConfigTest(unittest.TestCase):
++    def test_the_shipped_rc_xml_loads_default_mousebinds_ahead_of_its_contexts(self):
++        mouse = find(Et.parse(SHIPPED_RC).getroot(), "./mouse")
++        tags = [child.tag for child in mouse]
++
++        self.assertIn("default", tags)
++        if "context" in tags:
++            self.assertLess(tags.index("default"), tags.index("context"))
++
+     def test_the_shipped_rc_xml_is_at_the_current_version(self):
+         """
+         A fresh install copies this file verbatim. A version below the constant
+-- 
+2.56.0
+

diff --git a/0002-fix-panel-stop-aborting-when-a-panel-has-no-stored-l.patch b/0002-fix-panel-stop-aborting-when-a-panel-has-no-stored-l.patch
new file mode 100644
index 0000000..e7149e3
--- /dev/null
+++ b/0002-fix-panel-stop-aborting-when-a-panel-has-no-stored-l.patch
@@ -0,0 +1,168 @@
+From 6863e5c952dac9c0513bc5c1163f1f0a666a3262 Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <me@joshuastrobl.com>
+Date: Wed, 30 Sep 2026 20:46:00 +0300
+Subject: [PATCH] fix(panel): stop aborting when a panel has no stored location
+
+The location key defaults to 'none'. A panel loaded with it kept the
+NONE it was constructed with, so update_geometry never notified the
+applets or wrote the position back, and is_horizontal() laid the boxes
+out vertically while the layer shell edge and placement treated NONE as
+bottom. The spacer applet then reported -1 for its height inside a
+vertical box, which GTK treats as a fatal error, and the panel aborted
+on its first show.
+
+Resolve an unset location to the bottom edge, or the first free edge
+when bottom is taken, before the panel is shown so it gets persisted and
+the applets hear about it. Treat NONE as horizontal in the panel and the
+shadow block, matching the other position switches. Have the spacer
+request 0 on the axis the panel controls; GTK never accepts -1 as a
+size, it only survived because the box allocator does not validate the
+cross axis.
+
+Closes #1001
+
+Assisted-by: Claude:claude-fable-5-1
+Signed-off-by: Joshua Strobl <me@joshuastrobl.com>
+---
+ src/lib/shadow.vala                        |  6 +---
+ src/panel/applets/spacer/SpacerApplet.vala | 37 ++++++++--------------
+ src/panel/manager.vala                     | 18 +++++++++++
+ src/panel/panel.vala                       |  4 +--
+ 4 files changed, 34 insertions(+), 31 deletions(-)
+
+diff --git a/src/lib/shadow.vala b/src/lib/shadow.vala
+index 18105382..097619a1 100644
+--- a/src/lib/shadow.vala
++++ b/src/lib/shadow.vala
+@@ -52,11 +52,7 @@ namespace Budgie {
+ 
+ 
+ 		void update_position(PanelPosition? old) {
+-			if (pos == PanelPosition.TOP || pos == PanelPosition.BOTTOM) {
+-				horizontal = true;
+-			} else {
+-				horizontal = false;
+-			}
++			horizontal = (pos != PanelPosition.LEFT && pos != PanelPosition.RIGHT);
+ 			queue_resize();
+ 		}
+ 
+diff --git a/src/panel/applets/spacer/SpacerApplet.vala b/src/panel/applets/spacer/SpacerApplet.vala
+index 51189a20..bb6b87ec 100644
+--- a/src/panel/applets/spacer/SpacerApplet.vala
++++ b/src/panel/applets/spacer/SpacerApplet.vala
+@@ -73,40 +73,29 @@ public class SpacerApplet : Budgie.Applet {
+ 		queue_resize();
+ 	}
+ 
++	private bool on_vertical_panel() {
++		return this.panel_position == Budgie.PanelPosition.LEFT ||
++			this.panel_position == Budgie.PanelPosition.RIGHT;
++	}
++
+ 	public override void get_preferred_width(out int min, out int nat) {
+-		min = -1;
+-		nat = -1;
+-		if (this.panel_position == Budgie.PanelPosition.TOP ||
+-			this.panel_position == Budgie.PanelPosition.BOTTOM) {
+-				min = nat = space_size;
+-		}
++		// On a horizontal panel our width is the configured spacing; on a vertical one the panel decides our width, so request 0
++		min = nat = on_vertical_panel() ? 0 : space_size;
+ 	}
+ 
+ 	public override void get_preferred_width_for_height(int h, out int min, out int nat) {
+-		min = -1;
+-		nat = -1;
+-		if (this.panel_position == Budgie.PanelPosition.TOP ||
+-			this.panel_position == Budgie.PanelPosition.BOTTOM) {
+-				min = nat = space_size;
+-		}
++		// Same as get_preferred_width
++		min = nat = on_vertical_panel() ? 0 : space_size;
+ 	}
+ 
+ 	public override void get_preferred_height(out int min, out int nat) {
+-		min = -1;
+-		nat = -1;
+-		if (this.panel_position == Budgie.PanelPosition.LEFT ||
+-			this.panel_position == Budgie.PanelPosition.RIGHT) {
+-				min = nat = space_size;
+-		}
++		// On a vertical panel our height is the configured spacing; on a horizontal one the panel decides our height, so request 0
++		min = nat = on_vertical_panel() ? space_size : 0;
+ 	}
+ 
+ 	public override void get_preferred_height_for_width(int h, out int min, out int nat) {
+-		min = -1;
+-		nat = -1;
+-		if (this.panel_position == Budgie.PanelPosition.LEFT ||
+-			this.panel_position == Budgie.PanelPosition.RIGHT) {
+-				min = nat = space_size;
+-		}
++		// Same as get_preferred_height
++		min = nat = on_vertical_panel() ? space_size : 0;
+ 	}
+ }
+ 
+diff --git a/src/panel/manager.vala b/src/panel/manager.vala
+index 6aae5798..2e226b2d 100644
+--- a/src/panel/manager.vala
++++ b/src/panel/manager.vala
+@@ -863,6 +863,19 @@ namespace Budgie {
+ 			this.show_panel(uuid, position, transparency, policy, dock_mode, shadow_visible, spacing);
+ 		}
+ 
++		/**
++		* Pick an edge for a panel whose stored location is unset
++		*/
++		PanelPosition fallback_position() {
++			unowned Screen? area = screens.lookup(primary_monitor);
++			if (area == null || (area.slots & PanelPosition.BOTTOM) == 0) {
++				return PanelPosition.BOTTOM;
++			}
++
++			PanelPosition position = get_first_position(primary_monitor);
++			return position == PanelPosition.NONE ? PanelPosition.BOTTOM : position;
++		}
++
+ 		void show_panel(string uuid, PanelPosition position, PanelTransparency transparency, AutohidePolicy policy,
+ 			bool dock_mode, bool shadow_visible, int spacing) {
+ 
+@@ -872,6 +885,11 @@ namespace Budgie {
+ 				return;
+ 			}
+ 
++			if (position == PanelPosition.NONE) {
++				position = fallback_position();
++				warning("Panel %s has no stored location, placing it on the %s edge", uuid, position.to_string());
++			}
++
+ 			// If WaylandClient isn't initialized yet, defer until it is
+ 			if (wayland_client != null && !wayland_client.is_initialised()) {
+ 				debug("Deferring show_panel for %s until WaylandClient is ready", uuid);
+diff --git a/src/panel/panel.vala b/src/panel/panel.vala
+index caac411b..b910d9a7 100644
+--- a/src/panel/panel.vala
++++ b/src/panel/panel.vala
+@@ -188,7 +188,7 @@ namespace Budgie {
+ 			case PanelPosition.RIGHT:
+ 				return GtkLayerShell.Edge.RIGHT;
+ 			case PanelPosition.BOTTOM:
+-			case PanelPosition.NONE: // Note: NONE will never actually be hit because of checks where we are calling this function
++			case PanelPosition.NONE:
+ 				return GtkLayerShell.Edge.BOTTOM;
+ 		}
+ 		return GtkLayerShell.Edge.BOTTOM;
+@@ -1387,7 +1387,7 @@ namespace Budgie {
+ 		}
+ 
+ 		private bool is_horizontal() {
+-			return (position == Budgie.PanelPosition.TOP || position == Budgie.PanelPosition.BOTTOM);
++			return (position != Budgie.PanelPosition.LEFT && position != Budgie.PanelPosition.RIGHT);
+ 		}
+ 
+ 		/**
+-- 
+2.56.0
+

diff --git a/0003-fix-panel-store-a-new-panel-s-edge-before-it-is-show.patch b/0003-fix-panel-store-a-new-panel-s-edge-before-it-is-show.patch
new file mode 100644
index 0000000..40b17eb
--- /dev/null
+++ b/0003-fix-panel-store-a-new-panel-s-edge-before-it-is-show.patch
@@ -0,0 +1,48 @@
+From 4dea78eb211e32b8ec02d1588aa633c2c6a65f35 Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <me@joshuastrobl.com>
+Date: Wed, 30 Sep 2026 21:14:18 +0300
+Subject: [PATCH] fix(panel): store a new panel's edge before it is shown
+
+create_panel put the uuid into the panels list right away but the
+location was only written once show_panel reached update_geometry.
+show_panel defers until the WaylandClient has found the primary
+monitor, which on a first run is a 200ms poll, so if the process ended
+in that window the next login had a panel with no stored location.
+
+Write the edge as soon as the panel object exists. A layout section
+with no Position key now gets a real edge at creation too.
+
+Assisted-by: Claude:claude-fable-5-1
+Signed-off-by: Joshua Strobl <me@joshuastrobl.com>
+---
+ src/panel/manager.vala | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/src/panel/manager.vala b/src/panel/manager.vala
+index 2e226b2d..56783df3 100644
+--- a/src/panel/manager.vala
++++ b/src/panel/manager.vala
+@@ -1339,6 +1339,11 @@ namespace Budgie {
+ 				} catch (Error e) {
+ 					warning("create_panel(): %s", e.message);
+ 				}
++
++				// The layout did not say where this panel goes, so pick an edge for it
++				if (position == PanelPosition.NONE) {
++					position = fallback_position();
++				}
+ 			} else {
+ 				position = get_first_position(this.primary_monitor);
+ 				if (position == PanelPosition.NONE) {
+@@ -1349,6 +1354,8 @@ namespace Budgie {
+ 
+ 			var uuid = LibUUID.new(UUIDFlags.LOWER_CASE|UUIDFlags.TIME_SAFE_TYPE);
+ 			load_panel(uuid, false);
++			// show_panel may be deferred, so store the edge now
++			panels.lookup(uuid).set_position_setting(position);
+ 
+ 			set_panels();
+ 			show_panel(uuid, position, transparency, policy, dock_mode, shadow_visible, spacing);
+-- 
+2.56.0
+

diff --git a/0004-feat-appindexer-share-one-list-of-installed-apps-acr.patch b/0004-feat-appindexer-share-one-list-of-installed-apps-acr.patch
new file mode 100644
index 0000000..f1fc7ac
--- /dev/null
+++ b/0004-feat-appindexer-share-one-list-of-installed-apps-acr.patch
@@ -0,0 +1,282 @@
+From 30dc1a72d5b1f3964308b03f2a4ddba97cb886bd Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <me@joshuastrobl.com>
+Date: Sat, 26 Sep 2026 16:48:53 +0300
+Subject: [PATCH] feat(appindexer): share one list of installed apps across the
+ panel
+
+the menu's app index, the icon tasklist's matcher and the autostart page
+each called g_app_info_get_all() on their own, and every call reads and
+parses every desktop file on the system. the matcher did it once per app
+it had to match, so at startup the tasklist ran several full scans back to
+back on the main thread before its icons showed up.
+
+AppInfoStore now loads the list once, hands the same DesktopAppInfo objects
+to every consumer in the order gio lists them, and reloads when the
+installed apps change. the app index refreshes from the store's changed
+signal and keeps its existing delay.
+
+in testing, with 281 desktop files installed, measured over the panel's
+first 90 seconds:
+
+- startup went from nine full scans to one, removing about 180ms of
+  back to back main-thread work before the tasklist filled in.
+- the panel's user-space cpu time dropped by about a third, from roughly
+  410ms to 260ms. most of that was the tasklist's first population, which
+  went from about 110ms to 15ms.
+- allocations dropped by about a third, from 2.76M to 1.76M, and
+  short-lived allocations by more than half, from 522k to 213k.
+- peak heap went up by about 0.8MB, since the store keeps the list for
+  the life of the process.
+
+windows that fall back to the matcher after startup, and opening the
+autostart page, now read the same list, where each used to rescan every
+desktop file.
+
+Assisted-by: Claude:claude-opus-5-5[1m]
+Signed-off-by: Joshua Strobl <me@joshuastrobl.com>
+---
+ src/appindexer/AppIndex.vala                  | 17 ++---
+ src/appindexer/AppInfoStore.vala              | 73 +++++++++++++++++++
+ src/appindexer/meson.build                    |  1 +
+ .../icon-tasklist/ApplicationMatcher.vala     |  2 +-
+ src/panel/applets/icon-tasklist/meson.build   |  2 +
+ src/panel/meson.build                         |  2 +
+ src/panel/settings/settings_autostart.vala    | 17 ++---
+ 7 files changed, 92 insertions(+), 22 deletions(-)
+ create mode 100644 src/appindexer/AppInfoStore.vala
+
+diff --git a/src/appindexer/AppIndex.vala b/src/appindexer/AppIndex.vala
+index 6c8de391..b230b362 100644
+--- a/src/appindexer/AppIndex.vala
++++ b/src/appindexer/AppIndex.vala
+@@ -23,7 +23,6 @@ namespace Budgie {
+ 		private Gee.ArrayList<Category> categories;
+ 		private Category misc_category;
+ 
+-		private AppInfoMonitor monitor;
+ 		private FileMonitor file_monitor;
+ 		private uint timeout_id = 0;
+ 
+@@ -47,10 +46,7 @@ namespace Budgie {
+ 				excluded_applications = { "htop.desktop", "onboard.desktop", "org.gnome.FileRoller.desktop", "org.gnome.font-viewer.desktop" }
+ 			};
+ 
+-			this.monitor = AppInfoMonitor.@get();
+-			this.monitor.changed.connect(() => {
+-				this.queue_refresh();
+-			});
++			AppInfoStore.get_default().changed.connect(on_apps_changed);
+ 
+ 			// Start watching the desktop-directories folder for custom category support
+ 			var path = Path.build_path(Path.DIR_SEPARATOR_S, Environment.get_home_dir(), ".local", "share", "desktop-directories");
+@@ -69,6 +65,10 @@ namespace Budgie {
+ 			this.refresh();
+ 		}
+ 
++		private void on_apps_changed() {
++			this.queue_refresh();
++		}
++
+ 		/**
+ 		 * Gets the shared static AppIndex instance.
+ 		 *
+@@ -207,12 +207,7 @@ namespace Budgie {
+ 			this.create_custom_categories();
+ 
+ 			// Iterate over all registered AppInfos and try to put them in categories
+-			foreach (var app in AppInfo.get_all()) {
+-				unowned var desktop_app = app as DesktopAppInfo;
+-				if (desktop_app == null) {
+-					continue;
+-				}
+-
++			foreach (unowned var desktop_app in AppInfoStore.get_default().get_apps()) {
+ 				// Sort the application based on its DesktopAppInfo
+ 				this.sort_application(desktop_app);
+ 			}
+diff --git a/src/appindexer/AppInfoStore.vala b/src/appindexer/AppInfoStore.vala
+new file mode 100644
+index 00000000..4a406a4a
+--- /dev/null
++++ b/src/appindexer/AppInfoStore.vala
+@@ -0,0 +1,73 @@
++/*
++ * This file is part of budgie-desktop
++ *
++ * Copyright Budgie Desktop Developers
++ *
++ * This program is free software; you can redistribute it and/or modify
++ * it under the terms of the GNU General Public License as published by
++ * the Free Software Foundation; either version 2 of the License, or
++ * (at your option) any later version.
++ */
++
++namespace Budgie {
++	/**
++	 * Holds the installed desktop applications for every consumer in the
++	 * process, and reloads them when the installed applications change.
++	 */
++	public class AppInfoStore : Object {
++		private static AppInfoStore? instance = null;
++
++		private AppInfoMonitor monitor;
++		private List<DesktopAppInfo> apps = new List<DesktopAppInfo>();
++		private bool loaded = false;
++
++		/**
++		 * Emitted when the installed applications change. The next call to
++		 * get_apps() loads the new set.
++		 */
++		public signal void changed();
++
++		private AppInfoStore() {
++			Object();
++		}
++
++		construct {
++			monitor = AppInfoMonitor.@get();
++			monitor.changed.connect(on_monitor_changed);
++		}
++
++		/**
++		 * Gets the shared AppInfoStore instance, creating it on first use.
++		 */
++		public static unowned AppInfoStore get_default() {
++			if (instance == null) {
++				instance = new AppInfoStore();
++			}
++
++			return instance;
++		}
++
++		/**
++		 * Get the installed desktop applications, in the order GIO lists them.
++		 */
++		public unowned List<DesktopAppInfo> get_apps() {
++			if (!loaded) {
++				foreach (var app_info in AppInfo.get_all()) {
++					var desktop_info = app_info as DesktopAppInfo;
++					if (desktop_info != null) apps.append(desktop_info);
++				}
++
++				loaded = true;
++			}
++
++			return apps;
++		}
++
++		private void on_monitor_changed() {
++			apps = new List<DesktopAppInfo>();
++			loaded = false;
++
++			changed();
++		}
++	}
++}
+diff --git a/src/appindexer/meson.build b/src/appindexer/meson.build
+index 15fec244..5b632c51 100644
+--- a/src/appindexer/meson.build
++++ b/src/appindexer/meson.build
+@@ -2,6 +2,7 @@ subdir('fuzzer')
+ 
+ appindexer_sources = [
+     'AppIndex.vala',
++    'AppInfoStore.vala',
+     'Category.vala',
+     'RelevancyService.vala',
+ ]
+diff --git a/src/panel/applets/icon-tasklist/ApplicationMatcher.vala b/src/panel/applets/icon-tasklist/ApplicationMatcher.vala
+index 0d3e3a9b..32328605 100644
+--- a/src/panel/applets/icon-tasklist/ApplicationMatcher.vala
++++ b/src/panel/applets/icon-tasklist/ApplicationMatcher.vala
+@@ -61,7 +61,7 @@ namespace Budgie {
+ 
+ 			// Collect all installed desktop files
+ 			DesktopAppInfo[] desktop_infos = {};
+-			foreach (var app_info in AppInfo.get_all()) {
++			foreach (var app_info in AppInfoStore.get_default().get_apps()) {
+ 				var desktop_info = app_info as DesktopAppInfo;
+ 				if (desktop_info == null || desktop_info.get_id() == null) continue;
+ 
+diff --git a/src/panel/applets/icon-tasklist/meson.build b/src/panel/applets/icon-tasklist/meson.build
+index 15ee8fad..883d14d2 100644
+--- a/src/panel/applets/icon-tasklist/meson.build
++++ b/src/panel/applets/icon-tasklist/meson.build
+@@ -42,6 +42,7 @@ applet_icontasklist_sources = [
+ 
+ applet_icontasklist_deps = [
+     libpanelplugin_vapi,
++    dep_gee,
+     dep_giounix,
+     dep_gtk3,
+     dep_peas,
+@@ -49,6 +50,7 @@ applet_icontasklist_deps = [
+     link_libwindowing,
+     link_libpanelplugin,
+     link_libbudgieprivate,
++    link_libappindexer,
+     meson.get_compiler('c').find_library('m', required: false)
+ ]
+ 
+diff --git a/src/panel/meson.build b/src/panel/meson.build
+index 62fa0cc7..0d9654b2 100644
+--- a/src/panel/meson.build
++++ b/src/panel/meson.build
+@@ -50,6 +50,7 @@ panel_sources = [
+ 
+ panel_deps = [
+     libpanelplugin_vapi,
++    dep_gee,
+     dep_giounix,
+     dep_girepository,
+     dep_gtk3,
+@@ -68,6 +69,7 @@ panel_deps = [
+     link_libraven,
+     link_libwindowing,
+     link_libbudgiewayland,
++    link_libappindexer,
+     gvc.get_variable('libgvc_dep'),
+ ]
+ 
+diff --git a/src/panel/settings/settings_autostart.vala b/src/panel/settings/settings_autostart.vala
+index f6a69f41..9e4b2a70 100644
+--- a/src/panel/settings/settings_autostart.vala
++++ b/src/panel/settings/settings_autostart.vala
+@@ -232,7 +232,7 @@ namespace Budgie {
+ 			content_area.show_all();
+ 
+ 			set_default_size(400, 450);
+-			set_app_list(AppInfo.get_all());
++			set_app_list(AppInfoStore.get_default().get_apps());
+ 		}
+ 
+ 		private bool search_filter(Gtk.ListBoxRow row) {
+@@ -291,19 +291,16 @@ namespace Budgie {
+ 			}
+ 		}
+ 
+-		private void set_app_list(List<AppInfo> app_list) {
++		private void set_app_list(List<DesktopAppInfo> app_list) {
+ 			foreach (var child in app_listbox.get_children()) {
+ 				child.destroy();
+ 			}
+ 
+-			foreach (var app in app_list) {
+-				if (app.should_show()) {
+-					DesktopAppInfo? info = new DesktopAppInfo(app.get_id());
+-					if (info != null) {
+-						AutostartItem item = new AutostartItem.from_app_info(info);
+-						bool running = running_processes.contains(item.executable);
+-						app_listbox.add(new AutostartItemWidget(item, false, running));
+-					}
++			foreach (unowned var info in app_list) {
++				if (info.should_show()) {
++					AutostartItem item = new AutostartItem.from_app_info(info);
++					bool running = running_processes.contains(item.executable);
++					app_listbox.add(new AutostartItemWidget(item, false, running));
+ 				}
+ 			}
+ 			this.show_all();
+-- 
+2.56.0
+

diff --git a/0005-fix-session-dont-force-qpa-wayland-platform-fallback.patch b/0005-fix-session-dont-force-qpa-wayland-platform-fallback.patch
new file mode 100644
index 0000000..88d065a
--- /dev/null
+++ b/0005-fix-session-dont-force-qpa-wayland-platform-fallback.patch
@@ -0,0 +1,29 @@
+From 41bf6f3a7e974c6630a3f420d38f0b3f52984cfd Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <me@joshuastrobl.com>
+Date: Sat, 3 Oct 2026 12:51:47 +0300
+Subject: [PATCH] fix(session): dont force qpa wayland platform, fallback to
+ xcb
+
+Can prevent launching some older Qt apps, AppImages, etc.
+
+Signed-off-by: Joshua Strobl <me@joshuastrobl.com>
+---
+ src/session/startbudgielabwc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/session/startbudgielabwc.in b/src/session/startbudgielabwc.in
+index afdd542e..be8bfaf8 100755
+--- a/src/session/startbudgielabwc.in
++++ b/src/session/startbudgielabwc.in
+@@ -67,7 +67,7 @@ if [ -z "${GDK_BACKEND}" ]; then
+     export GDK_BACKEND
+ fi
+ if [ -z "${QT_QPA_PLATFORM}" ]; then
+-    QT_QPA_PLATFORM="wayland"
++    QT_QPA_PLATFORM="wayland;xcb"
+     export QT_QPA_PLATFORM
+ fi
+ 
+-- 
+2.56.0
+

diff --git a/0006-fix-panel-stop-identifying-applet-plugins-by-their-t.patch b/0006-fix-panel-stop-identifying-applet-plugins-by-their-t.patch
new file mode 100644
index 0000000..7de0c41
--- /dev/null
+++ b/0006-fix-panel-stop-identifying-applet-plugins-by-their-t.patch
@@ -0,0 +1,633 @@
+From 091c37accf1fb02f35935f18af11d5fcf2a20d07 Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <me@joshuastrobl.com>
+Date: Sun, 11 Oct 2026 16:40:30 +0300
+Subject: [PATCH] fix(panel): stop identifying applet plugins by their
+ translated name
+
+since the plugin names became translatable in #986, peas_plugin_info_get_name
+returns the localized name. the plugin manager used it to match the name stored
+in each applet's settings, so in a translated locale every applet whose name has
+a translation failed to load and was dropped from the panel. budgie_applet_info_new
+also wrote the localized name back into the applet's settings.
+
+applets now store the plugin's module name in a new optional module key, which
+the loader prefers. without it, the untranslated Name is read from the .plugin
+file, since libpeas only exposes the localized one, and the localized name is
+still accepted so configs saved by 10.10.3 load. on load, the module key is
+filled in and a localized name is replaced with the untranslated one, with a
+message logged per applet. the localized name is kept as display-name for the
+applets list in settings.
+
+panel.ini entries gain Module=, preferred over ID= when present.
+
+add_new loads the plugin and creates the applet directly, since modprobe is
+synchronous. the creating table matched applets to the extension-loaded signal
+by the name add_new was given, which is localized from the chooser or a module
+from panel.ini, so it never matched the untranslated name the signal carries.
+
+Assisted-by: Claude:claude-opus-5-5
+Signed-off-by: Joshua Strobl <me@joshuastrobl.com>
+---
+ ...com.solus-project.budgie-panel.gschema.xml |   6 +
+ src/panel/panel.ini                           |   7 +
+ src/panel/panel.vala                          |  48 +---
+ src/panel/plugin/plugin-manager.c             | 216 +++++++++++++++---
+ .../settings/settings_panel_applets.vala      |   2 +-
+ src/plugin/panel/applet-info.c                |  16 +-
+ src/plugin/panel/applet.h                     |   1 +
+ 7 files changed, 228 insertions(+), 68 deletions(-)
+
+diff --git a/src/panel/com.solus-project.budgie-panel.gschema.xml b/src/panel/com.solus-project.budgie-panel.gschema.xml
+index e384a4b7..58c7cded 100644
+--- a/src/panel/com.solus-project.budgie-panel.gschema.xml
++++ b/src/panel/com.solus-project.budgie-panel.gschema.xml
+@@ -108,6 +108,12 @@
+       <summary>Name of the provider plugin</summary>
+       <description>Name of the provider plugin</description>
+     </key>
++
++    <key type="s" name="module">
++      <default>''</default>
++      <summary>Module of the provider plugin</summary>
++      <description>Module of the provider plugin, preferred over name when set</description>
++    </key>
+   </schema>
+ 
+   <schema path="/com/solus-project/budgie-panel/" id="com.solus-project.budgie-panel">
+diff --git a/src/panel/panel.ini b/src/panel/panel.ini
+index a450c793..62f73e78 100644
+--- a/src/panel/panel.ini
++++ b/src/panel/panel.ini
+@@ -7,26 +7,33 @@ Position=Bottom
+ 
+ [Budgie Menu]
+ ID=Budgie Menu
++Module=budgiemenuapplet.so
+ 
+ [Icon Tasklist]
+ ID=Icon Task List
++Module=icontasklistapplet.so
+ 
+ [Tray]
+ ID=System Tray
++Module=trayapplet.so
+ Alignment=end
+ 
+ [Notifications]
+ ID=Notifications
++Module=notificationsapplet.so
+ Alignment=end
+ 
+ [Status]
+ ID=Status Indicator
++Module=statusapplet.so
+ Alignment=end
+ 
+ [Clock]
+ ID=Clock
++Module=clockapplet.so
+ Alignment=end
+ 
+ [Raven Trigger]
+ ID=Raven Trigger
++Module=raventriggerapplet.so
+ Alignment=end
+diff --git a/src/panel/panel.vala b/src/panel/panel.vala
+index be996839..c997e4c3 100644
+--- a/src/panel/panel.vala
++++ b/src/panel/panel.vala
+@@ -211,7 +211,6 @@ namespace Budgie {
+ 		Budgie.ShadowBlock shadow;
+ 
+ 		HashTable<string,HashTable<string,string>> pending = null;
+-		HashTable<string,HashTable<string,string>> creating = null;
+ 		HashTable<string,Budgie.AppletInfo?> applets = null;
+ 
+ 		HashTable<string,Budgie.AppletInfo?> initial_config = null;
+@@ -452,7 +451,6 @@ namespace Budgie {
+ 
+ 			popover_manager = new PopoverManager();
+ 			pending = new HashTable<string,HashTable<string,string>>(str_hash, str_equal);
+-			creating = new HashTable<string,HashTable<string,string>>(str_hash, str_equal);
+ 			applets = new HashTable<string,Budgie.AppletInfo?>(str_hash, str_equal);
+ 			expected_uuids = new List<string?>();
+ 			panel_loaded.connect(on_fully_loaded);
+@@ -736,27 +734,6 @@ namespace Budgie {
+ 				}
+ 				pending.remove(name);
+ 			}
+-
+-			todo = null;
+-
+-			todo = creating.lookup(name);
+-			if (todo != null) {
+-				var iter = HashTableIter<string,string>(todo);
+-				string? uuid = null;
+-
+-				while (iter.next(out uuid, null)) {
+-					Budgie.AppletInfo? info = null;
+-
+-					try {
+-						info = this.plugin_manager.create_applet(name, uuid);
+-						this.add_applet(info);
+-						/* this.configure_applet(info); */
+-					} catch (Error e) {
+-						critical("Failed to load applet when we know it exists");
+-					}
+-				}
+-				creating.remove(name);
+-			}
+ 		}
+ 
+ 		/**
+@@ -940,14 +917,16 @@ namespace Budgie {
+ 						continue;
+ 					}
+ 
+-					if (!config.has_key(appl, "ID")) {
+-						warning("Applet %s is missing ID", appl);
++					string key = config.has_key(appl, "Module") ? "Module" : "ID"; // prefer the module, ID is the plugin name for older layouts
++
++					if (!config.has_key(appl, key)) {
++						warning("Applet %s is missing Module or ID", appl);
+ 						continue;
+ 					}
+ 
+ 					uuid = LibUUID.new(UUIDFlags.LOWER_CASE|UUIDFlags.TIME_SAFE_TYPE);
+ 
+-					var id = config.get_string(appl, "ID").strip();
++					var id = config.get_string(appl, key).strip();
+ 					if (uuid == null || uuid.strip() == "") {
+ 						warning("Could not add new applet %s from config %s", id, name);
+ 						continue;
+@@ -1173,7 +1152,6 @@ namespace Budgie {
+ 
+ 		void add_new(string plugin_name, string? initial_uuid = null) {
+ 			string? uuid = null;
+-			unowned HashTable<string,string>? table = null;
+ 
+ 			if (!this.plugin_manager.is_plugin_valid(plugin_name)) {
+ 				warning("Not loading invalid plugin: %s", plugin_name);
+@@ -1186,20 +1164,12 @@ namespace Budgie {
+ 			}
+ 
+ 			if (!this.plugin_manager.is_plugin_loaded(plugin_name)) {
+-				/* Request a load of the new guy */
+-				table = creating.lookup(plugin_name);
+-				if (table != null) {
+-					if (!table.contains(uuid)) {
+-						table.insert(uuid, uuid);
+-					}
++				this.plugin_manager.modprobe(plugin_name); // synchronous, and plugin_name may be localized or a module so extension-loaded can't match it
++
++				if (!this.plugin_manager.is_plugin_loaded(plugin_name)) {
++					warning("Not adding applet whose plugin failed to load: %s", plugin_name);
+ 					return;
+ 				}
+-				/* Looks insane but avoids copies */
+-				creating.insert(plugin_name, new HashTable<string,string>(str_hash, str_equal));
+-				table = creating.lookup(plugin_name);
+-				table.insert(uuid, uuid);
+-				this.plugin_manager.modprobe(plugin_name);
+-				return;
+ 			}
+ 			/* Already exists */
+ 			try {
+diff --git a/src/panel/plugin/plugin-manager.c b/src/panel/plugin/plugin-manager.c
+index ef970a8f..29196b56 100644
+--- a/src/panel/plugin/plugin-manager.c
++++ b/src/panel/plugin/plugin-manager.c
+@@ -50,8 +50,11 @@ struct _BudgiePanelPluginManager {
+ 	PeasExtensionSet *extensions;
+ 
+ 	GHashTable *plugins;
++	GHashTable *plugin_names;
+ };
+ 
++static const gchar *panel_plugin_manager_get_plugin_name(BudgiePanelPluginManager *self, PeasPluginInfo *info);
++
+ G_DEFINE_FINAL_TYPE(BudgiePanelPluginManager, budgie_panel_plugin_manager, G_TYPE_OBJECT)
+ 
+ /******************************************************************************
+@@ -60,20 +63,20 @@ G_DEFINE_FINAL_TYPE(BudgiePanelPluginManager, budgie_panel_plugin_manager, G_TYP
+ 
+ static void panel_plugin_manager_extension_added_cb(PeasExtensionSet *set, PeasPluginInfo *info, GObject *extension, gpointer data) {
+ 	BudgiePanelPluginManager *self = data;
+-	gchar *plugin_name = NULL;
++	const gchar *module_name = NULL;
+ 
+ 	g_return_if_fail(PEAS_IS_PLUGIN_INFO(info));
+ 	g_return_if_fail(extension != NULL);
+ 
+-	plugin_name = peas_plugin_info_get_name(info);
++	module_name = peas_plugin_info_get_module_name(info); // module names are unique and never translated
+ 
+-	if G_UNLIKELY (g_hash_table_contains(self->plugins, plugin_name)) {
++	if G_UNLIKELY (g_hash_table_contains(self->plugins, module_name)) {
+ 		return;
+ 	}
+ 
+-	g_hash_table_insert(self->plugins, g_strdup(plugin_name), g_object_ref(info));
++	g_hash_table_insert(self->plugins, g_strdup(module_name), g_object_ref(info));
+ 
+-	g_signal_emit(self, signals[EXTENSION_LOADED], 0, plugin_name);
++	g_signal_emit(self, signals[EXTENSION_LOADED], 0, panel_plugin_manager_get_plugin_name(self, info));
+ }
+ 
+ /******************************************************************************
+@@ -92,20 +95,102 @@ static gchar *panel_plugin_manager_create_applet_path(const gchar* uuid) {
+ 	return g_strdup_printf("%s/{%s}/", BUDGIE_APPLET_PREFIX, uuid);
+ }
+ 
+- /**
+- * panel_plugin_manager_get_plugin_info:
++/**
++ * panel_plugin_manager_read_plugin_name:
++ * @info: A #PeasPluginInfo.
++ *
++ * Reads the untranslated Name key from the .plugin file that @info was
++ * created from, falling back to the localized name if the file can't be read.
++ *
++ * Returns: (transfer full): The untranslated plugin name.
++ */
++static gchar *panel_plugin_manager_read_plugin_name(PeasPluginInfo *info) {
++	const gchar *module_dir = peas_plugin_info_get_module_dir(info);
++	const gchar *module_name = peas_plugin_info_get_module_name(info);
++	g_autoptr(GDir) dir = NULL;
++	g_autoptr(GError) error = NULL;
++	const gchar *file_name = NULL;
++
++	dir = g_dir_open(module_dir, 0, &error);
++
++	if (dir == NULL) {
++		g_debug("Unable to read plugin directory for module '%s': %s", module_name, error->message);
++		return g_strdup(peas_plugin_info_get_name(info)); // unreadable dir, use the localized name
++	}
++
++	while ((file_name = g_dir_read_name(dir)) != NULL) { // libpeas has no getter for the .plugin path, but it sits in the module dir
++		g_autofree gchar *path = NULL;
++		g_autoptr(GKeyFile) key_file = NULL;
++		g_autoptr(GError) load_error = NULL;
++		g_autofree gchar *module = NULL;
++		gchar *name = NULL;
++
++		if (!g_str_has_suffix(file_name, ".plugin")) { // skip the module itself and data files
++			continue;
++		}
++
++		path = g_build_filename(module_dir, file_name, NULL);
++		key_file = g_key_file_new();
++
++		if (!g_key_file_load_from_file(key_file, path, G_KEY_FILE_NONE, &load_error)) {
++			g_debug("Unable to read plugin file '%s': %s", path, load_error->message);
++			continue;
++		}
++
++		module = g_key_file_get_string(key_file, "Plugin", "Module", NULL);
++
++		if (g_strcmp0(module, module_name) != 0) { // another plugin sharing this dir
++			continue;
++		}
++
++		name = g_key_file_get_string(key_file, "Plugin", "Name", NULL); // get_string ignores Name[locale] entries
++
++		if (name != NULL) {
++			return name;
++		}
++	}
++
++	return g_strdup(peas_plugin_info_get_name(info)); // no matching .plugin file, use the localized name
++}
++
++/**
++ * panel_plugin_manager_get_plugin_name:
++ * @self: A #BudgiePanelPluginManager instance.
++ * @info: A #PeasPluginInfo.
++ *
++ * Gets the untranslated name of @info, which identifies the plugin in
++ * applet settings and layout files.
++ *
++ * Returns: (transfer none): The untranslated plugin name.
++ */
++static const gchar *panel_plugin_manager_get_plugin_name(BudgiePanelPluginManager *self, PeasPluginInfo *info) {
++	gchar *name = g_hash_table_lookup(self->plugin_names, info);
++
++	if (name != NULL) { // already read from disk
++		return name;
++	}
++
++	name = panel_plugin_manager_read_plugin_name(info);
++	g_hash_table_insert(self->plugin_names, g_object_ref(info), name); // cache it, lookups run once per plugin per applet
++
++	return name;
++}
++
++/**
++ * panel_plugin_manager_find_plugin_info:
+  * @self: A #BudgiePanelPluginManager instance.
+  * @name: A plugin name.
++ * @localized: Whether to compare @name against the localized name.
+  *
+- * Gets the #PeasPluginInfo corresponding to a plugin with @name,
+- * or %NULL if no plugin with @name is found.
++ * Gets the #PeasPluginInfo whose untranslated or localized name is @name,
++ * or %NULL if no plugin matches.
+  *
+  * Returns: (transfer full): The #PeasPluginInfo corresponding to @name.
+  */
+-static PeasPluginInfo *panel_plugin_manager_get_plugin_info(BudgiePanelPluginManager *self, const gchar *name) {
++static PeasPluginInfo *panel_plugin_manager_find_plugin_info(BudgiePanelPluginManager *self, const gchar *name, gboolean localized) {
+ 	guint i = 0;
+ 	PeasPluginInfo *info = NULL;
+-	gchar *found_name = NULL;
++	const gchar *found_name = NULL;
+ 
+ 	while ((info = g_list_model_get_item(G_LIST_MODEL(self->engine), i)) != NULL) {
+ 		i++;
+@@ -115,9 +200,9 @@ static PeasPluginInfo *panel_plugin_manager_get_plugin_info(BudgiePanelPluginMan
+ 			continue;
+ 		}
+ 
+-		found_name = peas_plugin_info_get_name(info);
++		found_name = localized ? peas_plugin_info_get_name(info) : panel_plugin_manager_get_plugin_name(self, info);
+ 
+-		if (g_str_equal(found_name, name)) {
++		if (g_str_equal(found_name, name)) { // return this info with its ref
+ 			break;
+ 		}
+ 
+@@ -127,6 +212,33 @@ static PeasPluginInfo *panel_plugin_manager_get_plugin_info(BudgiePanelPluginMan
+ 	return info;
+ }
+ 
++/**
++ * panel_plugin_manager_get_plugin_info:
++ * @self: A #BudgiePanelPluginManager instance.
++ * @name: A plugin name.
++ *
++ * Gets the #PeasPluginInfo corresponding to a plugin with @name,
++ * or %NULL if no plugin with @name is found. @name is matched as a
++ * module name, then as the untranslated name, then as the localized one.
++ *
++ * Returns: (transfer full): The #PeasPluginInfo corresponding to @name.
++ */
++static PeasPluginInfo *panel_plugin_manager_get_plugin_info(BudgiePanelPluginManager *self, const gchar *name) {
++	PeasPluginInfo *info = peas_engine_get_plugin_info(self->engine, name);
++
++	if (info != NULL) { // matched the module name, the engine keeps ownership
++		return g_object_ref(info);
++	}
++
++	info = panel_plugin_manager_find_plugin_info(self, name, FALSE);
++
++	if (info != NULL) { // matched the untranslated name
++		return info;
++	}
++
++	return panel_plugin_manager_find_plugin_info(self, name, TRUE); // 10.10.3 stored localized names, and the chooser passes them
++}
++
+ /******************************************************************************
+  * GObject
+  *****************************************************************************/
+@@ -140,6 +252,7 @@ static void panel_plugin_manager_finalize(GObject *obj) {
+ 	g_clear_object(&self->extensions);
+ 	g_clear_object(&self->engine);
+ 	g_clear_pointer(&self->plugins, g_hash_table_unref);
++	g_clear_pointer(&self->plugin_names, g_hash_table_unref);
+ 
+ 	G_OBJECT_CLASS(budgie_panel_plugin_manager_parent_class)->finalize(obj);
+ }
+@@ -175,6 +288,7 @@ static void budgie_panel_plugin_manager_init(BudgiePanelPluginManager *self) {
+ 	g_autoptr(GError) error = NULL;
+ 
+ 	self->plugins = g_hash_table_new(g_str_hash, g_str_equal);
++	self->plugin_names = g_hash_table_new_full(g_direct_hash, g_direct_equal, g_object_unref, g_free);
+ 	self->settings = g_settings_new("com.solus-project.budgie-panel");
+ 	self->engine = peas_engine_new();
+ 
+@@ -297,10 +411,18 @@ GList *budgie_panel_plugin_manager_get_all_plugins(BudgiePanelPluginManager *sel
+  * Returns: %TRUE if the plugin is loaded, %FALSE otherwise.
+  */
+ gboolean budgie_panel_plugin_manager_is_plugin_loaded(BudgiePanelPluginManager *self, const gchar *name) {
++	g_autoptr(PeasPluginInfo) info = NULL;
++
+ 	g_return_val_if_fail(BUDGIE_IS_PANEL_PLUGIN_MANAGER(self), FALSE);
+ 	g_return_val_if_fail(name != NULL, FALSE);
+ 
+-	return g_hash_table_contains(self->plugins, name);
++	info = panel_plugin_manager_get_plugin_info(self, name); // resolve a localized name to its plugin
++
++	if (!PEAS_IS_PLUGIN_INFO(info)) {
++		return FALSE;
++	}
++
++	return g_hash_table_contains(self->plugins, peas_plugin_info_get_module_name(info));
+ }
+ 
+ /**
+@@ -380,6 +502,9 @@ BudgieAppletInfo *budgie_panel_plugin_manager_load_applet_instance(BudgiePanelPl
+ 	g_autofree gchar *path = NULL;
+ 	g_autoptr(GSettings) settings = NULL;
+ 	g_autofree gchar *plugin_name = NULL;
++	g_autofree gchar *module_name = NULL;
++	const gchar *stored_name = NULL;
++	const gchar *stored_module = NULL;
+ 	g_autoptr(PeasPluginInfo) info = NULL;
+ 	GObject *extension = NULL;
+ 	BudgieApplet *applet = NULL;
+@@ -399,24 +524,49 @@ BudgieAppletInfo *budgie_panel_plugin_manager_load_applet_instance(BudgiePanelPl
+ 	}
+ 
+ 	plugin_name = g_settings_get_string(settings, BUDGIE_APPLET_KEY_NAME);
++	module_name = g_settings_get_string(settings, BUDGIE_APPLET_KEY_MODULE);
+ 
+-	if (g_hash_table_contains(self->plugins, plugin_name)) {
+-		info = g_object_ref(g_hash_table_lookup(self->plugins, plugin_name));
++	if (*module_name != '\0') { // prefer the module, it never changes with the locale
++		info = panel_plugin_manager_get_plugin_info(self, module_name);
+ 	}
+ 
+-	// Check if the plugin has been loaded
+-	if (!PEAS_IS_PLUGIN_INFO(info)) {
++	if (!PEAS_IS_PLUGIN_INFO(info)) { // no module stored yet, or the plugin renamed its module
+ 		info = panel_plugin_manager_get_plugin_info(self, plugin_name);
++	}
+ 
+-		if (!PEAS_IS_PLUGIN_INFO(info)) {
+-			g_set_error(err,
+-					BUDGIE_PANEL_PLUGIN_MANAGER_ERROR,
+-						BUDGIE_PANEL_PLUGIN_MANAGER_ERROR_INVALID,
+-					"Tried to load invalid plugin '%s' with UUID %s", plugin_name, uuid);
+-			*name = g_strdup(plugin_name);
+-			return NULL;
++	if (!PEAS_IS_PLUGIN_INFO(info)) {
++		g_set_error(err,
++				BUDGIE_PANEL_PLUGIN_MANAGER_ERROR,
++					BUDGIE_PANEL_PLUGIN_MANAGER_ERROR_INVALID,
++				"Tried to load invalid plugin '%s' with UUID %s", plugin_name, uuid);
++		*name = g_strdup(plugin_name);
++		return NULL;
++	}
++
++	stored_module = peas_plugin_info_get_module_name(info);
++	stored_name = panel_plugin_manager_get_plugin_name(self, info);
++
++	if (!g_str_equal(module_name, stored_module)) { // add the module to applets saved before the key existed
++		if (g_settings_set_string(settings, BUDGIE_APPLET_KEY_MODULE, stored_module)) {
++			g_message("Migrated applet '%s' with UUID %s to module '%s'", stored_name, uuid, stored_module);
++		} else {
++			g_warning("Unable to migrate applet '%s' with UUID %s to module '%s': settings are not writable", stored_name, uuid, stored_module);
+ 		}
++	}
+ 
++	if (!g_str_equal(plugin_name, stored_name)) { // replace a localized name saved by 10.10.3
++		if (g_settings_set_string(settings, BUDGIE_APPLET_KEY_NAME, stored_name)) {
++			g_message("Migrated applet with UUID %s from localized name '%s' to '%s'", uuid, plugin_name, stored_name);
++		} else {
++			g_warning("Unable to migrate applet with UUID %s from localized name '%s' to '%s': settings are not writable", uuid, plugin_name, stored_name);
++		}
++
++		g_free(plugin_name); // load with the untranslated name even if the write failed
++		plugin_name = g_strdup(stored_name);
++	}
++
++	// Check if the plugin has been loaded
++	if (!g_hash_table_contains(self->plugins, stored_module)) {
+ 		// Try to load the plugin
+ 		if (!peas_engine_load_plugin(self->engine, info)) {
+ 			g_set_error(err,
+@@ -470,6 +620,7 @@ BudgieAppletInfo *budgie_panel_plugin_manager_load_applet_instance(BudgiePanelPl
+ BudgieAppletInfo *budgie_panel_plugin_manager_create_applet(BudgiePanelPluginManager *self, const gchar *name, const gchar *uuid, GError **err) {
+ 	g_autofree gchar *path = NULL;
+ 	g_autoptr(GSettings) settings = NULL;
++	g_autoptr(PeasPluginInfo) plugin_info = NULL;
+ 	BudgieAppletInfo *info = NULL;
+ 	GError *temp_err = NULL;
+ 
+@@ -478,7 +629,17 @@ BudgieAppletInfo *budgie_panel_plugin_manager_create_applet(BudgiePanelPluginMan
+ 	g_return_val_if_fail(uuid != NULL, NULL);
+ 	g_return_val_if_fail(err == NULL || *err == NULL, NULL);
+ 
+-	if G_UNLIKELY (!g_hash_table_contains(self->plugins, name)) {
++	plugin_info = panel_plugin_manager_get_plugin_info(self, name); // the chooser passes the localized name
++
++	if G_UNLIKELY (!PEAS_IS_PLUGIN_INFO(plugin_info)) {
++		g_set_error(err,
++		    BUDGIE_PANEL_PLUGIN_MANAGER_ERROR,
++		      BUDGIE_PANEL_PLUGIN_MANAGER_ERROR_INVALID,
++		    "Attempted to create an invalid plugin: %s", name);
++		return NULL;
++	}
++
++	if G_UNLIKELY (!g_hash_table_contains(self->plugins, peas_plugin_info_get_module_name(plugin_info))) {
+ 		g_set_error(err,
+ 		    BUDGIE_PANEL_PLUGIN_MANAGER_ERROR,
+ 		      BUDGIE_PANEL_PLUGIN_MANAGER_ERROR_NOT_LOADED,
+@@ -489,7 +650,8 @@ BudgieAppletInfo *budgie_panel_plugin_manager_create_applet(BudgiePanelPluginMan
+ 	path = panel_plugin_manager_create_applet_path(uuid);
+ 	settings = g_settings_new_with_path(BUDGIE_APPLET_SCHEMA, path);
+ 
+-	g_settings_set_string(settings, BUDGIE_APPLET_KEY_NAME, name);
++	g_settings_set_string(settings, BUDGIE_APPLET_KEY_MODULE, peas_plugin_info_get_module_name(plugin_info));
++	g_settings_set_string(settings, BUDGIE_APPLET_KEY_NAME, panel_plugin_manager_get_plugin_name(self, plugin_info)); // untranslated, for versions that only read name
+ 
+ 	info = budgie_panel_plugin_manager_load_applet_instance(self, uuid, settings, NULL, &temp_err);
+ 
+diff --git a/src/panel/settings/settings_panel_applets.vala b/src/panel/settings/settings_panel_applets.vala
+index 0f590a8a..09478e11 100644
+--- a/src/panel/settings/settings_panel_applets.vala
++++ b/src/panel/settings/settings_panel_applets.vala
+@@ -70,7 +70,7 @@ namespace Budgie {
+ 			label.halign = Gtk.Align.START;
+ 			pack_start(label, false, false, 0);
+ 
+-			this.applet.bind_property("name", this.label, "label", BindingFlags.DEFAULT|BindingFlags.SYNC_CREATE);
++			this.applet.bind_property("display-name", this.label, "label", BindingFlags.DEFAULT|BindingFlags.SYNC_CREATE);
+ 			this.applet.bind_property("icon", this.image, "icon-name", BindingFlags.DEFAULT|BindingFlags.SYNC_CREATE);
+ 			this.image.icon_size = Gtk.IconSize.MENU;
+ 
+diff --git a/src/plugin/panel/applet-info.c b/src/plugin/panel/applet-info.c
+index 17457b75..c23c1f7e 100644
+--- a/src/plugin/panel/applet-info.c
++++ b/src/plugin/panel/applet-info.c
+@@ -14,6 +14,7 @@
+ enum {
+ 	PROP_ICON = 1,
+ 	PROP_NAME,
++	PROP_DISPLAY_NAME,
+ 	PROP_DESCRIPTION,
+ 	PROP_UUID,
+ 	PROP_ALIGNMENT,
+@@ -28,6 +29,7 @@ struct _BudgieAppletInfoPrivate {
+ 	GSettings* settings;
+ 	char* icon;
+ 	char* name;
++	char* display_name;
+ 	char* description;
+ 	char* uuid;
+ 	char* alignment;
+@@ -51,6 +53,9 @@ static void budgie_applet_info_get_property(GObject* object, guint id, GValue* v
+ 		case PROP_NAME:
+ 			g_value_set_string((GValue*) value, self->priv->name);
+ 			break;
++		case PROP_DISPLAY_NAME:
++			g_value_set_string((GValue*) value, self->priv->display_name);
++			break;
+ 		case PROP_DESCRIPTION:
+ 			g_value_set_string((GValue*) value, self->priv->description);
+ 			break;
+@@ -92,6 +97,10 @@ static void budgie_applet_info_set_property(GObject* object, guint id, const GVa
+ 			g_clear_pointer(&self->priv->name, g_free);
+ 			self->priv->name = g_value_dup_string(value);
+ 			break;
++		case PROP_DISPLAY_NAME:
++			g_clear_pointer(&self->priv->display_name, g_free);
++			self->priv->display_name = g_value_dup_string(value);
++			break;
+ 		case PROP_DESCRIPTION:
+ 			g_clear_pointer(&self->priv->description, g_free);
+ 			self->priv->description = g_value_dup_string(value);
+@@ -137,6 +146,7 @@ static void budgie_applet_info_dispose(GObject* g_object) {
+ 
+ 	g_clear_pointer(&self->priv->icon, g_free);
+ 	g_clear_pointer(&self->priv->name, g_free);
++	g_clear_pointer(&self->priv->display_name, g_free);
+ 	g_clear_pointer(&self->priv->description, g_free);
+ 	g_clear_pointer(&self->priv->uuid, g_free);
+ 	g_clear_pointer(&self->priv->alignment, g_free);
+@@ -162,6 +172,10 @@ static void budgie_applet_info_class_init(BudgieAppletInfoClass* klazz) {
+ 		"name", "Applet name", "Set the applet name",
+ 		NULL, G_PARAM_READWRITE);
+ 
++	obj_properties[PROP_DISPLAY_NAME] = g_param_spec_string(
++		"display-name", "Applet display name", "Set the localized applet name",
++		NULL, G_PARAM_READWRITE);
++
+ 	obj_properties[PROP_DESCRIPTION] = g_param_spec_string(
+ 		"description", "Applet description", "Set the applet description",
+ 		NULL, G_PARAM_READWRITE);
+@@ -230,7 +244,7 @@ BudgieAppletInfo* budgie_applet_info_new(PeasPluginInfo* plugin_info, const char
+ 		return g_object_new(
+ 			BUDGIE_TYPE_APPLET_INFO,
+ 			"icon", peas_plugin_info_get_icon_name(plugin_info),
+-			"name", peas_plugin_info_get_name(plugin_info),
++			"display-name", peas_plugin_info_get_name(plugin_info), // name comes from the settings binding, it is the stored plugin id
+ 			"description", peas_plugin_info_get_description(plugin_info),
+ 			"uuid", uuid,
+ 			"applet", applet,
+diff --git a/src/plugin/panel/applet.h b/src/plugin/panel/applet.h
+index 90e424a0..2b271dbc 100644
+--- a/src/plugin/panel/applet.h
++++ b/src/plugin/panel/applet.h
+@@ -19,6 +19,7 @@
+ G_BEGIN_DECLS
+ 
+ #define BUDGIE_APPLET_KEY_NAME "name"
++#define BUDGIE_APPLET_KEY_MODULE "module"
+ #define BUDGIE_APPLET_KEY_ALIGN "alignment"
+ #define BUDGIE_APPLET_KEY_POS "position"
+ 
+-- 
+2.56.0
+

diff --git a/budgie-desktop.spec b/budgie-desktop.spec
index ebcd864..5525097 100644
--- a/budgie-desktop.spec
+++ b/budgie-desktop.spec
@@ -8,7 +8,7 @@
 
 Name:           budgie-desktop
 Version:        10.10.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A feature-rich, modern desktop designed to keep out the way of the user
 
 # GPL-2.0-or-later:
@@ -31,6 +31,9 @@ Source2:        https://forge.moderndesktop.dev/BuddiesOfBudgie/keyrings/raw/bra
 Patch0:         0001-fix-bridges-stop-left-click-on-the-desktop-opening-t.patch
 Patch1:         0002-fix-panel-stop-aborting-when-a-panel-has-no-stored-l.patch
 Patch2:         0003-fix-panel-store-a-new-panel-s-edge-before-it-is-show.patch
+Patch3:         0004-feat-appindexer-share-one-list-of-installed-apps-acr.patch
+Patch4:         0005-fix-session-dont-force-qpa-wayland-platform-fallback.patch
+Patch5:         0006-fix-panel-stop-identifying-applet-plugins-by-their-t.patch
 
 # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
@@ -244,6 +247,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 %{_datadir}/gtk-doc/html/%{name}/*
 
 %changelog
+* Sun Oct 11 2026 Joshua Strobl <joshua@buddiesofbudgie.org> - 10.10.3-3
+- Add patches for not forcing Qt QPA platform and fix plugin load on non-EN locales
+
 * Thu Oct 01 2026 Joshua Strobl <joshua@buddiesofbudgie.org> - 10.10.3-2
 - Add patches for labwc left-click desktop and panel abrt fix
 

diff --git a/sources b/sources
index ec9af76..be3a2b8 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,2 @@
 SHA512 (budgie-desktop-v10.10.3.tar.xz) = 332dcd5518d34742ee30ffd930633d2d74ef81c4d2a1f14a0de28aed77c3c4dcfb01a23e67ac714d817ac0fcb92772669c0d0e4debdc10f59d10a3444f3f3cd6
 SHA512 (budgie-desktop-v10.10.3.tar.xz.asc) = 9c912d98d33587ec1f2a2188fa2481b2e6fd8eb393ed5515d8d66e649dac83dc98b98b4bb04c9d3109b632d31aaf2cd9acc74148a9f8e339e5fc70563498507f
-SHA512 (0001-fix-bridges-stop-left-click-on-the-desktop-opening-t.patch) = fbe7e7b7975bf7a2439bde48e7c7e6846c5549e7466bcf1b9544f80ad4e2a3c391cd48177256c2e26fa3a61c831eacb0b1016691ded2ec01d0c41d9047b53053
-SHA512 (0002-fix-panel-stop-aborting-when-a-panel-has-no-stored-l.patch) = 7bf522359d6a0bf6de1ac042328bfd32dbff93bc9d06732cff74d400bbad34acda19a6ad38c1bfcc67be936b76cf65b84f2b68c3beda2a406eb576d06b8b8f47
-SHA512 (0003-fix-panel-store-a-new-panel-s-edge-before-it-is-show.patch) = 59c66c7615f020f40f5c42847bb25472512a073640d045c6b31c632768d51b7fe98b3b4aff2944447ce0067290c2c58b6e5c94742579265d68b7ff5c1a632cec

                 reply	other threads:[~2026-10-11 14:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179172850331.1.6199464392109912935.rpms-budgie-desktop-f660dd0fc61c@fedoraproject.org \
    --to=me@joshuastrobl.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox