Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Assertion Error: (atkwrapper) Not able to get Window Hierarchy | ||
---|---|---|---|
Product: | General | Reporter: | Peter <petko> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Normal | ||
Priority: | P5 (lowest) | ||
Version: | 4.2.0-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Linux 64-bit | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Peter
2020-01-20 15:57:59 UTC
Okay Lets dokument what I found out so far. OSL_ASSERT does throw the Message. xParent.is() returns false and checks if xParent is a valid Object. What uno::Reference< accessibility::XAccessible > is is a bit unclear to me. uno:reference is a loose Reference and enables an Object to be correctly addressed in its environment with the environment describing the language we are in. However I could not find or understand what accessibility::XAccessible is. The function .is() is a function declared in the reference in ref.h Now if we follow the funktion (-> ooo_window_wrapper_real_initialize) calls up we will find that we are receiving an GTK Info Opbejct 8a gpointer that points to . an GTK info class. To be honest I am not sure if the construct is that nice. I would have preferred an Interface Object that does not wrap the GUI Library instead it provides a policy interface to the GUI. I see the hunch that in the end It does that but as far as I follow it is kind of inside out way. Probably my c++ skills still lacks. I am investigating how this stuff works. Okay here are Links: Ref.h http://opengrok.openoffice.org/xref/trunk/main/sal/inc/rtl/ref.hxx?r=565d668c#52 The GTK Ino Object https://developer.gnome.org/gobject/stable/gobject-Type-Information.html#GTypeInfo Mwiki Ressource on the Idea of uno::reference https://wiki.openoffice.org/wiki/Uno/Cpp/Spec/Free_Reference https://wiki.openoffice.org/wiki/Uno/Spec/Environment |