Re: Plugins in WebView

2010-02-27 Thread Gábor Lehel
are qtwebkit plugins in-process or out of process? IANAPD, but having
a flash plugin in a webpage crash all of plasma does not sound like
fun times...

On Sat, Feb 27, 2010 at 12:55 AM, Aaron J. Seigo ase...@kde.org wrote:
 On February 25, 2010, Mathieu Ducharme wrote:
 - bool pluginsEnabled()
 - void setPluginsEnabled(bool)

 i don't know if we need to / want to offer full access to QWebSettings, but
 would a simple(r) setAttribute(QWebSettings::Attribute, bool) do the trick?
 the rest of the things in QWebSettings don't look overly useful for the use
 cases we have in plasma?

 --
 Aaron J. Seigo
 humru othro a kohnu se
 GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

 KDE core developer sponsored by Qt Development Frameworks
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel




-- 
Work is punishment for failing to procrastinate effectively.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plugins in WebView

2010-02-27 Thread Aaron J. Seigo
On February 27, 2010, Gábor Lehel wrote:
 are qtwebkit plugins in-process or out of process? IANAPD, but having

https://trac.webkit.org/wiki/QtWebKitPlugins

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plugins in WebView

2010-02-26 Thread Richard Moore
On Thu, Feb 25, 2010 at 10:10 PM, Mathieu Ducharme
ducharme.math...@gmail.com wrote:
 I would like to propose allowing plasmoids to enable plugins (ie.
 Flash) in the WebView widget.
 I can tell that I personally expected the current Web Browser to be
 able to play flash videos when I tried it...

 Anyway, I'm not sure if it is currently possible in C++ (does not seem
 so), but the scripting API does not have access to WebView settings so
 I added the following functions to Plasma::WebView

 - bool pluginsEnabled()
 - void setPluginsEnabled(bool)


One thing to watch with this is whether the plugins paint correctly
when an applet is rotated. I know ariya did some work on this, but I
don't know if it works in the current Qt release.

Cheers

Rich.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plugins in WebView

2010-02-26 Thread Aaron J. Seigo
On February 25, 2010, Mathieu Ducharme wrote:
 - bool pluginsEnabled()
 - void setPluginsEnabled(bool)

i don't know if we need to / want to offer full access to QWebSettings, but 
would a simple(r) setAttribute(QWebSettings::Attribute, bool) do the trick? 
the rest of the things in QWebSettings don't look overly useful for the use 
cases we have in plasma?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel