[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: testing a plasma applet with plasmoid viewer despite PackageUrlInterceptor
From:       "Philipp A." <flying-sheep () web ! de>
Date:       2014-12-29 12:45:00
Message-ID: CAN8d9gnuLB5cxYwdO0xQ71K2TFPujrWq=RO7WxRWLAnsfCnnEw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2014-12-29 10:23 GMT+01:00 Marco Martin <notmart@gmail.com>:

> does it load when installed?
>

yes. i think it's the way that plasmoidviewer loads it that breaks, see my
other mail, where i changed the interceptor to allow these requests and
still get errors:

2014-12-28 21:21 GMT+01:00 Philipp A. <flying-sheep@web.de>:

> aha, so the problem seems to be that when loaded via plasmoidviewer
>
> m_package.metadata().pluginName() == "org.kde.desktopcontainment"
>
> when using a custom interceptor to circumvent it, i still get strange
> errors. can someone help?
>
> QML debugging is enabled. Only use this in a safe environment.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/FocusFrameStyle.qml:
> File not found
> file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31:
> QML Item: Binding loop detected for property "implicitWidth"
> file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31:
> QML Item: Binding loop detected for property "implicitWidth"
> file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31:
> QML Item: Binding loop detected for property "implicitWidth"
> file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31:
> QML Item: Binding loop detected for property "implicitWidth"
> file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31:
> QML Item: Binding loop detected for property "implicitWidth"
> qml: View QML loaded
> kf5.kservice.sycoca: Trying to open ksycoca from
> "/home/phil/.cache/ksycoca5"
> Trying to use rootObject before initialization is completed, whilst using
> setInitializationDelayed. Forcing completion
> Plasmoidviewer detected: circumventing security  QUrl(
> "file:///home/phil/Dev/KDE/steam-plasmoid/build/org/kde/plasma/private/steam/qmldir"
> )
> Plasmoidviewer detected: circumventing security  QUrl(
> "file:///home/phil/Dev/KDE/steam-plasmoid/build/org/kde/plasma/private/steam/qmldir"
> )
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> qml: New Containment: ContainmentInterface(0x194b390)
> QQmlComponent: Component is not ready
> QCoreApplication::postEvent: Unexpected null receiver
> "file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/applet/AppletError.qml"
>
>  "Error loading QML file.
> File not found
> "
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
> Constructing a KPluginInfo object from old style JSON. Please use
> kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in your
> CMake code.
>

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-12-29 10:23 \
GMT+01:00 Marco Martin <span dir="ltr">&lt;<a href="mailto:notmart@gmail.com" \
target="_blank">notmart@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><span class=""> </span>does it load when \
installed?<br></blockquote><div><br></div><div>yes. i think it's the way that \
plasmoidviewer loads it that breaks, see my other mail, where i changed the \
interceptor to allow these requests and still get errors:<br><div \
class="gmail_extra"><br><div class="gmail_quote">2014-12-28 21:21 GMT+01:00 Philipp \
A. <span dir="ltr">&lt;<a href="mailto:flying-sheep@web.de" \
target="_blank">flying-sheep@web.de</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>aha, so the problem seems to \
be that when loaded via plasmoidviewer<br><br>m_package.metadata().pluginName() == \
&quot;org.kde.desktopcontainment&quot;<br><br></div>when using a custom interceptor \
to circumvent it, i still get strange errors. can someone help?<br><br>QML debugging \
is enabled. Only use this in a safe environment.<br>Constructing  a KPluginInfo \
object from old style JSON. Please use  kcoreaddons_desktop_to_json() instead of \
kservice_desktop_to_json() in  your CMake code.<br>Constructing a KPluginInfo object \
from old style  JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake code.<br>Constructing a 
KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake code.<br>Constructing a 
KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake \
code.<br>file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/FocusFrameStyle.qml: \
File not found<br>file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: \
QML Item: Binding loop detected for property \
&quot;implicitWidth&quot;<br>file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: \
QML Item: Binding loop detected for property \
&quot;implicitWidth&quot;<br>file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: \
QML Item: Binding loop detected for property \
&quot;implicitWidth&quot;<br>file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: \
QML Item: Binding loop detected for property \
&quot;implicitWidth&quot;<br>file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Base/ButtonStyle.qml:153:31: \
QML Item: Binding loop detected for property &quot;implicitWidth&quot;<br>qml: View \
QML loaded<br>kf5.kservice.sycoca: Trying to open ksycoca from \
&quot;/home/phil/.cache/ksycoca5&quot;<br>Trying to use rootObject before \
initialization is completed, whilst using setInitializationDelayed. Forcing \
completion<br>Plasmoidviewer detected: circumventing security   QUrl( \
&quot;file:///home/phil/Dev/KDE/steam-plasmoid/build/org/kde/plasma/private/steam/qmldir&quot; \
) <br>Plasmoidviewer detected: circumventing security   QUrl( \
&quot;file:///home/phil/Dev/KDE/steam-plasmoid/build/org/kde/plasma/private/steam/qmldir&quot; \
) <br>Constructing  a KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake code.<br>Constructing a 
KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake code.<br>Constructing a 
KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake code.<br>qml: New Containment: \
ContainmentInterface(0x194b390)<br>QQmlComponent: Component is not \
ready<br>QCoreApplication::postEvent: Unexpected null \
receiver<br>&quot;file:///usr/share/plasma/shells/org.kde.plasma.plasmoidviewershell/contents/applet/AppletError.qml&quot; \
<br>  &quot;Error loading QML file.<br>File not found<br>&quot;<br>Constructing  a \
KPluginInfo object from old style JSON. Please use  kcoreaddons_desktop_to_json() \
instead of kservice_desktop_to_json() in  your CMake code.<br>Constructing a \
KPluginInfo object from old style  JSON. Please use kcoreaddons_desktop_to_json() \
instead of  kservice_desktop_to_json() in your CMake code.<br>Constructing a 
KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake code.<br>Constructing a 
KPluginInfo object from old style JSON. Please use 
kcoreaddons_desktop_to_json() instead of kservice_desktop_to_json() in 
your CMake code.<br>Constructing a KPluginInfo object from old style 
JSON. Please use kcoreaddons_desktop_to_json() instead of 
kservice_desktop_to_json() in your CMake \
code.</div></blockquote></div></div></div></div></div></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic