officecfg/registry/data/org/openoffice/Office/Views.xcu |    2 +-
 uitest/math_tests/start.py                              |    6 ------
 uitest/math_tests/tdf128610.py                          |    2 --
 uitest/math_tests/tdf147755.py                          |    2 --
 4 files changed, 1 insertion(+), 11 deletions(-)

New commits:
commit e472b5b557d2b43b41e488c83db2b188de499610
Author:     Khaled Hosny <kha...@libreoffice.org>
AuthorDate: Mon Sep 18 01:23:57 2023 +0300
Commit:     خالد حسني <kha...@libreoffice.org>
CommitDate: Mon Sep 18 02:32:39 2023 +0200

    starmath: Show editing window by default again
    
    We are not ready to get rid of it (e.g. undo does not work when it is
    hidden). This flips the default introduced in:
    
    commit e9cc014be4150a5adc9950f366c9bdfa50420dcf
    Author: Khaled Hosny <kha...@libreoffice.org>
    Date:   Tue Sep 12 16:41:37 2023 +0300
    
        starmath: Hide editing window by default and add a menu item to show
    
    Change-Id: If84b25d186c8d133a9fa5cfc0c3d91162c66b389
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157004
    Tested-by: Jenkins
    Reviewed-by: خالد حسني <kha...@libreoffice.org>

diff --git a/officecfg/registry/data/org/openoffice/Office/Views.xcu 
b/officecfg/registry/data/org/openoffice/Office/Views.xcu
index e903532e9c8f..205183a0012c 100644
--- a/officecfg/registry/data/org/openoffice/Office/Views.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/Views.xcu
@@ -48,7 +48,7 @@
     <!-- SID_CMDBOXWINDOW -->
     <node oor:name="smath/30378" oor:op="replace">
       <prop oor:name="Visible" oor:type="xs:boolean">
-        <value>false</value>
+        <value>true</value>
       </prop>
     </node>
     <node oor:name="swriter/10336" oor:op="replace">
diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py
index 0d085374f6b4..7504387a16f7 100644
--- a/uitest/math_tests/start.py
+++ b/uitest/math_tests/start.py
@@ -19,7 +19,6 @@ class SimpleMathTest(UITestCase):
     def test_math_unoCommand(self):
         with self.ui_test.create_doc_in_start_center("math"):
 
-            self.xUITest.executeCommand(".uno:CommandWindow")
             xMathDoc = self.xUITest.getTopFocusWindow()
 
             # tdf#140386
@@ -28,12 +27,10 @@ class SimpleMathTest(UITestCase):
             xEditView = xMathDoc.getChild("editview")
 
             self.assertEqual("backepsilon", 
get_state_as_dict(xEditView)["Text"])
-            self.xUITest.executeCommand(".uno:CommandWindow")
 
     def test_math_edit(self):
         with self.ui_test.create_doc_in_start_center("math"):
 
-            self.xUITest.executeCommand(".uno:CommandWindow")
             xMathDoc = self.xUITest.getTopFocusWindow()
 
             xEditView = xMathDoc.getChild("editview")
@@ -41,12 +38,10 @@ class SimpleMathTest(UITestCase):
             type_text(xEditView, "E=mc^2")
 
             self.assertEqual("E=mc^2", get_state_as_dict(xEditView)["Text"])
-            self.xUITest.executeCommand(".uno:CommandWindow")
 
     def test_complete_math(self):
         with self.ui_test.create_doc_in_start_center("math"):
 
-            self.xUITest.executeCommand(".uno:CommandWindow")
             xMathDoc = self.xUITest.getTopFocusWindow()
 
             xList = xMathDoc.getChild("categorylist")
@@ -68,6 +63,5 @@ class SimpleMathTest(UITestCase):
             type_text(xEditView, "2")
 
             self.assertEqual("{ 1 <> 2 }", 
get_state_as_dict(xEditView)["Text"])
-            self.xUITest.executeCommand(".uno:CommandWindow")
 
 # vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/uitest/math_tests/tdf128610.py b/uitest/math_tests/tdf128610.py
index efb008f7bb45..29b7d5ac4564 100644
--- a/uitest/math_tests/tdf128610.py
+++ b/uitest/math_tests/tdf128610.py
@@ -20,7 +20,6 @@ class Tdf128610(UITestCase):
 
         with self.ui_test.load_empty_file("math"):
 
-            self.xUITest.executeCommand(".uno:CommandWindow")
             self.xUITest.executeCommand('.uno:ImportMathMLClipboard')
 
             xMathDoc = self.xUITest.getTopFocusWindow()
@@ -29,6 +28,5 @@ class Tdf128610(UITestCase):
             # Without the fix in place, this test would have failed with
             # AssertionError: '{ f _ c = frac { 1 } { K _ m } }' != ''
             self.assertEqual("{ f _ c = { frac { 1 } { K _ m } } }", 
get_state_as_dict(xEditView)["Text"])
-            self.xUITest.executeCommand(".uno:CommandWindow")
 
 # vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/uitest/math_tests/tdf147755.py b/uitest/math_tests/tdf147755.py
index a53e255092d6..755efbe6b51d 100644
--- a/uitest/math_tests/tdf147755.py
+++ b/uitest/math_tests/tdf147755.py
@@ -22,13 +22,11 @@ class Tdf147755(UITestCase):
                 xOk = xDialog.getChild("ok")
                 xOk.executeAction("CLICK", tuple())
 
-            self.xUITest.executeCommand(".uno:CommandWindow")
             xMathDoc = self.xUITest.getTopFocusWindow()
             xEditView = xMathDoc.getChild("editview")
 
             # Without the fix in place, this test would have failed with
             # AssertionError: '%ALPHA' != ''
             self.assertEqual("%ALPHA", get_state_as_dict(xEditView)["Text"])
-            self.xUITest.executeCommand(".uno:CommandWindow")
 
 # vim: set shiftwidth=4 softtabstop=4 expandtab:

Reply via email to