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

List:       kde-panel-devel
Subject:    Re: Review Request: Expose default Plasma theme to QML based KSplash
From:       "David Edmundson" <david () davidedmundson ! co ! uk>
Date:       2012-12-19 18:30:19
Message-ID: 20121219183019.19817.75112 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105761/
-----------------------------------------------------------

(Updated Dec. 19, 2012, 6:30 p.m.)


Review request for Plasma and Ivan =C4=8Cuki=C4=87.


Changes
-------

I found an old review to ksplash posted 4 months ago, but the groups wasn't=
 set, so I imagine no-one here saw it.

I've abused my reviewboard super powers to add it.
Nuno Bento also wrote a clone of the existing KSplash air theme in QML whic=
h uses this patch. I guess it never got anywhere. I have a copy of it. If N=
uno doesn't reply to my emails, I'll post it to RB myself.


Description
-------

This patch modifies KSplashQML allowing it to exposes the default Plasma th=
eme to QML splash screens. =

The idea was taken from the work done by David Edmundson and Aur=C3=A9lien =
G=C3=A2teau in LightDM-KDE.

Giving QML splash themes access to the default Plasma theme makes it possib=
le to create themes that transition seamlessly to the desktop (for anyone u=
sing the default wallpaper). It also makes it possible to recreate the defa=
ult KSplash theme in QML with 2 major benefits over the existing one: 1) th=
e wallpaper image used is appropriate to the user's resolution and 2) the t=
heme doesn't need to be modified between releases since it always uses the =
wallpaper from the default Plasma theme.

I've already implemented and tested a recreation of the Default theme in QM=
L and will post the patch if this one gets accepted.


Diffs
-----

  ksplash/ksplashqml/CMakeLists.txt c2065d9 =

  ksplash/ksplashqml/SplashWindow.cpp 4417643 =


Diff: http://git.reviewboard.kde.org/r/105761/diff/


Testing
-------

1. Applied path to new kde:kde-workspace clone
2. Compiled and installed ksplashqml
3. Modified Minimalistic theme to use Image as background with source set t=
o plasmaTheme.wallpaperPath(screenSize)
4. Created another QML based theme similar to the Default one
5. Tested login with 2 different users using both themes


Thanks,

Nuno Bento


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/105761/">http://git.reviewboard.kde.org/r/105761/</a>
  </td>
    </tr>
   </table>
   <br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Plasma and Ivan Čukić.</div>
<div>By Nuno Bento.</div>


<p style="color: grey;"><i>Updated Dec. 19, 2012, 6:30 p.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">I found an old review to ksplash posted 4 months ago, but the groups \
wasn&#39;t set, so I imagine no-one here saw it.

I&#39;ve abused my reviewboard super powers to add it.
Nuno Bento also wrote a clone of the existing KSplash air theme in QML which uses \
this patch. I guess it never got anywhere. I have a copy of it. If Nuno doesn&#39;t \
reply to my emails, I&#39;ll post it to RB myself.


</pre>
  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">This patch modifies KSplashQML allowing it to exposes the default Plasma \
theme to QML splash screens.  The idea was taken from the work done by David \
Edmundson and Aurélien Gâteau in LightDM-KDE.

Giving QML splash themes access to the default Plasma theme makes it possible to \
create themes that transition seamlessly to the desktop (for anyone using the default \
wallpaper). It also makes it possible to recreate the default KSplash theme in QML \
with 2 major benefits over the existing one: 1) the wallpaper image used is \
appropriate to the user&#39;s resolution and 2) the theme doesn&#39;t need to be \
modified between releases since it always uses the wallpaper from the default Plasma \
theme.

I&#39;ve already implemented and tested a recreation of the Default theme in QML and \
will post the patch if this one gets accepted.</pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">1. Applied path to new kde:kde-workspace clone 2. Compiled and installed \
ksplashqml 3. Modified Minimalistic theme to use Image as background with source set \
to plasmaTheme.wallpaperPath(screenSize) 4. Created another QML based theme similar \
to the Default one 5. Tested login with 2 different users using both themes</pre>
  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>ksplash/ksplashqml/CMakeLists.txt <span style="color: \
grey">(c2065d9)</span></li>

 <li>ksplash/ksplashqml/SplashWindow.cpp <span style="color: \
grey">(4417643)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/105761/diff/" style="margin-left: \
3em;">View Diff</a></p>




  </td>
 </tr>
</table>




  </div>
 </body>
</html>



_______________________________________________
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