Description: I opened a new LibreOffice Writer document onnhalf of the screen. So, not all the toolbars are visible on the screen. In order to see more there are some arrows on the right of the LibreOffice window. When they are pressed I get this message when using a LibreOffice dbg version (soffice:14677): GLib-GObject-CRITICAL **: 18:57:36.641: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed (soffice:14677): GLib-GObject-CRITICAL **: 18:57:43.186: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed Steps to Reproduce: 1. See description and screenshot Actual Results: CRITICAL message Expected Results: No critical message Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 4c96abd81460977d413d4d28e891bbbac5769ede CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
Created attachment 182101 [details] screenshot
@Julien Would you mind to verify?
On pc Debian x86-64 with master sources updated today, I can reproduce this.
Created attachment 182106 [details] bt with debug symbols I used: export G_DEBUG=fatal_warnings but then I couldn't attach gdb to the soffice process because all was stuck when reproducing the pb. Then I tried to use --backtrace when launching soffice but it stopped because of Java part which is still broken after all these years but that's another story. So I gave a try with Calc and could retrieved a bt since it doesn't use Java at its launching.
Caolán: thought you might be interested in this one since it's gtk related.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/418beb68f00190f61effb69726343adcd4597f64 tdf#150688 return atk_noop_object_wrapper_new() instead of null on failure It will be available in 7.5.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
With master sources updated today (including the Caolán's patch), I confirm I don't reproduce this anymore. As always, thank you Caolán! :-)
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/efaf44a8d4dc41086ae24b847a86c7b0b66106d3 tdf#150688 return atk_noop_object_wrapper_new() instead of null on failure It will be available in 7.4.2. 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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.