Re: plasma wallpapers

2015-03-12 Thread Marco Martin
On Monday 09 March 2015, kainz.a wrote:
 Hi plasma developers,
 
 I'm part of the VDG and do some artwork for the Breeze icon set.
 ...
 My question was:
 - Can I start a Wallpaper contest for the plasma team to have additional
 standard wallpapers in plasma 5.3.

Hi,
it would be cool, yes :)

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


Re: plasma wallpapers

2015-03-12 Thread Martin Klapetek
On Thu, Mar 12, 2015 at 1:31 PM, Jonathan Riddell j...@jriddell.org wrote:

 On Thu, Mar 12, 2015 at 01:20:35PM +0100, Martin Klapetek wrote:
 However do you know how it is with property licenses when used as
 backgrounds?

 It varies by country, sensible countries make sure that photos of
 public buildings are not restricted by copyright.  Both the UK and the
 US are sensible countries in this regard.

 http://en.wikipedia.org/wiki/Freedom_of_panorama


That is not true, for example Trafalgar Square or Parliament Square
in London that are not private tourist photos _must_ have a property
release before using it commercially. And there are many such buildings
or landmarks in US and everywhere else too.


 Same goes with children or any person on photos,
 there you need model release (ie. the person's signature that
 his/her
 photo
 can be used for various purposes).

 Personality rights for people modelling is only a US concept, sensible
 countries have no such restrictions.


That is also not true and it's more complicated. Basically, taking a picture
on the public space/street should be safe, but as soon as the person
(and especially children) are the main object of the photos, you do need
to have a license to use those in a non-private way.

All I'm saying is, better stay safe (licensing Golden Gate Bridge for
non-private use is 2000$, getting sued could be very very very
expensive).

Cheers
-- 
Martin Klapetek | KDE Developer
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: plasma wallpapers

2015-03-12 Thread Martin Klapetek
On Thu, Mar 12, 2015 at 2:05 PM, Jonathan Riddell j...@jriddell.org wrote:


 You're mixing several unrelated laws here.  Personality rights in the
 US applies to people who make a living from their celebrity.  Privacy
 rights in the EU applies to helping protect the little children.
 There's some common law concepts in Scotland and elsewhere around
 photos of models and celebrities but it's very unlikely to apply to
 photos given away under the GPL at no cost and has no bearing on KDE's
 licence policy which is based only on the copyright owner.


All I'm saying is that if we choose to distribute a picture of a person
without
any written consent from that person and if that person changes his/her mind
at any time after we've released it, it could go bad as suddenly that
person's
face is on millions of computers and I guess it would be hard to explain to
any legal body how did it end up there when the person is saying he/she
does not/did not want to be there.

I just think it doesn't seem worthy to get ourselves into potential
problems like
this. Stay safe. That is all.

Cheers
-- 
Martin Klapetek | KDE Developer
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: plasma wallpapers

2015-03-12 Thread Marco Martin
On Thursday 12 March 2015 14:29:11 Martin Klapetek wrote:
 All I'm saying is that if we choose to distribute a picture of a person
 without
 any written consent from that person and if that person changes his/her mind
 at any time after we've released it, it could go bad as suddenly that
 person's
 face is on millions of computers and I guess it would be hard to explain to
 any legal body how did it end up there when the person is saying he/she
 does not/did not want to be there.

while in some places this may be true for landmarks as well, the worst case 
scenario I guess is indeed for the photo of people..
but given how wallpapers should look in general, a no humans policy for the 
selected photos could be sane anyways.

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


Re: plasma wallpapers

2015-03-12 Thread kainz.a
thanks for the information. thats the reason that the plasma team  should
find the winner and not the community via rating.

cheers
Andreas
Am 12.03.2015 13:46 schrieb Martin Klapetek martin.klape...@gmail.com:

 On Thu, Mar 12, 2015 at 1:31 PM, Jonathan Riddell j...@jriddell.org wrote:

 On Thu, Mar 12, 2015 at 01:20:35PM +0100, Martin Klapetek wrote:
 However do you know how it is with property licenses when used as
 backgrounds?

 It varies by country, sensible countries make sure that photos of
 public buildings are not restricted by copyright.  Both the UK and the
 US are sensible countries in this regard.

 http://en.wikipedia.org/wiki/Freedom_of_panorama


 That is not true, for example Trafalgar Square or Parliament Square
 in London that are not private tourist photos _must_ have a property
 release before using it commercially. And there are many such buildings
 or landmarks in US and everywhere else too.


 Same goes with children or any person on photos,
 there you need model release (ie. the person's signature that
 his/her
 photo
 can be used for various purposes).

 Personality rights for people modelling is only a US concept, sensible
 countries have no such restrictions.


 That is also not true and it's more complicated. Basically, taking a
 picture
 on the public space/street should be safe, but as soon as the person
 (and especially children) are the main object of the photos, you do need
 to have a license to use those in a non-private way.

 All I'm saying is, better stay safe (licensing Golden Gate Bridge for
 non-private use is 2000$, getting sued could be very very very
 expensive).

 Cheers
 --
 Martin Klapetek | KDE Developer

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


Re: plasma wallpapers

2015-03-12 Thread Jens Reuterberg
Well just as a suggestion can't we post something like please 
remember to check your local laws concerning official 
buildings and people and then IF someone hands over an 
image of an official building then we can ask them.

I mean there's no point burning the house down to protect it 
from burglars is there?

On Thursday, March 12, 2015 01:45:34 PM Martin Klapetek 
wrote:
 On Thu, Mar 12, 2015 at 1:31 PM, Jonathan Riddell 
j...@jriddell.org wrote:
  On Thu, Mar 12, 2015 at 01:20:35PM +0100, Martin 
Klapetek wrote:
  However do you know how it is with property licenses 
when used as
  backgrounds?
  
  It varies by country, sensible countries make sure that 
photos of
  public buildings are not restricted by copyright.  Both the 
UK and the
  US are sensible countries in this regard.
  
  http://en.wikipedia.org/wiki/Freedom_of_panorama
 
 That is not true, for example Trafalgar Square or Parliament 
Square
 in London that are not private tourist photos _must_ have a 
property
 release before using it commercially. And there are many 
such buildings
 or landmarks in US and everywhere else too.
 
  Same goes with children or any person on photos,
  there you need model release (ie. the person's 
signature that
  
  his/her
  
  photo
  can be used for various purposes).
  
  Personality rights for people modelling is only a US 
concept, sensible
  countries have no such restrictions.
 
 That is also not true and it's more complicated. Basically, 
taking a picture
 on the public space/street should be safe, but as soon as the 
person (and
 especially children) are the main object of the photos, you do 
need to have
 a license to use those in a non-private way.
 
 All I'm saying is, better stay safe (licensing Golden Gate 
Bridge for
 non-private use is 2000$, getting sued could be very very 
very
 expensive).
 
 Cheers

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


Re: plasma wallpapers

2015-03-12 Thread Martin Klapetek
On Thu, Mar 12, 2015 at 1:53 PM, Jens Reuterberg j...@ohyran.se wrote:

 Well just as a suggestion can't we post something like please
 remember to check your local laws concerning official
 buildings and people and then IF someone hands over an
 image of an official building then we can ask them.

 I mean there's no point burning the house down to protect it
 from burglars is there?


It gets complicated with KDE's international distribution though,
one law not being valid in one country might be very valid in
another country.

But then again, I don't understand it enough to make educated
claims, I'm just raising what I know as a photographer who
actually tried to license some of his photos to a company.

Cheers
-- 
Martin Klapetek | KDE Developer
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: plasma wallpapers

2015-03-12 Thread Jonathan Riddell
On Thu, Mar 12, 2015 at 01:45:34PM +0100, Martin Klapetek wrote:
On Thu, Mar 12, 2015 at 1:31 PM, Jonathan Riddell j...@jriddell.org 
 wrote:
 
  On Thu, Mar 12, 2015 at 01:20:35PM +0100, Martin Klapetek wrote:
  A  A  However do you know how it is with property licenses when used as
  A  A  backgrounds?
 
  It varies by country, sensible countries make sure that photos of
  public buildings are not restricted by copyright.A  Both the UK and the
  US are sensible countries in this regard.
 
  http://en.wikipedia.org/wiki/Freedom_of_panorama
 
That is not true, for example Trafalgar Square or Parliament Square
in London that are not private tourist photos _must_ have a property
release before using it commercially. And there are many such buildings
or landmarks in US and everywhere else too.

There seems to be some specific byelaws for Trafalgar Square and
 Parliament Square that restrict photography
 
https://www.london.gov.uk/sites/default/files/Trafalgar%20Square%20Byelaws%2025Jan2012_1.pdf
in which case sure, just make sure there's no photos of these two
sites in the competition if we want to keep Boris Johnston happy
(personally I'd love to see him get upset).  Same goes for the
Atonium in Brussels or the Little Mermaid statue in Copenhagen where
they don't have sensible laws regarding photos of buildings.
US law is weird and mixed but there's no real restrictions and if
wikipedia are happy to put photos of the golden gate bridge then I
trust them to have done the research to know it's fine

  A  A  Same goes with children or any person on photos,
  A  A  there you need model release (ie. the person's signature that
  his/her
  A  A  photo
  A  A  can be used for various purposes).
 
  Personality rights for people modelling is only a US concept, sensible
  countries have no such restrictions.
 
That is also not true and it's more complicated. Basically, taking a
picture
on the public space/street should be safe, but as soon as the person
(and especially children) are the main object of the photos, you do need
to have a license to use those in a non-private way.

You're mixing several unrelated laws here.  Personality rights in the
US applies to people who make a living from their celebrity.  Privacy
rights in the EU applies to helping protect the little children.
There's some common law concepts in Scotland and elsewhere around
photos of models and celebrities but it's very unlikely to apply to
photos given away under the GPL at no cost and has no bearing on KDE's
licence policy which is based only on the copyright owner.

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


Re: plasma wallpapers

2015-03-12 Thread Jens Reuterberg
Well I'm no legal expert so neither can I. I just think that 
beyond some care to tell people not to break any local laws 
there isn't much we can do without making it a contest for who 
can grasp international trademark law the best.

Lets just roll with it for now. Perhaps tell people to check in 
with legal issues and that its GPL we're going with license wise 
and not stress out about to much at this early stage,

On Thursday, March 12, 2015 02:00:23 PM Martin Klapetek 
wrote:
 On Thu, Mar 12, 2015 at 1:53 PM, Jens Reuterberg 
j...@ohyran.se wrote:
  Well just as a suggestion can't we post something like 
please
  remember to check your local laws concerning official
  buildings and people and then IF someone hands over an
  image of an official building then we can ask them.
  
  I mean there's no point burning the house down to protect 
it
  from burglars is there?
 
 It gets complicated with KDE's international distribution 
though,
 one law not being valid in one country might be very valid in
 another country.
 
 But then again, I don't understand it enough to make 
educated
 claims, I'm just raising what I know as a photographer who
 actually tried to license some of his photos to a company.
 
 Cheers

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


Re: plasma wallpapers

2015-03-12 Thread Martin Klapetek
Hey,

On Mon, Mar 9, 2015 at 3:46 PM, kainz.a kain...@gmail.com wrote:

 Hi plasma developers,

 I'm part of the VDG and do some artwork for the Breeze icon set.

 Plasma 5.1 and 5.2 has a new wallpaper but only one. I would like to see
 some nice wallpapers for 5.3 in other areas.

 There was a nice weather wallpaper app in kde 4, I think it wasn't ported
 but for this there were never realy usefull wallpapers. In addition there
 should be also wallpapers for more categories.

 I ask the digikam developers cause they are the picture guys for help and
 they say ask on Google+ than you will find enough contributors, we will
 also support you.

 My question was:
 - Can I start a Wallpaper contest for the plasma team to have additional
 standard wallpapers in plasma 5.3.


 I will make an plog post,  You can select the best images for your
 wallpaper package.


Nice initiative!

However do you know how it is with property licenses when used as
backgrounds?
I'm asking because normally when you want to give/sell a license of a photo
with
say Golden Gate Bridge, you must first seek property release from the
city of
San Francisco (I've heard that many places in London are actually
unlicenceable
when it comes to photos). Same goes with children or any person on photos,
there you need model release (ie. the person's signature that his/her
photo
can be used for various purposes).

I really don't know how is it with photos not being sold but given your
call has
Konqi from Silicon Valley or City of Bangkok or Children wallpaper
(not sure
if you meant actual children :), I think it's better to stay on the safe
side and specify
a bit more what the background can be than later be sued by cities and
stuff.

And finally, you do require a model/property release for anything that's
even remotely
identifiable. Basically if the person can recognize it's him/her (even if
there's just a leg
with special shoes) or if the owner of the property can recognize his/her
property,
you need a release :) See [1] for more details.

So, there's that :)

[1] -
https://iso.500px.com/10-photos-you-wouldnt-think-need-model-releases-but-do/

Cheers
-- 
Martin Klapetek | KDE Developer
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-10-03 Thread Marco Martin
On Wednesday 03 October 2012, Reza Shah wrote:
 seems bounce plasmoid can be converted as animated wallpaper.
 it has sound, well not the baby one :) can be tickled
 

hmm, may be an excellent excuse to kill it ;)

for stuff like that tough it would need the ability to use another wallpaper 
as its background to not have to reimplement Image just for that ;)


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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aleix Pol
On Mon, Oct 1, 2012 at 12:56 AM, Aleix Pol aleix...@kde.org wrote:
 On Sat, Sep 29, 2012 at 5:25 PM, Marco Martin notm...@gmail.com wrote:
 On Saturday 29 September 2012, Marco Martin wrote:
 i tried to do a wallpaper (called haenau) in the style of the typical
 default kde wallpaper that  is just some simple svg shapes that are every
 30 seconds gien a random opacity and z order, animation is very subtle (as
 it should always be) and the changes of the wallpaper are barely
 noticeable http://wstaw.org/m/2012/09/29/plasmoidviewerP13038.png

 even tough the qml file stays inactive for most of the time and in
 qmlviewer usually takes 0% cpu when loaded in plasma always takes some
 cpu, so is probably doing still some unnecessary repaints

 solved the cpu issue (it needs a cached pixmap, otherwise calls scene::render
 too often) and added anohter one (ok, i'll stop :p)

 one thing that should still be done (and don't want to do it, at least one
 thing;) is to show wallpaper thumbnails: and they should just be a thumbnail
 contained in the package (no, live previews are too costly in terms of pretty
 much everything)

 Cheers,
 Marco Martin
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

 I'll look into this during next (or this, already .) week.

 Looked into Haenau, looking promising!

 Thanks for caring, Marco! :)
 Aleix

I pushed a new dialog with the previews. It still doesn't get much CPU
here (or maybe I just have a good computer .), so any testing and
comments are welcome.

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Marco Martin
On Tuesday 02 October 2012, Aleix Pol wrote:
  I'll look into this during next (or this, already .) week.
  
  Looked into Haenau, looking promising!
  
  Thanks for caring, Marco! :)
  Aleix
 
 I pushed a new dialog with the previews. It still doesn't get much CPU
 here (or maybe I just have a good computer .), so any testing and
 comments are welcome.

reason was it was asking the scene a repaint every time, with a qpixmap as 
cache is way faster now.

a current issue is that every delegate you click on is actually parsing the 
qml (ouch ;)

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aleix Pol
On Tue, Oct 2, 2012 at 5:33 PM, Marco Martin notm...@gmail.com wrote:
 On Tuesday 02 October 2012, Aleix Pol wrote:
  I'll look into this during next (or this, already .) week.
 
  Looked into Haenau, looking promising!
 
  Thanks for caring, Marco! :)
  Aleix

 I pushed a new dialog with the previews. It still doesn't get much CPU
 here (or maybe I just have a good computer .), so any testing and
 comments are welcome.

 reason was it was asking the scene a repaint every time, with a qpixmap as
 cache is way faster now.

 a current issue is that every delegate you click on is actually parsing the
 qml (ouch ;)

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

I'm unsure that's much of a problem. If it's identified as a problem,
I can look into fixing it though...

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aleix Pol
On Tue, Oct 2, 2012 at 5:39 PM, Aleix Pol aleix...@kde.org wrote:
 On Tue, Oct 2, 2012 at 5:33 PM, Marco Martin notm...@gmail.com wrote:
 On Tuesday 02 October 2012, Aleix Pol wrote:
  I'll look into this during next (or this, already .) week.
 
  Looked into Haenau, looking promising!
 
  Thanks for caring, Marco! :)
  Aleix

 I pushed a new dialog with the previews. It still doesn't get much CPU
 here (or maybe I just have a good computer .), so any testing and
 comments are welcome.

 reason was it was asking the scene a repaint every time, with a qpixmap as
 cache is way faster now.

 a current issue is that every delegate you click on is actually parsing the
 qml (ouch ;)

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

 I'm unsure that's much of a problem. If it's identified as a problem,
 I can look into fixing it though...

 Aleix

I just pushed the mouse events forwarding to the QGraphicsScene, not
it's not only alive but it can be tickled ;).

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Marco Martin
On Tuesday 02 October 2012, Aleix Pol wrote:
  reason was it was asking the scene a repaint every time, with a qpixmap
  as cache is way faster now.
  
  a current issue is that every delegate you click on is actually parsing
  the qml (ouch ;)
  
  --
  Marco Martin
  ___
  Plasma-devel mailing list
  Plasma-devel@kde.org
  https://mail.kde.org/mailman/listinfo/plasma-devel
 
 I'm unsure that's much of a problem. If it's identified as a problem,
 I can look into fixing it though...

it does quite some unnecessary work, a particularly complex wallpaper (haenau) 
leads to a noticeable freeze for 1/10 of second here

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aaron J. Seigo
On Tuesday, October 2, 2012 20:28:29 Aleix Pol wrote:
 I just pushed the mouse events forwarding to the QGraphicsScene, not
 it's not only alive but it can be tickled ;).

... so who'll be the first one to find a cute picture of a baby and a funny 
giggling sound and make it into a wallpaper? ;)

cool stuff; can't wait to get this fully integrated into libplasma2 based 
shells! we'll want to make some noise about this feature in the 4.10 release 
announcements.

-- 
Aaron Seigo

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Reza Shah
seems bounce plasmoid can be converted as animated wallpaper.
it has sound, well not the baby one :) can be tickled

On Wed, Oct 3, 2012 at 6:13 AM, Aaron J. Seigo ase...@kde.org wrote:
 On Tuesday, October 2, 2012 20:28:29 Aleix Pol wrote:
 I just pushed the mouse events forwarding to the QGraphicsScene, not
 it's not only alive but it can be tickled ;).

 ... so who'll be the first one to find a cute picture of a baby and a funny
 giggling sound and make it into a wallpaper? ;)

 cool stuff; can't wait to get this fully integrated into libplasma2 based
 shells! we'll want to make some noise about this feature in the 4.10 release
 announcements.

 --
 Aaron Seigo
 ___
 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: Plasma Wallpapers in QML

2012-10-02 Thread Reza Shah
HI Aleix,

Tried with latest one, seems there were some delay in configuration dialog:
- when clicking Haenau, i can feel slight delay until the thumbnail selected,
  you can compare with ascii and hunyango (do selection between them).
- seem the thumbnails are 'active', they changed their appeareance
after certain time while the configuration dialog still open. may be
static preview is better or just regenerate the preview after the
dialog closed

I tested using ivy bridge laptop and amd phenom xt desktop, so i think
those are capable enough.
From system activity i got these:
plasma-desktop spikes around 6% for Hunyango and 18% at max for Haenau
(this in my amd phenom).

On Wed, Oct 3, 2012 at 12:33 AM, Marco Martin notm...@gmail.com wrote:
 a current issue is that every delegate you click on is actually parsing the
 qml (ouch ;)

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aleix Pol
On Wed, Oct 3, 2012 at 1:52 AM, Reza Shah rshah0...@kireihana.com wrote:
 HI Aleix,

 Tried with latest one, seems there were some delay in configuration dialog:
 - when clicking Haenau, i can feel slight delay until the thumbnail selected,
   you can compare with ascii and hunyango (do selection between them).
 - seem the thumbnails are 'active', they changed their appeareance
 after certain time while the configuration dialog still open. may be
 static preview is better or just regenerate the preview after the
 dialog closed

 I tested using ivy bridge laptop and amd phenom xt desktop, so i think
 those are capable enough.
 From system activity i got these:
 plasma-desktop spikes around 6% for Hunyango and 18% at max for Haenau
 (this in my amd phenom).

 On Wed, Oct 3, 2012 at 12:33 AM, Marco Martin notm...@gmail.com wrote:
 a current issue is that every delegate you click on is actually parsing the
 qml (ouch ;)

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

Ok, I'll change it to switching the wallpaper on ::save.

Thanks for the testing!
Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aleix Pol
...and pushed.

On Wed, Oct 3, 2012 at 3:05 AM, Aleix Pol aleix...@kde.org wrote:
 On Wed, Oct 3, 2012 at 1:52 AM, Reza Shah rshah0...@kireihana.com wrote:
 HI Aleix,

 Tried with latest one, seems there were some delay in configuration dialog:
 - when clicking Haenau, i can feel slight delay until the thumbnail selected,
   you can compare with ascii and hunyango (do selection between them).
 - seem the thumbnails are 'active', they changed their appeareance
 after certain time while the configuration dialog still open. may be
 static preview is better or just regenerate the preview after the
 dialog closed

 I tested using ivy bridge laptop and amd phenom xt desktop, so i think
 those are capable enough.
 From system activity i got these:
 plasma-desktop spikes around 6% for Hunyango and 18% at max for Haenau
 (this in my amd phenom).

 On Wed, Oct 3, 2012 at 12:33 AM, Marco Martin notm...@gmail.com wrote:
 a current issue is that every delegate you click on is actually parsing the
 qml (ouch ;)

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

 Ok, I'll change it to switching the wallpaper on ::save.

 Thanks for the testing!
 Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-10-02 Thread Reza Shah
HI Aleix,

The thumbnail selection faster now.
But seems the wallpaper will always set to Haenau.
Tried with ascii or hunyango, but Haenau will be displayed.

On Wed, Oct 3, 2012 at 10:34 AM, Aleix Pol aleix...@kde.org wrote:
 ...and pushed.

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


Re: Plasma Wallpapers in QML

2012-10-02 Thread Aleix Pol
Hi,
It should be fixed now!

Good night*!
Aleix

PS: or whatever is according to your time zone ;)

On Wed, Oct 3, 2012 at 4:24 AM, Reza Shah rshah0...@kireihana.com wrote:
 HI Aleix,

 The thumbnail selection faster now.
 But seems the wallpaper will always set to Haenau.
 Tried with ascii or hunyango, but Haenau will be displayed.

 On Wed, Oct 3, 2012 at 10:34 AM, Aleix Pol aleix...@kde.org wrote:
 ...and pushed.

 ___
 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: Plasma Wallpapers in QML

2012-09-30 Thread Aleix Pol
On Sat, Sep 29, 2012 at 5:25 PM, Marco Martin notm...@gmail.com wrote:
 On Saturday 29 September 2012, Marco Martin wrote:
 i tried to do a wallpaper (called haenau) in the style of the typical
 default kde wallpaper that  is just some simple svg shapes that are every
 30 seconds gien a random opacity and z order, animation is very subtle (as
 it should always be) and the changes of the wallpaper are barely
 noticeable http://wstaw.org/m/2012/09/29/plasmoidviewerP13038.png

 even tough the qml file stays inactive for most of the time and in
 qmlviewer usually takes 0% cpu when loaded in plasma always takes some
 cpu, so is probably doing still some unnecessary repaints

 solved the cpu issue (it needs a cached pixmap, otherwise calls scene::render
 too often) and added anohter one (ok, i'll stop :p)

 one thing that should still be done (and don't want to do it, at least one
 thing;) is to show wallpaper thumbnails: and they should just be a thumbnail
 contained in the package (no, live previews are too costly in terms of pretty
 much everything)

 Cheers,
 Marco Martin
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

I'll look into this during next (or this, already .) week.

Looked into Haenau, looking promising!

Thanks for caring, Marco! :)
Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-29 Thread Marco Martin
On Friday 28 September 2012, Marco Martin wrote:
 On Thursday 13 September 2012, Aleix Pol wrote:
  What I did was to create a very very simple plugin (~40 sloc) that
  lets you easily specify a wallpaper given a QML url. Now it's
  hardcoded, and we should find a way to pass it (maybe through the
  QVariantList args?) so that a wallpaper is just the desktop file, or
  maybe something completely different. :)
 
 I'm happy it's merged ;)
 only two things still bothering me a bit that should be at least discussed:
 i think wallpapers shouldn't be installed in apps/plasma/packages but have
 their own directory and their desktop files not installed under services

i tried to do a wallpaper (called haenau) in the style of the typical 
default kde wallpaper that  is just some simple svg shapes that are every 30 
seconds gien a random opacity and z order, animation is very subtle (as it 
should always be) and the changes of the wallpaper are barely noticeable
http://wstaw.org/m/2012/09/29/plasmoidviewerP13038.png

even tough the qml file stays inactive for most of the time and in qmlviewer 
usually takes 0% cpu when loaded in plasma always takes some cpu, so is 
probably doing still some unnecessary repaints

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-29 Thread Marco Martin
On Saturday 29 September 2012, Marco Martin wrote:
 i tried to do a wallpaper (called haenau) in the style of the typical
 default kde wallpaper that  is just some simple svg shapes that are every
 30 seconds gien a random opacity and z order, animation is very subtle (as
 it should always be) and the changes of the wallpaper are barely
 noticeable http://wstaw.org/m/2012/09/29/plasmoidviewerP13038.png
 
 even tough the qml file stays inactive for most of the time and in
 qmlviewer usually takes 0% cpu when loaded in plasma always takes some
 cpu, so is probably doing still some unnecessary repaints

solved the cpu issue (it needs a cached pixmap, otherwise calls scene::render 
too often) and added anohter one (ok, i'll stop :p)

one thing that should still be done (and don't want to do it, at least one 
thing;) is to show wallpaper thumbnails: and they should just be a thumbnail 
contained in the package (no, live previews are too costly in terms of pretty 
much everything)

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-28 Thread Marco Martin
On Thursday 13 September 2012, Aleix Pol wrote:
 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)

I'm happy it's merged ;)
only two things still bothering me a bit that should be at least discussed:
i think wallpapers shouldn't be installed in apps/plasma/packages but have 
their own directory and their desktop files not installed under services

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-28 Thread Marco Martin
On Friday 28 September 2012, Marco Martin wrote:
 On Thursday 13 September 2012, Aleix Pol wrote:
  What I did was to create a very very simple plugin (~40 sloc) that
  lets you easily specify a wallpaper given a QML url. Now it's
  hardcoded, and we should find a way to pass it (maybe through the
  QVariantList args?) so that a wallpaper is just the desktop file, or
  maybe something completely different. :)
 
 I'm happy it's merged ;)
 only two things still bothering me a bit that should be at least discussed:
 i think wallpapers shouldn't be installed in apps/plasma/packages but have
 their own directory and their desktop files not installed under services

oh, and a third thing:
we can't ship by default a wallpaper called ugly (and that indeed, is)

it should be moved in kdeexamples

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-28 Thread Aleix Pol
On Fri, Sep 28, 2012 at 3:26 PM, Marco Martin notm...@gmail.com wrote:
 On Thursday 13 September 2012, Aleix Pol wrote:
 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)

 I'm happy it's merged ;)
 only two things still bothering me a bit that should be at least discussed:
 i think wallpapers shouldn't be installed in apps/plasma/packages but have
 their own directory and their desktop files not installed under services

 Cheers,
 Marco Martin
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

Hi!
Tell me where you want them installed and I will put them there. I
copied it from kdeexamples, I guessed it makes sense that if it's a
plasma package then it should be there, but then again plasma packages
still sound weird to me.

And where should the metadata.desktop files be installed instead?

About the ugly thing, I'll move it right now.

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


Re: Plasma Wallpapers in QML

2012-09-28 Thread Marco Martin
On Friday 28 September 2012, Aleix Pol wrote:
 On Fri, Sep 28, 2012 at 3:26 PM, Marco Martin notm...@gmail.com wrote:
  On Thursday 13 September 2012, Aleix Pol wrote:
  What I did was to create a very very simple plugin (~40 sloc) that
  lets you easily specify a wallpaper given a QML url. Now it's
  hardcoded, and we should find a way to pass it (maybe through the
  QVariantList args?) so that a wallpaper is just the desktop file, or
  maybe something completely different. :)
  
  I'm happy it's merged ;)
  only two things still bothering me a bit that should be at least
  discussed: i think wallpapers shouldn't be installed in
  apps/plasma/packages but have their own directory and their desktop
  files not installed under services
  
  Cheers,
  Marco Martin
  ___
  Plasma-devel mailing list
  Plasma-devel@kde.org
  https://mail.kde.org/mailman/listinfo/plasma-devel
 
 Hi!
 Tell me where you want them installed and I will put them there. I
 copied it from kdeexamples, I guessed it makes sense that if it's a
 plasma package then it should be there, but then again plasma packages
 still sound weird to me.

changed to apps/plasma/wallpapers, check the last commits

(btw, i also fixed some small styling issues, such as broken icon, org.kde 
namespace to plugin name, trailing spaces etc, those are important things to 
check now that we are talking about polish last mile etc ;)

 And where should the metadata.desktop files be installed instead?

just in its package folder, no need to pollute sycoca

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-25 Thread Aaron J. Seigo
On Tuesday, September 25, 2012 03:21:39 Aleix Pol wrote:
 git clone kde:scratch/apol/qmlwallpapers

works very nicely; would be even nicer if mouse events were passed through, 
though, to allow some level of interaction, but given the mechanism that is 
needed to be used to make this work at the moment that may not be possible.

... and this leads me to think about what to do with Wallpaper in libplasma2 
:)

as for where to put this plugin, for now it should go into kdeplasma-addons 
with the other wallpaper plugins.

p.s. ascii animals are awesome :)

-- 
Aaron J. Seigo

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


Re: Plasma Wallpapers in QML

2012-09-25 Thread Aleix Pol
On Tue, Sep 25, 2012 at 9:31 AM, Aaron J. Seigo ase...@kde.org wrote:
 On Tuesday, September 25, 2012 03:21:39 Aleix Pol wrote:
 git clone kde:scratch/apol/qmlwallpapers

 works very nicely; would be even nicer if mouse events were passed through,
 though, to allow some level of interaction, but given the mechanism that is
 needed to be used to make this work at the moment that may not be possible.
There's some wallpaper that has mouse events already, I think it's
mandelbrot or marble.. I can see if I can forward those events to the
scene... OTOH, it might be a bit messy to have the background moving
when you hover it.


 ... and this leads me to think about what to do with Wallpaper in libplasma2
 :)

 as for where to put this plugin, for now it should go into kdeplasma-addons
 with the other wallpaper plugins.
Yes, well I said kde-worspace because marco suggested it. I'm not
going to fight over it, so wherever you tell me ;).


 p.s. ascii animals are awesome :)
:D


 --
 Aaron J. Seigo
 ___
 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: Plasma Wallpapers in QML

2012-09-25 Thread Sebastian Kügler
On Tuesday, September 25, 2012 10:24:04 Aleix Pol wrote:
 On Tue, Sep 25, 2012 at 9:31 AM, Aaron J. Seigo ase...@kde.org wrote:
  On Tuesday, September 25, 2012 03:21:39 Aleix Pol wrote:
  git clone kde:scratch/apol/qmlwallpapers
  
  works very nicely; would be even nicer if mouse events were passed
  through,
  though, to allow some level of interaction, but given the mechanism that
  is
  needed to be used to make this work at the moment that may not be
  possible.
 
 There's some wallpaper that has mouse events already, I think it's
 mandelbrot or marble.. I can see if I can forward those events to the
 scene... OTOH, it might be a bit messy to have the background moving
 when you hover it.

We have a MouseEventListener in QtExtras, that, as opposed to MouseArea, 
doesn't eat the events, but listens in, they're still received by underlying 
items. Maybe that's what you're looking for?
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-25 Thread Aleix Pol
On Tue, Sep 25, 2012 at 1:49 PM, Marco Martin notm...@gmail.com wrote:
 On Tue, Sep 25, 2012 at 10:24 AM, Aleix Pol aleix...@kde.org wrote:
 There's some wallpaper that has mouse events already, I think it's
 mandelbrot or marble.. I can see if I can forward those events to the
 scene... OTOH, it might be a bit messy to have the background moving
 when you hover it.

 is not super pretty but yes, a wallpaper plugin receives mouse events,
 so you can from there manually send them over the scene where you
 render the wallpaper image with qml, and it should just work.

 in plasma2 it would just be items positioned under the items in the
 containment, so if nobody in the containment eats them, they will end
 up to the wallpaper items.


 ... and this leads me to think about what to do with Wallpaper in libplasma2
 :)

 as for where to put this plugin, for now it should go into kdeplasma-addons
 with the other wallpaper plugins.
 Yes, well I said kde-worspace because marco suggested it. I'm not
 going to fight over it, so wherever you tell me ;).

 yeah, i didn't think about the extra ones in addons, this can go there for 
 now.
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

Ok, it's in kdeplasma-addons now! :)

I'll blog about it later today or so.

Cheers!
Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-25 Thread Reza Shah
Hi

I tried converting current color wallpaper to qml (painting is hybrid,
some background type still painted in c++).
I put in kde:scratch/rshah/colorwallpaperqml

Regards,
Reza
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-24 Thread Aleix Pol
On Mon, Sep 17, 2012 at 6:54 PM, Aleix Pol aleix...@kde.org wrote:
 On Mon, Sep 17, 2012 at 4:55 PM, Aleix Pol aleix...@kde.org wrote:
 On Fri, Sep 14, 2012 at 6:19 PM, Marco Martin notm...@gmail.com wrote:
 On Thursday 13 September 2012, Aleix Pol wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.

 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)

 If anybody wants to try it you can fetch it from:
 kde:scratch/apol/qmlwallpapers

 Thoughts?

 i subscribe to the cool first tought ;)

 it would be of course something completely unrelated with the current
 Wallpaper plugin, since it's oriented to rendering of images, but the two 
 are
 complimentary (not sure if allowing both at the same time to run... maybe 
 not
 ;)
 Well I think there's been too much of a the other wallpaper syndrome
 there. It's a bit weird that Plasma::Wallpaper has some API that will
 only be ever used by the images wallpaper, while there are a bunch of
 them more as in: color, virus, weather, mandelbrot, etc.

 For plasma2 I guess it could make sense to make it possible to
 implement them all in terms of QML since now it's very much tied to
 QPainter and it will be a bit weird to port.

 as a simple exapmple to load a Package that is not a plasmoid, you can look 
 at
 plasma-mobile repo,
 applications/common/kdeclarativeview.cpp
 I'll look into this and see what I can get.


 as type of package, i would try to either reuse the wallpaper type, or
 adding a qml-wallpaper one, so it gets its own install directory prefix, 
 and
 optional own filesystem structure

 if it uses the wallpaper type, nothing in the existing configuration have to
 be touched, as a bonus.
 yes, that's the plan :)

 We might want to make the plugin configurable, I'll see what I can do
 in this regard...


 Cheers,
 Marco Martin
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

 Ok, discussing about it in #plasma was helpful :).

 I've ported it to use plasma packages, it's using the Plasma/Generic
 type so we might want to restrict a bit the type there, but I'm unsure
 about how this works.

 In any case, I'll try to get it to list wallpapers before Randa for
 discussing the inclusion of it.

 Cheers!
 Aleix

Hi!
I've fixed some issues we found today in here (Randa), and now I think
we can consider to put it in kde-workspace so it can be polished for
4.10.

Also it would be interesting if somebody with taste and a good sense
of beauty took a chance with it, so that it can be showcased without
burning your retina.

Good night!
Aleix

PD: if you want to try it: git clone kde:scratch/apol/qmlwallpapers
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-17 Thread Aleix Pol
On Fri, Sep 14, 2012 at 6:19 PM, Marco Martin notm...@gmail.com wrote:
 On Thursday 13 September 2012, Aleix Pol wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.

 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)

 If anybody wants to try it you can fetch it from:
 kde:scratch/apol/qmlwallpapers

 Thoughts?

 i subscribe to the cool first tought ;)

 it would be of course something completely unrelated with the current
 Wallpaper plugin, since it's oriented to rendering of images, but the two are
 complimentary (not sure if allowing both at the same time to run... maybe not
 ;)
Well I think there's been too much of a the other wallpaper syndrome
there. It's a bit weird that Plasma::Wallpaper has some API that will
only be ever used by the images wallpaper, while there are a bunch of
them more as in: color, virus, weather, mandelbrot, etc.

For plasma2 I guess it could make sense to make it possible to
implement them all in terms of QML since now it's very much tied to
QPainter and it will be a bit weird to port.

 as a simple exapmple to load a Package that is not a plasmoid, you can look at
 plasma-mobile repo,
 applications/common/kdeclarativeview.cpp
I'll look into this and see what I can get.


 as type of package, i would try to either reuse the wallpaper type, or
 adding a qml-wallpaper one, so it gets its own install directory prefix, and
 optional own filesystem structure

 if it uses the wallpaper type, nothing in the existing configuration have to
 be touched, as a bonus.
yes, that's the plan :)

We might want to make the plugin configurable, I'll see what I can do
in this regard...


 Cheers,
 Marco Martin
 ___
 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: Plasma Wallpapers in QML

2012-09-17 Thread Aleix Pol
On Mon, Sep 17, 2012 at 4:55 PM, Aleix Pol aleix...@kde.org wrote:
 On Fri, Sep 14, 2012 at 6:19 PM, Marco Martin notm...@gmail.com wrote:
 On Thursday 13 September 2012, Aleix Pol wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.

 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)

 If anybody wants to try it you can fetch it from:
 kde:scratch/apol/qmlwallpapers

 Thoughts?

 i subscribe to the cool first tought ;)

 it would be of course something completely unrelated with the current
 Wallpaper plugin, since it's oriented to rendering of images, but the two are
 complimentary (not sure if allowing both at the same time to run... maybe not
 ;)
 Well I think there's been too much of a the other wallpaper syndrome
 there. It's a bit weird that Plasma::Wallpaper has some API that will
 only be ever used by the images wallpaper, while there are a bunch of
 them more as in: color, virus, weather, mandelbrot, etc.

 For plasma2 I guess it could make sense to make it possible to
 implement them all in terms of QML since now it's very much tied to
 QPainter and it will be a bit weird to port.

 as a simple exapmple to load a Package that is not a plasmoid, you can look 
 at
 plasma-mobile repo,
 applications/common/kdeclarativeview.cpp
 I'll look into this and see what I can get.


 as type of package, i would try to either reuse the wallpaper type, or
 adding a qml-wallpaper one, so it gets its own install directory prefix, 
 and
 optional own filesystem structure

 if it uses the wallpaper type, nothing in the existing configuration have to
 be touched, as a bonus.
 yes, that's the plan :)

 We might want to make the plugin configurable, I'll see what I can do
 in this regard...


 Cheers,
 Marco Martin
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

Ok, discussing about it in #plasma was helpful :).

I've ported it to use plasma packages, it's using the Plasma/Generic
type so we might want to restrict a bit the type there, but I'm unsure
about how this works.

In any case, I'll try to get it to list wallpapers before Randa for
discussing the inclusion of it.

Cheers!
Aleix
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-14 Thread Sebastian Kügler
On Thursday, September 13, 2012 18:25:58 Aleix Pol wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.
 
 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)
 
 If anybody wants to try it you can fetch it from:
 kde:scratch/apol/qmlwallpapers
 
 Thoughts?

First thoughts: Cool. :)

Architecturally, it should be pretty much the same as a Plasmoid, so a package 
with QML (and possibly other) files in it, which points to the location of the 
start QML file in its desktop file. An arg-based approach seems alien in this 
situation.

Cheers,
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-14 Thread Aleix Pol
On Fri, Sep 14, 2012 at 5:27 PM, Sebastian Kügler se...@kde.org wrote:
 On Thursday, September 13, 2012 18:25:58 Aleix Pol wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.

 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)

 If anybody wants to try it you can fetch it from:
 kde:scratch/apol/qmlwallpapers

 Thoughts?

 First thoughts: Cool. :)

 Architecturally, it should be pretty much the same as a Plasmoid, so a package
 with QML (and possibly other) files in it, which points to the location of the
 start QML file in its desktop file. An arg-based approach seems alien in this
 situation.

 Cheers,
 --
 sebas

 http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
 ___
 Plasma-devel mailing list
 Plasma-devel@kde.org
 https://mail.kde.org/mailman/listinfo/plasma-devel

Nice :P I thought nobody was interested.

Can you point me to how do those plasmoids work so that I can get inspired?

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


Re: Plasma Wallpapers in QML

2012-09-14 Thread Marco Martin
On Thursday 13 September 2012, Aleix Pol wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.
 
 What I did was to create a very very simple plugin (~40 sloc) that
 lets you easily specify a wallpaper given a QML url. Now it's
 hardcoded, and we should find a way to pass it (maybe through the
 QVariantList args?) so that a wallpaper is just the desktop file, or
 maybe something completely different. :)
 
 If anybody wants to try it you can fetch it from:
 kde:scratch/apol/qmlwallpapers
 
 Thoughts?

i subscribe to the cool first tought ;)

it would be of course something completely unrelated with the current 
Wallpaper plugin, since it's oriented to rendering of images, but the two are 
complimentary (not sure if allowing both at the same time to run... maybe not 
;)

as a simple exapmple to load a Package that is not a plasmoid, you can look at 
plasma-mobile repo,
applications/common/kdeclarativeview.cpp

as type of package, i would try to either reuse the wallpaper type, or 
adding a qml-wallpaper one, so it gets its own install directory prefix, and 
optional own filesystem structure

if it uses the wallpaper type, nothing in the existing configuration have to 
be touched, as a bonus

Cheers,
Marco Martin
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Wallpapers in QML

2012-09-13 Thread Aleix Pol
On Thu, Sep 13, 2012 at 7:21 PM, Aleix Pol aleix...@kde.org wrote:
 Hi,
 So I was tired of KPeople for today and I've decided to play a bit
 with wallpapers.

 What I did was to create a very very simple plugin that lets you
 easily specify a wallpaper given a QML url. Now it's hardcoded but we
 could just find a way to pass it (maybe through the QVariantList
 args?) so that a wallpaper is just the desktop file.

 If anybody wants to try it you can fetch it from: 
 kde:scratch/apol/qmlwallpapers

 Aleix

sorry about this second e-mail, shouldn't have been sent -.-
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel