Re: playground plasmoid redux
On Thursday 02 October 2008 23:51:59 Aaron J. Seigo wrote: there are geometry problems; if i enable the disk watcher, it works rather nicely. however ... if i don't disable the disk stats module, and enable any other one the geometry isn't correct (you can see this because the background svg is wrong =) Cannot reproduce, might be because of the recent fixes. the individual components also have oddnesses, such as when you put the cpu monitor on the desktop by itself, the meter is all mashed up. these issues may be related =) I run cpu (and net) as individual applets on desktop and they look ok. How it is mashed up? Screenshot: http://kotisivu.lumonetti.fi/damu0/images/system-monitor.jpeg it also really doesn't work nicely in the panel ... All individual applets should now work on panels (Maybe not so beautiful as in desktop, but..). I'll look if PopupApplet is good for Main container next week. Applets use Highlight color for less visible text and lines. It's too dark in default theme for text. Is it meant to be used for text? Or should I darken the TextColor (or could there be another text color in theme?). Petri 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
slideshow: picture frame + desktop
Hello plasma developers, I am pleased to report how I am currently using the slideshow feature of the picture frame applet (also desktop background) to display updated graphical information. Here, I continuously monitor the traffic congestion in the Paris region, (such a MacOS dashboard widget exists) but one could use a similar scheme to monitor information from other sources including webcam images, etc. To do so, I run a shell script using cron that periodically updates images in a directory that is then asynchronously displayed on my plasma desktop. This solution may seem obvious; maybe a much more clever solution exits, or perhaps this may give further ideas for widget use... Alan crontab: MAILTO= */2 * * * * $HOME/sytadin/update shell script: #! /bin/sh # # Grab images from http://www.sytadin.fr/ # depends on: wget, imagemagick (convert) # cd $HOME/sytadin # protect against multiple instances if [[ -r pid -d /proc/`cat pid` ]]; then exit 0 fi echo $$ pid if [ ! -d merge ] ; then mkdir merge fi # zones of interest for i in Paris_BP Paris_A86 SO_N118_A86_A6_A106 IDF ; do # get (unchanging) background images, if missing if [ ! -r fond_$i.jpg ] ; then wget -q http://www.sytadin.fr/fonds/fond_$i.jpg fi # update (foreground) overlays wget -N -q http://www.sytadin.fr/raster/segment_$i.gif http://www.sytadin.fr/raster/arc_$i.gif # overlay traffic congestion maps if [ segment_$i.gif -nt merge/segment_$i.jpg ] ; then convert fond_$i.jpg segment_$i.gif -layers merge merge/segment_$i.jpg fi # overlay average speed maps if [ arc_$i.gif -nt merge/arc_$i.jpg ] ; then convert fond_$i.jpg arc_$i.gif -layers merge merge/arc_$i.jpg fi done ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
2008/10/3, Aaron J. Seigo [EMAIL PROTECTED]: hrm; not to my knowledge but i could be wrong. what's the crash you get? Attached is the backtrace. It occurs only on plasma startup i.e. if you select Mandelbrot it works fine for the duration of your session but on next login it crashes. I assume it's my own Mandelbrot's fault but I can't see why it crashes, except if waiting for a waiting thread is illegal. I don't want to make you lose time btw :) Cheers, Benoit plasma.kcrash Description: Binary data ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
Another possibility: is it illegal to wait for a QThread that was just constructed but not yet started? I.e. thread = new MyThreadClass(); wait(thread); OK, i don't distract this thread (no pun intended) more with offtopic questions. Cheers, Benoit 2008/10/3, Benoit Jacob [EMAIL PROTECTED]: 2008/10/3, Aaron J. Seigo [EMAIL PROTECTED]: hrm; not to my knowledge but i could be wrong. what's the crash you get? Attached is the backtrace. It occurs only on plasma startup i.e. if you select Mandelbrot it works fine for the duration of your session but on next login it crashes. I assume it's my own Mandelbrot's fault but I can't see why it crashes, except if waiting for a waiting thread is illegal. I don't want to make you lose time btw :) Cheers, Benoit ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
On Thursday 02 October 2008 22:08:41 Aaron J. Seigo wrote: here's my curent playground standings ... i'll start moving things into kdereview next week after things in kdereview that should be moved out are moved (doing so myself if necessary) == coming == * raptor * marble ah, no, not the lastest one :P -Riccardo P.S. if you didn't get the joke about marble, don't worry: e.V. irony ;-) -- GPG key: 3D0F6376 When encrypting, please encrypt also for this subkey: 9EBD7FE1 - Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平 Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch שלום Shanti Vrede Baris Rój Mír Taika Rongo Sulh Mir Py'guapy 평화 ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
Benoit Jacob wrote: Another possibility: is it illegal to wait for a QThread that was just constructed but not yet started? I.e. thread = new MyThreadClass(); wait(thread); wait(thread)? wait()'s parameter is an integer timeout... If you mean thread-wait(), the documentation says it returns true if the thread has not been started yet. ie, it doesn't wait at all. -- Jason Stubbs ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: calendar widget in kdereview
Ciao, Il Friday 03 October 2008 04:41:12 Aaron J. Seigo ha scritto: * Calendar needs to follow the API pattern for widgets[1] * the hover painting is wicked inneficient right now +OK * we need a glow radius hint for the hover painting; though perhaps in this case i wonder if we should be doing it with an svg or using the same style that we are for, e.g., buttons? I think that using a SVG is a good idea * year jumps? ability to in-line edit the year/month? I was trying to do something cool using a spinbox, but I need to do more hacking on it If I want to get a good result. * think about whether we actually want two separate classes, or if we should merge the two into one and have some methods to control whether or not the top navigation gets created/shown I'll maintain anyway a private class in that case, splitting the calendar in 2 classes make things simplier... also, what's that fancy spinbox thing referenced in the code? =) xD see the answer to year jumps? ability to in-line edit the year/month? monday I'll start to fix everything. :) Have a nice weekend. Bye, Davide Bettio. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
Yes sure that's what I mean :) OK, I forget about this documentation bit, thank you. Cheers, Benoit 2008/10/3, Jason Stubbs [EMAIL PROTECTED]: wait(thread)? wait()'s parameter is an integer timeout... If you mean thread-wait(), the documentation says it returns true if the thread has not been started yet. ie, it doesn't wait at all. -- Jason Stubbs ___ 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: playground plasmoid redux
On Friday 03 October 2008, Petri Damstén wrote: On Thursday 02 October 2008 23:51:59 Aaron J. Seigo wrote: there are geometry problems; if i enable the disk watcher, it works rather nicely. however ... if i don't disable the disk stats module, and enable any other one the geometry isn't correct (you can see this because the background svg is wrong =) Cannot reproduce, might be because of the recent fixes. the individual components also have oddnesses, such as when you put the cpu monitor on the desktop by itself, the meter is all mashed up. these issues may be related =) I run cpu (and net) as individual applets on desktop and they look ok. How it is mashed up? i get a similar problem with the following steps: open the container applet open two applet close one the other one becames way taller and every time i open and closean applet the remaining one grows a bit bigger Screenshot: http://kotisivu.lumonetti.fi/damu0/images/system-monitor.jpeg it also really doesn't work nicely in the panel ... All individual applets should now work on panels (Maybe not so beautiful as in desktop, but..). I'll look if PopupApplet is good for Main container next week. individual applets looks pretty good, i like how the layout gets modified. +1 for me about making the container one a popupapplet Applets use Highlight color for less visible text and lines. It's too dark in default theme for text. Is it meant to be used for text? Or should I darken the TextColor (or could there be another text color in theme?). maybe changing that color (but that should be for a background, hmm) or maybe mapping the foregroundNeutral role that is not used atm maybe calling it DisabledText? ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
On Thursday 02 October 2008 22:08:41 Aaron J. Seigo wrote: systray-refactor - needs the plasmoid protocol finished out, but generally there. (notifications?) kuiserver - should be added to the systemtray? Or maybe just keep as a seperate plasmoid which can of course be used through the systray's plasmoid protocal. Because as opposed to the notifications applet, the kuiserver applet really needs an icon to open/close the popup. Transfers often take a while, and you don't want to have the popup open all the time while a transfer of multiple hours is running, while you do want to open it sometimes to take a look at how for the transfer is. Regards, Rob ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: playground plasmoid redux
On Friday 03 October 2008 17:45:38 Rob Scheepmaker wrote: On Thursday 02 October 2008 22:08:41 Aaron J. Seigo wrote: systray-refactor - needs the plasmoid protocol finished out, but generally there. (notifications?) kuiserver - should be added to the systemtray? Or maybe just keep as a seperate plasmoid which can of course be used through the systray's plasmoid protocal. Because as opposed to the notifications applet, the kuiserver applet really needs an icon to open/close the popup. Transfers often take a while, and you don't want to have the popup open all the time while a transfer of multiple hours is running, while you do want to open it sometimes to take a look at how for the transfer is. It shouldn't be just an icon then, but supply progress information. Maybe adding miniprogressbars in it? -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 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: playground plasmoid redux
2008/10/2 Aaron J. Seigo [EMAIL PROTECTED] broken debugapplet - really cool idea; needs kdelibs patches commited, lots of problems in the applet itself Sorry about that. I don't have enough time to keep it working. And I think using dbus is not ideal. The idea behind it was that I could print debug messages while using the program being debugged without switching to console every time. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel