Version: 0.6.1 (using KDE 4.5.2) OS: Linux When Okular embeds in Rekonq there is no way to access any of Okular's functions via a toolbar or rightclick (besides a few bookmark functions). Typically a KPart application's toolbar is available when embedded. Apparently this is not true for Rekonq due to an unusual XMLGUI technologies implementation. Reproducible: Always Steps to Reproduce: View a document in an embedded instance of Okular. Actual Results: Basically no Okular functions are present via a toolbar or right-click Expected Results: Okular functions are available via a toolbar or right-click Kubuntu 10.10
> Apparently > this is not true for Rekonq due to an unusual XMLGUI technologies > implementation. I'm curious. What's unusual in our implementation?
Simple answer: embedded kpart application toolbars don't embed. Look at Konqueror, for example. Toolbars embed just fine. But I'm no expert. I copied what was said here: http://forum.kde.org/viewtopic.php?f=20&t=90906&hilit=toolbar
I can ensure you we do exactly what it is explained in the docs, but for one line (the one hiding the menubar). Maybe someone else is doing something... unusual :) I will investigate it better, also because KParts API does not provide something simple to use (eg: part()->toolBar(), or part()->availableActions()) to show you and everything seems a bit "magic".
Still no toolbars with rekonq 0.7.0 when embedding Okular 0.12.2 (Kubuntu 11.04). Have you compared your embedding of KParts with how Konqueror handles it?
maybe I don't get this right, as I'm no expert in Qt/KDE/Kpart coding, but according to the techbase it should be pretty straight forward to integrate toolbar, menu, etc. ref: http://techbase.kde.org/Development/Tutorials/Using_KParts just hope it helps!
*** This bug has been marked as a duplicate of bug 240150 ***