CV states

Leo Franchi lfranchi at kde.org
Sat Aug 23 01:19:13 CEST 2008


hey all,

right now, the contextview is completely stateless. that is, when you  
start or stop playing a track, etc, applets do not change. applets do  
get notification of the track change (like the current track applet),  
but they remain there there as they were before.

some of you may remember that back when i first implemented the CV,  
there were different "states", e.g. playing, home, etc. so if you  
added an applet to the home state, say, last.fm events, and you  
started playing a track, it would disappear (and come back when you  
pressed stop).

personally, i prefer the state-ful technique, as i think it allows the  
user to see the most relevant information at any given time---say the  
user likes the lyrics of currently playing songs, but wants to use the  
same space in more useful ways when a song is not playing---currently,  
he would have to put the applets on different containments and zoom or  
switch between them. this of course requires more mouse clicks.

what do you guys think (i'm willing to convert the CV to be stateful,  
and it shouldn't take more than a day)? we need to get this sorted out  
Real Soon Now...

leo

---
Leo Franchi				(650) 704 3680
Tufts University 2010

lfranchi at kde.org
leonardo.franchi at tufts.edu



More information about the Amarok-devel mailing list