Apache OpenOffice (AOO) Bugzilla – Issue 122056
[sidebar] Empty panels in some Writer-based document types (XML forms, db forms/reports)
Last modified: 2022-10-28 12:54:30 UTC
Created attachment 80535 [details] Database document with a form and a report Open the attached database document It contains a form and a report Right-click on them and select "Edit" The sidebar property panel is empty, whether you select text, a drawing, a graphic, a form control.
No data in Navigator window in XML and database forms, reports. The problem with Navigator window similar to the property window.
(In reply to comment #1) > No data in Navigator window in XML and database forms, reports. > > The problem with Navigator window similar to the property window. You are right, I'll change the bug subject. F9 and F11 display both old navigator and styles working fine. But may be another bug: when moving the old navigator/styles floating window, in order to dock them on the left, there is no docking area indicator, the windows can not be docked; I could only dock them with Ctrl + left-mouse-click.
The reason for the missing panels is that the document editor is a Writer but the document claims to be a "FormDocument" (or something similar). The sidebar is registered (and thus shown) for Writer, Draw/Impress, Calc. The display of decks and panels depends on the current context. Property and navigator deck but say "any". This matches the FormDocument. All property panels and the navigator panel have a more fine grained context patter, that does not match FormDocument. The result: you can see the sidebar and the property and navigator decks but none of their panels. There are two ways to fix this: hide the sidebar or show the panels.
As far as I understand the bug description this issue is caused by the same root cause as 122051: different variants of Writer documents have internally different names. Not all of these where listed in the sidebar code as being Writer documents. I have added the variants for Web, XML, Forms and master documents for issue 122051. *** This issue has been marked as a duplicate of issue 122051 ***
Fixed by Andre in revision 1470918
Created attachment 80601 [details] Screenshot - text selected while editing DB form The property panel is still empty
(In reply to comment #0) > Created attachment 80535 [details] > Database document with a form and a report > > Open the attached database document > It contains a form and a report > Right-click on them and select "Edit" > The sidebar property panel is empty, whether you select text, a drawing, a > graphic, a form control. This is still reproducible on Linux @r4zoli: can you reproduce on Windows with the latest Dev. Snapshot (revision 1476029)?
Created attachment 80611 [details] Screenshot - graphic selected while editing DB form
Reopening. Not fixed on current trunk, following the steps in the bug Description
(In reply to comment #7) > (In reply to comment #0) > > Created attachment 80535 [details] > > Database document with a form and a report > > > > Open the attached database document > > It contains a form and a report > > Right-click on them and select "Edit" > > The sidebar property panel is empty, whether you select text, a drawing, a > > graphic, a form control. > > This is still reproducible on Linux > > @r4zoli: can you reproduce on Windows with the latest Dev. Snapshot > (revision 1476029)? This is still reproducible on Windows, too.
"af" committed SVN revision 1477593 into trunk: 122056: Added another Writer variant to sidebar context handling.
I had added four writer variants and still managed to forget the one described in the bug description. Added another variant: com.sun.star.sdb.FormDesign.
Created attachment 80648 [details] Patch adding com.sun.star.sdb.TextReportDesign There is still a Writer-based module missing, see http://wiki.openoffice.org/wiki/Office_modules_since_OpenOffice.org_2.3
(In reply to comment #0) > Created attachment 80535 [details] > Database document with a form and a report > > Open the attached database document > It contains a form and a report Still missing Writer based reports. Reopening.
reviewing and integrating Ariel's patch. Ariel's patch looks good --> I will apply it on trunk.
minor adjustment of <EnumContext::GetCombinedContext_DI(...)> needed - also for com.sun.star.sdb.FormDesign
"orw" committed SVN revision 1482326 into trunk: 122056: adding another Writer variant for sidebar context handling
applied patch with minor adjustment on trunk for AOO 4.0