Re: Plasma Scripting IRC Session at 16:00 Tuesday
On Tuesday 27 April 2010 17:56:57 Jonathan Riddell wrote: On Tue, Apr 27, 2010 at 02:06:14AM +0100, Jonathan Riddell wrote: We'll have the Plasma Scripting IRC session at 16:00UTC on Tuesday (today) in #plasma on freenode. All welcome. 5 minutes reminder :) Do you have logs? I missed it - it was so quick... :( Jaroslav Jonathan ___ Kde-packager mailing list kde-packa...@kde.org https://mail.kde.org/mailman/listinfo/kde-packager ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request: basic activity manager
On April 27, 2010, Chani wrote: do I really need to bother setting the screen at all? or can I assume it'll magicallly go to the Right one? it may not always go magically to the Right One(tm), but let's try it out as an assumption and see how well the window manager performs for us. if I do need to set the screen, what's the best thing to set it to? the current screen (if something can tell me that)? you can get which screen the mouse is on by taking the current mouse cursor position and asking which screen that point belongs to. aka how krunner picks a screen -- 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: Review Request: [Quicklaunch] Refactoring of the Quicklaunch applet
Lukas Appelhans wrote: It's just as easy as changing the .desktop file and putting your name into it instead of mine :) Oh, well, I should manage to do that ;) And of course taking care of it... :) I'll treat it gently ;) (You'll also need an SVN-Account) I've already got one, so that's no problem. Maybe I should also try to get myself registered as default assignee for widget-quicklaunch in Bugzilla... Can this be done by filing a sysadmin request? Best regards and thanks for mentoring me during my first steps in KDE dev land. Ingo ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Netbook Search and Launch, package managers and distributions
Hi all, I've ust added a new micro feature in the Plasma Search and Launch containment: a new add applications button in the toolbox. (maybe should even replace add widgets button, with the possibility to include widgets even be axed since doesn't make too much sense...) This is just a little nice detail, buuut... On the distributions side, some attention has to be paid: it searches for the configured desktop file name of the package manager, and it displays the icon only if that desktop file is present and valid. right now is configured in the sal containment. so, for distribution to customize two things can be made: a) make it possible to change this via javascript: (probably exposing a qproperty of the name would be enough) b) use a global config file, maybe even kdeglobals, so the distribution would have to change this at a lower level. i could have added this to KToolInvocation and was the first intention: however, if libshaman is coming along and will be merged reasonably soon, it will make such things really easy and would also derecate that public api function, so that's why i'm not so sure about adding it right now. Cheers, Marco Martin ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
javascript animations
hi ... we now have themable animation support in libplasma. one of the things we've been dreaming of since the original Animator class was born has come true, though there have been a few twists and turns to get here such as Qt Kinetic appearing and using Javascript for the theming. here is how it currently works in trunk: * a desktop theme can include one or more JS scripts in the animations/ subdirectory. each file can contain multiple animation definitions, each of which must be registered by calling registerAnimation(String name, Function func) in the script * in the theme's metadata.desktop file there is a new section supported: [Animations]. this group must contain mappings between the script name and the aimations it contains, e.g.: [Animations] stockanims.js=ZoomAnimation,PulseAnimation,RotationAnimation * fallback themes (aka theme inheritance) is supported for this * scripted animation registration is first come, first serve so until the theme is changed, animations can not overwrite each other. this should keep things a sane (e.g. fallback themes won't overwrite existing anim defs) * Animator::create(const QString animationName, QObject *parent = 0) will attempt to create an appropriate JavascriptAnimation, which is just another QAbastractAnimation ... well, a Plasma::EasingAnimation. same thing ;) * Coronas can now map stock animations to each other (e.g. make DisappearAnimation mean ZoomAnimation) as well map stock animations to js animations. this means that the appear/disappear of Applets in a Containment are now back to using the correct semantic animations: Appear and Disappear. it is up to the Corona subclass to take care of mapping those. what is left to do: * allow javascript plasmoids to create and call their own animations from files in the PlasmoidPackage * allow Coronas to load their own javascript script files (this will bring back the applet creation animation in plasma-desktop) *do an audit of the js API for animations to make sure it does everything we need/want, such as animation groups * put js versions of the stock anims in the Air theme to make sure it all works as expected :) your feedback is wanted since once 4.5 is out, we'll be stuck with the above. -- 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: Netbook Search and Launch, package managers and distributions
On April 28, 2010, Marco Martin wrote: a) make it possible to change this via javascript: (probably exposing a qproperty of the name would be enough) make it part of the initial layout js support and bingo-bango you're golden? -- 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: Netbook Search and Launch, package managers and distributions
On Wednesday 28 April 2010, Aaron J. Seigo wrote: On April 28, 2010, Marco Martin wrote: a) make it possible to change this via javascript: (probably exposing a qproperty of the name would be enough) make it part of the initial layout js support and bingo-bango you're golden? yep will end up like that i think -- Marco Martin ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Review Request: [Quicklaunch] Refactoring of the Quicklaunch applet
Am Mittwoch 28 April 2010 18:10:54 schrieb Ingomar Wesp: Lukas Appelhans wrote: It's just as easy as changing the .desktop file and putting your name into it instead of mine :) Oh, well, I should manage to do that ;) And of course taking care of it... :) I'll treat it gently ;) (You'll also need an SVN-Account) I've already got one, so that's no problem. Maybe I should also try to get myself registered as default assignee for widget-quicklaunch in Bugzilla... Can this be done by filing a sysadmin request? I think so... :) Best regards and thanks for mentoring me during my first steps in KDE dev land. Hehe, thanks for taking some points off my todo list :) Lukas Ingo ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: javascript animations
Hi Aaron! On Wednesday 28 April 2010, 15:14 Aaron J. Seigo wrote: we now have themable animation support in libplasma. one of the things we've been dreaming of since the original Animator class was born has come true, though there have been a few twists and turns to get here such as Qt Kinetic appearing and using Javascript for the theming. That's great! :) I'll provide just a little bit of (not so useful) feedback because I'm running out of time for some tasks here, sorry for not being able to give a proper one :(. * a desktop theme can include one or more JS scripts in the animations/ subdirectory. each file can contain multiple animation definitions, each of which must be registered by calling registerAnimation(String name, Function func) in the script This seems a lot the way how you export QObjects to QML for example, so maybe this is a sign that it's a good approach (or that crazy people just took the same approach by accident :P). * fallback themes (aka theme inheritance) is supported for this Great! * scripted animation registration is first come, first serve so until the theme is changed, animations can not overwrite each other. this should keep things a sane (e.g. fallback themes won't overwrite existing anim defs) Makes sense your feedback is wanted since once 4.5 is out, we'll be stuck with the above. Do you have anything in mind for using QML in themes? As QML can also define animations, I was wondering how it would conflict/help with the JS Animations ? Cheers! -- Artur Duque de Souza openBossa INdT - Instituto Nokia de Tecnologia -- Blog: http://blog.morpheuz.cc PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net -- signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
keeping documentation up to date, e.g. Plasma Theme docu
hey all ... look, i know how much keeping documentation up to date is boring, crappy and feels like a less-than-productive way to spend our time. but without documentation people can't make things with plasma. it's just that simple. i've been trying very hard to keep the javascript api's documented. this has been an arduous task, but one that i'm generally staying on top of. so i know how it goes. the trick is to document as we go so that it doesn't pile up into a mountain and we forget things. but some of our docs are so badly out of date that it's going to take a large effort to get them back into shape. this is very disappointing. one example is the documentation for what goes into a Plasma Theme. we have to fix this. in the case of the Plasma Theme documentation, i'd really appreciate it if those who have been adding things to Plasma Theming would take some time to update the techbase page. in generally, though, let's all try and stay a bit more aware of the issue of technical documentation. thanks :) -- 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
system tray work
hey all .. so the system tray is really shaping up pretty nicely these days, thanks mostly to the work of marco, frederik and aurelien. woo! :) i just committed some changes to the layout of things that i'd like to get some feedback on. (and i recommend updating the battery applet while you're at it.) now ... i'm not going to spoil it and say what's changed as i'm not even sure anyone will notice. (which would also be a sort of success?) in any case, i'm quite happy with how it is now but am open to suggestions (esp from the afformentioned trio of system tray greatnesses, though aurelien is now on vacation so i don't suppose he'll speak up much ;) some things still to nail down: * consistent mouse overs for things like the battery icon relative to the status item notifiers * whether or not to show tooltips instantly for items in the tray or wait the time out as per usual * separation between types (e.g. hardware vs app icons)? * increased consistency in interaction; i really dislike krandr's window now :) -- 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