Bug 254566 - KPart based applications (e.g. Okular) do not integrate with Rekonq toolbars
Summary: KPart based applications (e.g. Okular) do not integrate with Rekonq toolbars
Status: RESOLVED DUPLICATE of bug 240150
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: 0.6.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 18:50 UTC by niburu1
Modified: 2011-12-16 22:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description niburu1 2010-10-18 18:50:51 UTC
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
Comment 1 Andrea Diamantini 2011-01-21 00:51:24 UTC
> Apparently
> this is not true for Rekonq due to an unusual XMLGUI technologies
> implementation.

I'm curious. What's unusual in our implementation?
Comment 2 niburu1 2011-01-21 01:20:45 UTC
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
Comment 3 Andrea Diamantini 2011-01-21 01:48:21 UTC
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".
Comment 4 Davor Cubranic 2011-09-06 21:05:05 UTC
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?
Comment 5 Michele Gastaldo 2011-12-05 10:17:05 UTC
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!
Comment 6 Andrea Diamantini 2011-12-16 22:06:45 UTC

*** This bug has been marked as a duplicate of bug 240150 ***