Created attachment 164730 [details]
UI file with accessible-description objects in GtkMenuItem
The attached file is the UI file for Accept/Reject changes in Calc and Writer. It contains accessible-description contents in GtkMenuItem objects. LibreOffice master crash when the ui file is used.
Removing accessible-description from
<object class="GtkMenuItem" id="writeredit">
<object class="GtkMenuItem" id="calcedit">
does not crash the master build.
Build ID: 13a60d9ca50fce5492b35be891f64a5f77901ef0
CPU threads: 16; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: pt-BR
On pc Debian x86-64 with master sources updated today, I can't succeed in crashing.
Here what I did:
- retrieved the file
- put it in svx/uiconfig/ui
=> it's now present in ./instdir/share/config/soffice.cfg/svx/ui
- created a brand new file with lorum ipsum + saved the file
- reopened the file
- enabled track changes
- did some changes
Did I miss something?
probably missed the "VCL: kf5" piece, this is with a non-gtk backend where we never implemented this accessibility name/description for menu entries loaded from .ui files
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":
tdf#136162 implement applying atk properties to gen menus
It will be available in 7.1.0.
The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
*** Bug 136329 has been marked as a duplicate of this bug. ***