aaf6ce108e
Create two Calc views, set the first view language to English, second
view language to German. Type in the English view, double-click on a
chart in the German view. The sidebar in the German view will have
English strings in it. This doesn't happen if there is no typing right
after the chart activation in the English view.
What happens is that the sidebar update is async, and
sfx2::sidebar::SidebarController::notifyContextChangeEvent() gets
called, which registers an aync event when it calls
AsynchronousCall::RequestCall(). Then later this job gets scheduled, but
possibly by that time the active view is the English one, leading to
English strings when chart::ColumnChartDialogController::getName() calls
SchResId(), which works from the language of the current view.
Fix the problem similar to what commit
|
||
---|---|---|
.. | ||
qa/cppunit | ||
signing-keys | ||
source | ||
user-template | ||
CppunitTest_test_a11y.mk | ||
CppunitTest_test_xpath.mk | ||
IwyuFilter_test.yaml | ||
Library_subsequenttest.mk | ||
Library_test.mk | ||
Library_test_setupvcl.mk | ||
Library_vclbootstrapprotector.mk | ||
Makefile | ||
Module_test.mk | ||
Package_unittest.mk | ||
README.md | ||
README.vars |
Test Harness Code for C++ Unit Testing
Many of these tests are run during the build process. In that case on
unix, if a test fails follow the error messages to debug it under gdb
.