https://bugs.documentfoundation.org/show_bug.cgi?id=164080

--- Comment #4 from Rafael Lima <[email protected]> ---
(In reply to Michael Weghorn from comment #2)
> So what I'm doing usually looks approximately like this:
> ...

I'll try that with the Find sidebar... maybe I'll try something simpler first
(some other smaller dialog) just for learning.

> (Maybe there is a way to also use a native QTreeView in a window also
> containing vcl widgets, but that's not what I have been looking into so far.)

I did not know that all controls in the same window needed to be supported. I
always thought that implementing a single control would be enough.

> Does that help? What do you think?

It does... now I know where to start. I'll keep you up-to-date on my progress.

> Another thought: Since the sidebar can be undocked, an idea might be to try 
> doing 
> that to see what it looks like once all controls used for the sidebar have 
> been
> welded - at least for testing (and then avoiding to have to support the full 
> main 
> window at that point of testing already, if it reduces the work needed).

I had not anticipated this complication about the sidebar. I tried the approach
you mentioned (with the undocked sidebar) and got this:

warn:vcl.qt:15757:15757:vcl/qt6/../qt5/QtBuilder.cxx:411:
QtBuilder::applyPackingProperties not yet implemented for this case
warn:vcl.qt:15757:15757:vcl/qt6/../qt5/QtBuilder.cxx:241: Widget type not
supported yet: GtkToolbar
soffice.bin:
/home/rafael/Programming/libreoffice/vcl/qt6/../qt5/QtBuilder.cxx:243: QObject*
QtBuilder::makeObject(QObject*, std::u16string_view, const rtl::OUString&,
BuilderBase::stringmap&): Assertion `false && "Widget type not supported yet"'
failed.

I'm guessing GtkToolbar will have to be first.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to