On Wed, Jan 9, 2013 at 3:43 PM, Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org" target="_blank">aseigo@kde.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi...<br>
<br>
in order to have a workspace ready for libplasma2, everything needs to be done<br>
in qml. there has been at least one attempt to get krunner QML-ified, thanks to<br>
Aleix Pol, and possibly others.<br>
<br>
a fair amount of internal work was really called for, though, to make it as<br>
nice as it could/shoudl be. just making it possible to load QML into krunner<br>
was not really enough.<br>
<br>
so after having looked at other attempts (which was useful, so thanks for that<br>
work being done!), i started in on a refactoring of krunner. it's not done<br>
quite yet, but it's getting there. you can check it out in the aseigo/krunner-<br>
qml branch of kde-workspace. don't expect it to do anything yet, though :)<br>
<br>
currently it:<br>
<br>
* loads Plasma::Packages of QML for UI<br>
* provides a small API available from QML for the application to let the UI<br>
know of configuration changes, etc<br>
* reduces the responsibilities of KRunnerDialog, leaving more to the QML<br>
<br>
another important change is that i'm playing with the idea of having the<br>
switch user UI once again something different. krunner was simply re-using the<br>
Sessions runner for this. this was nice because it was less work, less code<br>
duplication, ensured consistency, etc.<br>
<br>
with the move to QML, however, i'd like to see a purpose-designed UI for user<br>
switching. this should be harmonized with the DM, preferably by sharing QML (i<br>
doubt kdm will ever give us that; but we can at least work with lightdm), as<br>
well as the lock screen which also provides a subset of this behaviour.<br>
<br>
if anyone wants to try their hand at doing some QML for the switch user UI,<br>
that'd be cool :)<br>
<br>
i'm thinking of a modal, centered window ... perhaps a full screen width strip<br>
even? that shows all the existing sessions in a row to pick from and one entry<br>
to create a new session.<br>
<br>
(super cool would be to allow entering the username and password inline to<br>
avoid having to call up the DM itself, but i doubt that's realistic.)<br>
<br>
i hope to have the krunner QML stuff up and useful by sometime next week.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Aaron J. Seigo</font></span><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><div>Good stuff, I'd say it's really important, I'm really sad for not having found the time to push it further.</div><div><br></div><div>Looking forward to your progress, maybe it would be interesting to see what you exactly have in mind there?</div>
<div><br></div><div>Cheers!</div><div>Aleix</div>