Re: Review Request: Load webslice params from desktop file

2010-03-19 Thread Petri Damstén
On Friday 19 March 2010 17:51:04 Aaron J. Seigo wrote: > it doesn't address similar issues such as: > > * "how can i ship custom data with my c++ plasmoid in a way that's easy to > get at" (having a package would solve that) What makes a package? I see a desktop file in a zip a bare minimum packa

RE: Javascript and notifications help

2010-03-19 Thread asdfgh ertyhn
> From: ase...@kde.org > To: plasma-devel@kde.org > Subject: Re: Javascript and notifications help > Date: Fri, 19 Mar 2010 13:20:31 -0700 > CC: alanis.el...@hotmail.com > > hi Alanis ... > > On March 19, 2010, asdfgh ertyhn wrote: > > I'm trying to use the notifications service within my java

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Sebastian Kügler
Hey Reinhold, On Friday 19 March 2010 21:52:57 you wrote: > Am Mittwoch, 17. März 2010 14:14:17 schrieb Sebastian Kügler: > > By the way, just strikes me that I've implemented VPN support in the new > > Network Manager Plasmoid last week, and I've already some reports that it > > seems to work wel

Re: Javascript and notifications help

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, asdfgh ertyhn wrote: > Good evening folks, > I'm trying to use the notifications service within my javascript plasmoid > in order to display a nice popup notification on certain events, but I'm > stuck with its initialization. Looking at the API ( service(string > dataEngin

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Reinhold Kainhofer wrote: > Am Dienstag, 16. März 2010 20:53:35 schrieb Aaron J. Seigo: > A while ago you wrote on your blog (unfortunately, I can't find it now) > something to the effect that people need to get on with new developments > and designs and not stick to the old ones

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Reinhold Kainhofer wrote: > I have several other issues(rather small, but sometimes also annoying and > embarassing, like the mail notifications popping up when you are doing a > full screeen presentation with acroread in front of 180 actuaries...), so this is not new to plasma,

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Reinhold Kainhofer wrote: > Am Mittwoch, 17. März 2010 14:14:17 schrieb Sebastian Kügler: > > By the way, just strikes me that I've implemented VPN support in the new > > Network Manager Plasmoid last week, and I've already some reports that it > > seems to work well. What

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Luca Beltrame
In data venerdì 19 marzo 2010 21:52:57, Reinhold Kainhofer ha scritto: > Hm, in your blog you don't add any screenshot, so I can only guess: The > plasmoid is supposed to live on the desktop (or taking up a huge amount of I don't know about Network Management in particular, but plasmoids (startin

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Reinhold Kainhofer
Am Mittwoch, 17. März 2010 14:14:17 schrieb Sebastian Kügler: > By the way, just strikes me that I've implemented VPN support in the new > Network Manager Plasmoid last week, and I've already some reports that it > seems to work well. What kind of VPN are you using? vpnc (http://www.zid.tuwien.ac.

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Reinhold Kainhofer
Am Dienstag, 16. März 2010 20:53:35 schrieb Aaron J. Seigo: > to answer your concerns with the strip widget for Add Widgets: [...] Thanks for all the explanations. > finally, i'd invite you to consider all the use cases for this listing: on > the screensaver, on the dashboard, in plasma-netbook,

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Donnerstag, 18. März 2010 10:15:04 schrieb Will Stephenson: > On Wednesday 17 March 2010 14:14:17 Sebastian Kügler wrote: > > By the way, just strikes me that I've implemented VPN support in the new > > Network Manager Plasmoid last week, and I've a

Re: KDE's Plasma: How not to do lists...

2010-03-19 Thread Reinhold Kainhofer
Hi all, First of all, sorry for not replying earlier, but I have had a really busy week and couldn't find the time before (actually, I should also start studying the football rules for tomorrows game right now...). Am Mittwoch, 17. März 2010 04:40:03 schrieb Sebastian Kügler: > I think it's als

Re: netbook reference, the polishing details

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Aaron J. Seigo wrote: > On March 19, 2010, Marco Martin wrote: > > On Friday 19 March 2010, Aaron J. Seigo wrote: > > > hi all (and particulaly Marco :) > > > > > > we pulled out P's old (first gen!) EEE PC and stuck a USB key with the > > btw, i should probably note

Re: Javascript and notifications help

2010-03-19 Thread Aaron J. Seigo
hi Alanis ... On March 19, 2010, asdfgh ertyhn wrote: > I'm trying to use the notifications service within my javascript plasmoid > in order to display a nice popup notification on certain events, but I'm you know, this is a "funny" topic: it's not something i figured would be overly critical bu

Re: netbook reference, the polishing details

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Artur Souza wrote: > - Original message - > > > On Friday 19 March 2010, Aaron J. Seigo wrote: > > > * one of P's first questions when using SAL was "how do add new > > > application?" if there wasn't an "Add Widgets" button there, could > > > there be an "Add Applicatio

Re: netbook reference, the polishing details

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Marco Martin wrote: > On Friday 19 March 2010, Aaron J. Seigo wrote: > > hi all (and particulaly Marco :) > > > > we pulled out P's old (first gen!) EEE PC and stuck a USB key with the btw, i should probably note some specs: this is a 2 year old device running a Celereon M

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Rob Hasselbaum wrote: > On Fri, Mar 19, 2010 at 1:57 PM, Aaron J. Seigo wrote: > > On March 19, 2010, Rob Hasselbaum wrote: > >> I'm currently doing this by listening for popupEvent. > > > > my concern is that this won't work in all cases. > > > > i bet (translation: haven't t

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Rob Hasselbaum wrote: > Actually, the dataUpdated slot won't get invoked anyway if the applet > isn't connected to that source, right? that's correct. there are two kinds of linespans for sources: * ones the engine creates internally; these are up to the engine to manage e.g

Javascript and notifications help

2010-03-19 Thread asdfgh ertyhn
Good evening folks, I'm trying to use the notifications service within my javascript plasmoid in order to display a nice popup notification on certain events, but I'm stuck with its initialization. Looking at the API ( service(string dataEngineName, string sourceName) ), I wrote something like:

Re: netbook reference, the polishing details

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, you wrote: > - Original message - > > > On Friday 19 March 2010, Aaron J. Seigo wrote: > > > * one of P's first questions when using SAL was "how do add new > > > application?" if there wasn't an "Add Widgets" button there, could > > > there be an "Add Applications

Re: netbook reference, the polishing details

2010-03-19 Thread Artur Souza
- Original message - > On Friday 19 March 2010, Aaron J. Seigo wrote: > > * one of P's first questions when using SAL was "how do add new > > application?" if there wasn't an "Add Widgets" button there, could there > > be an "Add Applications" that launches KPackageKit? Add applications i

Re: netbook reference, the polishing details

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Aaron J. Seigo wrote: > hi all (and particulaly Marco :) > > we pulled out P's old (first gen!) EEE PC and stuck a USB key with the > Plasma Netbook Reference Platform build 18 (pnrp18? :) on it. the good > news: it worked straight out of the box .. er .. usb drive and

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 2:15 PM, Rob Hasselbaum wrote: > On Fri, Mar 19, 2010 at 2:05 PM, Aaron J. Seigo wrote: >> * dataengines are inherently shared between visualizations (that's actually >> kind of the entire point of them); so this won't work if one visualization >> (applet, e.g.) is shown a

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 1:57 PM, Aaron J. Seigo wrote: > On March 19, 2010, Rob Hasselbaum wrote: >> I'm currently doing this by listening for popupEvent. > > my concern is that this won't work in all cases. > > i bet (translation: haven't tested, but judging from the code) that if you > took an i

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 2:05 PM, Aaron J. Seigo wrote: > On March 19, 2010, Rob Hasselbaum wrote: >> It's expensive. So just blocking the updates from propagating between >> the data engine and the applet isn't enough. > > if nothing it connected to a source and the source was created using > sour

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Aaron J. Seigo wrote: > On March 19, 2010, Marco Martin wrote: > > -closed popupapplet > > note that this use case overlaps with containment without screen(), > separate dashboard, etc. > > > -containment without screen() > > imho that's a case where the shell should sim

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Aaron J. Seigo
(more in reply to Sebastian's email, but Rob's reply is very illuminating as to the issues :) On March 19, 2010, Rob Hasselbaum wrote: > It's expensive. So just blocking the updates from propagating between > the data engine and the applet isn't enough. if nothing it connected to a source and th

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Marco Martin wrote: > -closed popupapplet note that this use case overlaps with containment without screen(), separate dashboard, etc. > -containment without screen() imho that's a case where the shell should simply choose what to stash and what to show. e.g. in the netbook

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Rob Hasselbaum wrote: > On Fri, Mar 19, 2010 at 12:21 PM, Aaron J. Seigo wrote: > > my only question now is how to handle notification of the change. my > > first thought would be to add a new Contraint (IconifiedConstraint?) and > > then the applet could respond in constraintsE

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 1:19 PM, Sebastian Kügler wrote: > There are two cases for dataUpdated that matter here, indeed: > (1) polling / timer-based, for example refreshing RSS feeds > (2) events, for example from Solid > > We want to delay (1) and just keep (2) from propagation until shown. The

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Sebastian Kügler wrote: > On Friday 19 March 2010 17:21:37 Aaron J. Seigo wrote: > > On March 18, 2010, Rob Hasselbaum wrote: > > > On Thu, Mar 18, 2010 at 11:04 AM, Marco Martin wrote: > > > > what are you exactly trying to accomplish? > > > > thanks for asking the Righ

Re: [PATCH] Add option of adding new playlists to Plasma Media Center

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Aaron J. Seigo wrote: > On March 18, 2010, Alessandro Diaferia wrote: > > Please use reviewboard. I still didn't have a look at the patch but i > > feel reviewboard is much better in order to point out eventual issues. > > The issue with video inside mediacenter is due to P

Re: [PATCH] Add option of adding new playlists to Plasma Media Center

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Sebastian Kügler wrote: > On Friday 19 March 2010 17:40:43 Aaron J. Seigo wrote: > > On March 19, 2010, Alessandro Diaferia wrote: > > > Me and Marco were thinking about the same. The thing is: this way the > > > Media Center (and so, specifically, the MediaContainment) sho

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Sebastian Kügler
On Friday 19 March 2010 17:56:12 Rob Hasselbaum wrote: > On Fri, Mar 19, 2010 at 12:43 PM, Sebastian Kügler wrote: > > I wonder if we could just offer queueing updates from dataengines until > > an applet is about to be shown. Especially for mobile devices, this "not > > waking up unless shown" ca

Re: [PATCH] Add option of adding new playlists to Plasma Media Center

2010-03-19 Thread Sebastian Kügler
On Friday 19 March 2010 17:40:43 Aaron J. Seigo wrote: > On March 19, 2010, Alessandro Diaferia wrote: > > Me and Marco were thinking about the same. The thing is: this way the > > Media Center (and so, specifically, the MediaContainment) should take > > care of setting a transparent wallpaper? >

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 12:43 PM, Sebastian Kügler wrote: > I wonder if we could just offer queueing updates from dataengines until an > applet is > about to be shown. Especially for mobile devices, this "not waking up unless > shown" > can be very important. In my case, the act of getting the

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 12:21 PM, Aaron J. Seigo wrote: > my only question now is how to handle notification of the change. my first > thought would be to add a new Contraint (IconifiedConstraint?) and then the > applet could respond in constraintsEvent. I'm currently doing this by listening for

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Sebastian Kügler
On Friday 19 March 2010 17:21:37 Aaron J. Seigo wrote: > On March 18, 2010, Rob Hasselbaum wrote: > > On Thu, Mar 18, 2010 at 11:04 AM, Marco Martin wrote: > > > what are you exactly trying to accomplish? > > thanks for asking the Right Question(tm) :) > > > > usually you shouldn't care of a det

Re: [PATCH] Add option of adding new playlists to Plasma Media Center

2010-03-19 Thread Aaron J. Seigo
On March 19, 2010, Alessandro Diaferia wrote: > Me and Marco were thinking about the same. The thing is: this way the Media > Center (and so, specifically, the MediaContainment) should take care of > setting a transparent wallpaper? or just turn off the wallpaper altogether when showing a video.

netbook reference, the polishing details

2010-03-19 Thread Aaron J. Seigo
hi all (and particulaly Marco :) we pulled out P's old (first gen!) EEE PC and stuck a USB key with the Plasma Netbook Reference Platform build 18 (pnrp18? :) on it. the good news: it worked straight out of the box .. er .. usb drive and looks 100x sexier than what it shipped with. and i ha

Re: [PATCH] Add option of adding new playlists to Plasma Media Center

2010-03-19 Thread Alessandro Diaferia
2010/3/19 Aaron J. Seigo > On March 18, 2010, Alessandro Diaferia wrote: > > Please use reviewboard. I still didn't have a look at the patch but i > feel > > reviewboard is much better in order to point out eventual issues. The > issue > > with video inside mediacenter is due to Phonon and the Vi

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Aaron J. Seigo
On March 18, 2010, Rob Hasselbaum wrote: > On Thu, Mar 18, 2010 at 11:04 AM, Marco Martin wrote: > > what are you exactly trying to accomplish? thanks for asking the Right Question(tm) :) > > usually you shouldn't care of a detail like that > > I have a data engine that pushes data to my applet

Re: [PATCH] Add option of adding new playlists to Plasma Media Center

2010-03-19 Thread Aaron J. Seigo
On March 18, 2010, Alessandro Diaferia wrote: > Please use reviewboard. I still didn't have a look at the patch but i feel > reviewboard is much better in order to point out eventual issues. The issue > with video inside mediacenter is due to Phonon and the VideoWidget embedded > inside a QGraphics

Re: Review Request: Load webslice params from desktop file

2010-03-19 Thread Sebastian Kügler
On Friday 19 March 2010 16:51:04 Aaron J. Seigo wrote: > On March 18, 2010, Sebastian Kügler wrote: > > It would look like this in the .desktop file then: > > > > > > X-Plasma-Args=http://www.kde.org,#myselector > > > > > > > > We can pass in those arguments at applet creation and make sure the >

Re: Review Request: Load webslice params from desktop file

2010-03-19 Thread Aaron Seigo
> On 2010-03-18 10:56:47, Sebastian Kügler wrote: > > > > Sebastian Kügler wrote: > Looks good from my POV, I'd like Aaron to have a look over this as well > though. If he's OK with it, ship it :) i think it's an interesting solution to the problem; it's not in the "right" place (it shoul

Re: Review Request: Load webslice params from desktop file

2010-03-19 Thread Aaron J. Seigo
On March 18, 2010, Sebastian Kügler wrote: > It would look like this in the .desktop file then: > > X-Plasma-Args=http://www.kde.org,#myselector > > We can pass in those arguments at applet creation and make sure the > WebSlice applet does "something" with it. > > The mechanism ties in nicely wi

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Fri, Mar 19, 2010 at 10:03 AM, Sebastian Kügler wrote: > > I think the heuristics for this would be more complicated, but in general, it > might > be a good idea to quiesce dataengines as long as no *visible* applet is > connected. > Yeah, that would be generally useful, although the approac

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Marco Martin
On Friday 19 March 2010, Alessandro Diaferia wrote: > > IIRC applets inside a panel are not reduced to icon if the panel is enough > big to host their "open-status". Please correct me if I'm wrong. correct :) Cheers, Marco Martin ___ Plasma-devel maili

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Alessandro Diaferia
2010/3/19 Alessandro Diaferia > > > 2010/3/19 Rob Hasselbaum > > On Thu, Mar 18, 2010 at 1:23 PM, Rob Hasselbaum >> wrote: >> > On Thu, Mar 18, 2010 at 10:56 AM, Sebastian Kügler >> wrote: >> >> >> >> You can, because you can find out if it's on the desktop by calling >> formFactor(). >> >> >>

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Alessandro Diaferia
2010/3/19 Rob Hasselbaum > On Thu, Mar 18, 2010 at 1:23 PM, Rob Hasselbaum > wrote: > > On Thu, Mar 18, 2010 at 10:56 AM, Sebastian Kügler > wrote: > >> > >> You can, because you can find out if it's on the desktop by calling > formFactor(). > >> > > > > Ahh, OK, so if the form factor is either

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Sebastian Kügler
On Friday 19 March 2010 14:54:27 Rob Hasselbaum wrote: > On Thu, Mar 18, 2010 at 1:23 PM, Rob Hasselbaum wrote: > > On Thu, Mar 18, 2010 at 10:56 AM, Sebastian Kügler wrote: > >> You can, because you can find out if it's on the desktop by calling > >> formFactor(). > > > > Ahh, OK, so if the for

Re: Detecting when PopupApplet is iconified

2010-03-19 Thread Rob Hasselbaum
On Thu, Mar 18, 2010 at 1:23 PM, Rob Hasselbaum wrote: > On Thu, Mar 18, 2010 at 10:56 AM, Sebastian Kügler wrote: >> >> You can, because you can find out if it's on the desktop by calling >> formFactor(). >> > > Ahh, OK, so if the form factor is either Horizontal or Vertical, it's > guaranteed