Skip to content

Commit a4c15eb

Browse files
wyu71Zeno-sole
authored andcommitted
fix: unify ShareInputState behavior across platforms
- Removed Android-specific conditional logic for ShareInputState property. - Changed to always use PropertyPropagatePolicy::All instead of platform-dependent values. Log: unify ShareInputState behavior across platforms pms: BUG-314609
1 parent e73811f commit a4c15eb

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
fcitx5 (5.1.11-2deepin7) unstable; urgency=medium
2+
3+
* unify ShareInputState behavior across platforms
4+
5+
-- Wang Yu <wangyu@uniontch.com> Thu, 12 Jun 2025 11:34:40 +0800
6+
17
fcitx5 (5.1.11-2deepin6) unstable; urgency=medium
28

39
* remove send event to topLevel flag
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Index: fcitx5-community/src/lib/fcitx/globalconfig.cpp
2+
===================================================================
3+
--- fcitx5-community.orig/src/lib/fcitx/globalconfig.cpp
4+
+++ fcitx5-community/src/lib/fcitx/globalconfig.cpp
5+
@@ -146,8 +146,7 @@ FCITX_CONFIGURATION(
6+
OptionWithAnnotation<PropertyPropagatePolicy,
7+
PropertyPropagatePolicyI18NAnnotation>
8+
shareState{this, "ShareInputState", _("Share Input State"),
9+
- isAndroid() ? PropertyPropagatePolicy::All
10+
- : PropertyPropagatePolicy::No};
11+
+ PropertyPropagatePolicy::All};
12+
Option<bool> preeditEnabledByDefault{this, "PreeditEnabledByDefault",
13+
_("Show preedit in application"),
14+
true};

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
0010-disable-the-default-shortcut-key-for-altTriggerKeys.patch
88
0011-add-log-management-for-fcitx5-start-script.patch
99
0012-remove-send-event-to-topLevel-flag.patch
10+
0013-fix-unify-shareInputstate-behavior-across-platforms.patch

0 commit comments

Comments
 (0)