officecfg/registry/data/org/openoffice/Office/Accelerators.xcu |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e80317dfc5fb918eb90ae188e03038f5c8c23c0a
Author:     Shardul Vikram Singh <[email protected]>
AuthorDate: Tue Jan 21 02:34:33 2025 +0530
Commit:     Hossein <[email protected]>
CommitDate: Fri Feb 7 13:10:37 2025 +0100

    tdf#65911 Fix Alt+C behavior by adjusting install:module for
    
    en-US locale
    
    Ensure Alt+C works consistently for the en-US locale by adding
    install:module="unxwnt" to its <value>. Also, add a separate <value> with
    install:module="macosx" to ensure functionality on macOS.
    
    Previously, <value> entries with install:module (e.g., for de, eu, etc.)
    overrode en-US behavior on Unix/Windows platforms due to strict 
interpretation
    of the install:module attribute. Even if en-US had a defined <value> without
    install:module, it would be ignored when conflicting locale-specific values
    with install:module were present.
    
    This fix prevents unwanted overrides by making en-US explicitly 
platform-aware
    while retaining expected behavior for other locales. Alt+C now works 
correctly
    for en-US on all platforms and ensures localized behavior for other 
languages.
    
    Change-Id: I630440e5c2d9a07a7a93955224b0901fc6e8036c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180528
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <[email protected]>
    Reviewed-by: Hossein   <[email protected]>

diff --git a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu 
b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu
index ac69b5939add..34c36d977605 100644
--- a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu
@@ -279,7 +279,8 @@ Ctrl+Shift+u aka U_SHIFT_MOD1 under GTK/IBUS is for unicode 
key input
       <node oor:name="C_MOD2" oor:op="replace">
         <prop oor:name="Command">
           <value xml:lang="x-no-translate">L10N SHORTCUTS - NO 
TRANSLATE</value>
-          <value xml:lang="en-US">.uno:FontDialog</value>
+          <value xml:lang="en-US" 
install:module="unxwnt">.uno:FontDialog</value>
+          <value xml:lang="en-US" 
install:module="macosx">.uno:FontDialog</value>
           <value xml:lang="de"    
install:module="unxwnt">.uno:UnicodeNotationToggle</value>
           <value xml:lang="eu"    
install:module="unxwnt">.uno:UnicodeNotationToggle</value>
           <value xml:lang="gl"    
install:module="unxwnt">.uno:UnicodeNotationToggle</value>

Reply via email to