ereslibre ([info]ereslibre) wrote,
@ 2007-01-05 14:41:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Actions support: almost finished
I'm very glad to announce I've almost finished (faster than I expected) the actions support on the kio_uiserver.

Right now, slots are not really called when buttons are clicked, but I hope that will be easy. I have to leave right now ;)

The given screenshot was taken with some added code to Kopete. This is the change for having it working in Kopete (for example):

Index: kopete/kopete/kopeteapplication.cpp
===================================================================
--- kopete/kopete/kopeteapplication.cpp (revisión: 619499)
+++ kopete/kopete/kopeteapplication.cpp (copia de trabajo)
@@ -50,10 +50,16 @@
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
-
+#include <kio/observer.h>
 KopeteApplication::KopeteApplication()
 : KUniqueApplication( true, true )
 {
+    int newJob = Observer::self()->newJob();
+    Observer::self()->slotInfoMessage(newJob, "Receiving file");
+    Observer::self()->slotPercent(newJob, 75);
+    Observer::self()->addAction(newJob, "Cancel transfer", this, SLOT(quitKopete()));
+    Observer::self()->addAction(newJob, "Pause transfer", this, SLOT(quitKopete()));
+
        m_isShuttingDown = false;
        m_mainWindow = new KopeteWindow( 0, "mainWindow" );



(Post a new comment)

Fantastic !
(Anonymous)
2007-01-05 02:57 pm UTC (link)
This can be seen as a simple thing, but it will be one of the most cool thing (c) of KDE 4.
Thank you !

(Reply to this)

suggestions
(Anonymous)
2007-01-05 03:54 pm UTC (link)
This is *so* cool, thanks a lot for that! It even looks great already.

Some thoughts that come to my mind:
I hope you can pause a job, reboot and continue it later (session management?)
The icon should go to the system tray instead of the taskbar, I think.
The word "transfer" on the buttons seems superflous.
When copying a lot of files, is it possible to FIRST ask for confirmations for all to-be-copied files (do you really want to overwrite etc.) and THEN start copying? THat way, I can leave the computer and be sure its done when I come back!

(Reply to this)

Great stuff
(Anonymous)
2007-01-05 09:14 pm UTC (link)
i agree with comment #1, this is going to be one of my favourite new features too. also thanks for including a screen-shot as well. keep up the good work as it's greatly appreciated :)

- david

(Reply to this)


(Anonymous)
2007-01-05 09:16 pm UTC (link)
I like it a lot, but I think the API would be a bit nicer if you renamed slotInfoMessage() to setInfoMessage() and slotPercent() to setProgress().
IMHO, methods named slot* should be reserved for private use inside a class.

Aurélien

(Reply to this)

Only one word: huge
(Anonymous)
2007-01-06 01:27 pm UTC (link)
This is the best thing with oxygen icons that I have been able to see in new kde.
Thanks.

06labs

(Reply to this)

Thank you all
[info]ereslibre
2007-01-07 10:14 pm UTC (link)
Thanks for all your feedback. It is a pleasure to code and see people like it.

(Reply to this)

Where shoud I write?
(Anonymous)
2007-01-07 10:24 pm UTC (link)
Looks very nice indeed.
I have really missed this in KDE, and will be very happy to see this in KDE4.

However, there are some I have some questions and improvements I would like to see; where should I write?
Thanks in advance.

(Reply to this) (Thread)

Re: Where shoud I write?
[info]ereslibre
2007-01-07 10:55 pm UTC (link)
You can always write your thoughts an ideas here, or if you prefer you can join the mailing lists http://www.kde.org/mailinglists/ for writing your ideas.

Thank you.

(Reply to this) (Parent)(Thread)

Re: Where shoud I write?
(Anonymous)
2007-01-08 12:05 am UTC (link)
Thank you for your quick answer. Here we go:

First, here is a question:
- This “KDE Task Manager” window, is it going to contain transfers etc. from a specific applications, or from all applications?
Example: If I am receiving a file in Kopete while I copy a file in Konqueror, will both transfers be shown in the same window or two separate windows?

The answer seems to be ‘yes’, otherwise I don’t see the point with “Kopete” text to the left and large Kopete icon to the right.

Now, here are some suggestions. Please note that I’m not even close to a usability expert (which you’ll notice), I’m just a normal user who wants to help to improve KDE.

Right now we can’t see much information about the file. I would like to see:
- File name and an icon to the left. (mime type)
- Maybe things like download speed, ‘downloaded size’ of ‘actual size’ and ETA.

This will of course make the window much more cluttered. Right now I would
- Do something about the large Kopete icon. If the answer to my question above is ‘yes’, I think there are other (better?) ways to separate the different tasks from the different applications.
Maybe I can do a mockup.

- As somebody already mentioned, just name the buttons “Cancel” and “Pause”.
Does people often pause transfers? If not, maybe the pause button can be removed. The new way to pause a transfer is following: right click (a menu shows up) and choose pause (among other options).

- Maybe move the cancel button to where the Kopete icon is right now. To make place for the new information.

Yeah, these “improvements” make it look even more like Firefox’ “Downloads”. Don’t know if it’s a good or bad thing?

It would be nice if you could minimize this window to system tray. Even better if it were good integrated with Plasma.

That’s it. I apologize for my bad English, hope you understood everything. I look forward to see what you (and other persons) think, and once again, thank you.

(Reply to this) (Parent)(Thread)

Re: Where shoud I write?
(Anonymous)
2007-01-08 01:16 pm UTC (link)
Hi,

- This “KDE Task Manager” window, is it going to contain transfers etc. from a specific applications, or from all applications?
Example: If I am receiving a file in Kopete while I copy a file in Konqueror, will both transfers be shown in the same window or two separate windows?

Yes, all tasks (jobs) will be listed in the same window. I have planned to separate finished and currently running jobs to different views, but yes, all jobs are merged.


Right now we can’t see much information about the file. I would like to see:
- File name and an icon to the left. (mime type)
- Maybe things like download speed, ‘downloaded size’ of ‘actual size’ and ETA.

That will depend if the job sets it. This is just an example, it is a waste of space showing a progress bar if no progress was set, as it is a waste of space showing the ETA or size if no size was set while the job was in progress.


- Do something about the large Kopete icon. If the answer to my question above is ‘yes’, I think there are other (better?) ways to separate the different tasks from the different applications.
Maybe I can do a mockup.

I don't know what you mean at this point.


- As somebody already mentioned, just name the buttons “Cancel” and “Pause”.
Does people often pause transfers? If not, maybe the pause button can be removed. The new way to pause a transfer is following: right click (a menu shows up) and choose pause (among other options).

I think one click is better than two, anyway this needs some testing. If actions are not very used I can do what you suggest. Anyway as before, actions depends on how many the app want to add and for what purposes.


- Maybe move the cancel button to where the Kopete icon is right now. To make place for the new information.

Mmm... I think is ugly if a button (or something similar, as a progress bar) hides the picture of the app icon.


It would be nice if you could minimize this window to system tray. Even better if it were good integrated with Plasma.

It is, but the problem is that the System Tray on KDE4 does not work as expected (is a pity). We plan to move this app to plasma on the future.

Bye and thanks !!

(Reply to this) (Parent)(Thread)

Re: Where shoud I write?
[info]ereslibre
2007-01-08 01:17 pm UTC (link)
BTW, I'm Rafael Fernández López (ereslibre).

Thx again !!

(Reply to this) (Parent)

Re: Where shoud I write?
(Anonymous)
2007-01-08 02:22 pm UTC (link)
>> I don't know what you mean at this point.

I made (as promised) some mockups:

1. Showing the current way, and how the Kopete icon is "space wasting":

Image (http://img246.imageshack.us/my.php?image=img1og5.png)

2. New way of separating tasks (depending on application), and some other improvements I wrote about in the first post (Kopete = old way, Konqueror = new)

Image (http://img175.imageshack.us/my.php?image=img2jl7.png)

It looks strange right now, but I think that's because of my lack of artist skills.
The small triangles show that you can show/hide the jobs.

3. Another way of separating tasks

Image (http://img175.imageshack.us/my.php?image=img3in9.png)

Don't know really about this one. Maybe hide the "tool bar" (or whatever you can call it) if there is only one job, or only jobs from one application? Also, should the jobs under "Overview" be separated?

A "Clean up" button (remove finished/canceled jobs) would be very nice.
Have a nice day.

(Reply to this) (Parent)(Thread)

Re: Where shoud I write?
(Anonymous)
2007-01-08 02:27 pm UTC (link)
Hrm, the links to the pictures didn't work as expected. Check the URLs, the Images only link to the thumbnails.

/Hans Chen

(Reply to this) (Parent)(Thread)

Re: Where shoud I write?
[info]ereslibre
2007-01-08 06:25 pm UTC (link)
First of all, you're pretty good with mockups.

Second, thank you. I am going to implement one of this improvements when I finalize the actions support, I really think you're right and probably I will implement two solutions with the possibility to select which one the user would like to have running.

As I said, thank you.

(Reply to this) (Parent)(Thread)

Re: Where shoud I write?
(Anonymous)
2007-01-08 07:13 pm UTC (link)
Wow, that's great. And it should be me who thank you, and sorry for all the extra work I've put on work shoulders, haha.

I am still amazed how much an user who can't code and speak poor English can affect KDE this much. I'm really glad too help, and look forward to see this in KDE4.

/HC

(Reply to this) (Parent)

Re: Where shoud I write?
(Anonymous)
2007-01-24 09:40 am UTC (link)
Hi,

I really like this idea and while I read the postings I had another one. May be the progress bars for one app can be combined in one bigger tab, so only one icon for one app but a lot of transfers. Thinking about this the information of the transfer can be reduced to the most important thing, e.g. the file name. But selecting this transfer shows the buttons and a lot more information. (It is a little bit like the software dialog in windows)

Looking forward to see this idea evolves
mikee

(Reply to this) (Parent)

how do you think movie good?
(Anonymous)
2007-06-02 02:46 pm UTC (link)
Tramadol is a Pain killer abused by many, Huraaa for being a pharmacy student.an effective pain reliever (analgesic). Its mode of action resembles that of narcotics, but it has significantly less potential for abuse and addiction than the narcotics.


http://tramadolcom.info





















Tramadol is a Pain killer abused by many, Huraaa for being a pharmacy student.

(Reply to this)

let the debate zdelaem How do you think movie good?
(Anonymous)
2007-06-04 08:52 pm UTC (link)
Tramadol is a Pain killer abused by many, Huraaa for being a pharmacy student.an effective pain reliever (analgesic). Its mode of action resembles that of narcotics, but it has significantly less potential for abuse and addiction than the narcotics.


http://tramadolcom.info





















Tramadol is a Pain killer abused by many, Huraaa for being a pharmacy student.

(Reply to this)

snort
(Anonymous)
2008-03-04 11:47 pm UTC (link)
Clinical class of the antidepressant Phentermine with sections on its pharmacology, side effects, and precautions. http://buyphenteermine.forum5.com/index.php - Phentermine smirk

(Reply to this)

pharmacy
(Anonymous)
2008-03-16 07:33 pm UTC (link)
pills > http://medixin.tripod.com/phentermine
online pharmacy

(Reply to this)

whPOkVrFrPd
(Anonymous)
2008-05-10 12:45 am UTC (link)
ivSy9A sd9fj41dkg0ckahr82y4

(Reply to this)

kKbTMjgwjQnUCAHDPO
(Anonymous)
2008-06-04 02:13 pm UTC (link)
omPFsz sd95vbm24r7mvu4091rvbqp

(Reply to this)

HAKHIoryWuwArzG
(Anonymous)
2008-06-09 05:43 pm UTC (link)
great work great site thanks http://groups.google.us/group/linkmaps bye see you

(Reply to this)

CkwDGFNLNYcPsVYM
(Anonymous)
2008-06-14 07:31 pm UTC (link)
I love this site http://google.us/group/llteens teen girl web cam 08411

(Reply to this)

WFeLjTwsyepokhymr
(Anonymous)
2008-06-23 09:25 am UTC (link)
FY8hbD dfv078fnw8f934ndvkg2l

(Reply to this)

BtFHRbUSgAHoGdAsmKQ
(Anonymous)
2008-06-27 07:43 pm UTC (link)
jgDs5j fv9db5dgbn3207vybfv5

(Reply to this)

SSfJtdFmPbStlMXKPbz
(Anonymous)
2008-07-01 11:36 pm UTC (link)
perfect design thanks heathrow cheapest hong qpyx

(Reply to this)

hpnYvHqeOWANrDhRHZ
(Anonymous)
2008-07-02 02:56 am UTC (link)
Best Site Good Work florida hotel and flights cheap air and hotel tickets 65037

(Reply to this)

QQdZfIeoXst
(Anonymous)
2008-07-02 04:22 am UTC (link)
Jonny was here iowa and dogs cheap hotels in oklahoma city =))

(Reply to this)

yAAokQczPkDghBQgJh
(Anonymous)
2008-07-02 08:34 am UTC (link)
Cool site goodluck :) sf cheap condos or hotels in san diego yiwa

(Reply to this)

evDvUTcwTMevxu
(Anonymous)
2008-07-02 09:42 am UTC (link)
this post is fantastic hotels near olimpico stadium in rome cheap vancouver bc hotel %-D

(Reply to this)

yLmGVFwSenBepepk
(Anonymous)
2008-07-02 04:53 pm UTC (link)
this is be cool 8) connected rooms best cheap hotels in san francisco %-)))

(Reply to this)

HPSlPcjhRxnBxeczmEX
(Anonymous)
2008-07-09 02:46 pm UTC (link)
4Lc4KO preved krosav4eg

(Reply to this)

aBMppzsdQpjAWDS
(Anonymous)
2008-07-18 07:08 am UTC (link)
Cool site, http://sites.google.com/site/analcreampiemovies1/anatomy-of-anal-intercourse anal orgasim for men, 6697,

(Reply to this)

vPODmRAKEglCqDj
(Anonymous)
2008-07-28 08:27 am UTC (link)
CAcMSj hi! hice site!

(Reply to this)

ozKPABtnIyoGteUTAWc
(Anonymous)
2008-08-02 01:23 pm UTC (link)
c9dg0Q vrotmnenogi http://vrotemwnewnogi.gmail.com

(Reply to this)

HSsxfvWeVQ
(Anonymous)
2008-09-07 01:52 am UTC (link)
Z8ra5e spam_15.txt;5;10

(Reply to this)

CQIyPbzISv
(Anonymous)
2008-09-07 02:50 am UTC (link)
U8rmja spam_31.txt;5;10

(Reply to this)

IXXmlYiItUyEhjhn
(Anonymous)
2008-09-10 06:06 am UTC (link)
Very interesting tale

(Reply to this)

fXIXGVrIuXpoLmaWJiG
(Anonymous)
2008-09-12 11:09 am UTC (link)
Palin Links Iraq & 9/11 | McCain: Link Is 'Naive' voices.washingtonpost.com/the-trail/2008/09/11/palin_endorses_idea_mccain_cal.html

(Reply to this)

wuMzzJbncTnDyBz
(Anonymous)
2008-09-27 01:17 pm UTC (link)
This site is crazy :)

(Reply to this)

UQZNHwpoOPy
(Anonymous)
2008-11-21 04:25 am UTC (link)
comment2,

(Reply to this)

XedopYGAprApg
(Anonymous)
2009-02-04 08:38 am UTC (link)
out.txt;3;3

(Reply to this)

Help for downloading for free
(Anonymous)
2009-05-01 03:23 am UTC (link)
Hi, my friends... I want to get program XRUMER 5.07 Palladium free. Have you any download link???
I'm so need this magic program! It's can break captchas automatically! Activate accounts via email automatically too! Absolutely great software! Help me!
And did you hear news - price for XRumer 5.0 Palladium will grow up to $540 after 15 may 2009... And XRumer 2.9 and 3.0 - too old versions, it's cant break modern catpchas and cant break modern anti-bot protections. But XRumer 5.0 Palladium CAN!!!!
So help me for download this great soft for free! Thanks!

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…