https://bugs.documentfoundation.org/show_bug.cgi?id=164080
--- Comment #5 from Michael Weghorn <[email protected]> --- (In reply to Rafael Lima from comment #4) > I'll try that with the Find sidebar... maybe I'll try something simpler > first (some other smaller dialog) just for learning. Sounds great. If you have any questions or ideas how to do things better as you have to deal with existing code, please don't hesitate to bring that up. > 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. There might be some way to make mixing VCL and native widgets work somehow, e.g. `GtkInstance::CreateInterimBuilder` mentions some case. But that will likely need some special handling (because non-top-level QWidget will usually expect a QWidget parent). > It does... now I know where to start. I'll keep you up-to-date on my > progress. Great! > 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. Yes. What I'd usually do in this case is look for a simpler dialog also using GtkToolbar (or alternatively temporarily remove some other non-supported widgets from the dialog) to be able to focus on (and test) one thing at a time, then come back to the original dialog and see what else is missing. I'll look a bit further into `QtInstanceTreeView` in the meantime, plan to at least upstream what I have on my current WIP branch, to avoid we duplicate work on that later on. -- You are receiving this mail because: You are the assignee for the bug.
