Tasks Docklet Development

Hi everyone,

I have here with me a simple version of the Tasks docklet for your disposal to expirement with.

Here is a screenshot:

tasks.png

v0.1-beta

-------------

> Currently shows a snapshot of the active window with its icon

> Left Click: Lists all active windows

-- a selection will change the active window to the selected one

Currently this version of the docklet is slow (its smooth on my machine, but slow on the laptop) b/c it keeps taking snapshots of the active window. The newer versions are faster is it takes snapshots when it is necessary.

Go here: http://www.yzdocklets.com.

I would also like to keep this thread for future versions so I can keep track of bugs/suggestions in one place... I hope thats ok with everyone.

Enjoy...

#36965

Wow this is looking great!!

is there a way to make it so tasks arent shown just under 1 icon? but an icon for each task?

-bolero

#36969

How about the docklet displaying an snapshot of the desktop for when there are no apps running, instead of a blank icon?

#36972

@bolero: I wish I could. But Yz Dock won't let a docklet take control of itself and add extra docklets or even icons.

@oc-athlonxp.com: I tested it on my computer and it actually shows me the desktop.

#36975

:( Left click menu and switching works fine. But I get no image at all on the dock. Just a blank space.

This will be brilliant. Thanks again.

#36992

Hi Albeik, by me the taskdocklet wont run! What i do wrong? Screenie:

screenshot-4274.jpg

On your screenie it looks fantasic! the dreams of many people are now true!!! (Y) No, no, no ------ they want run :-(

---- ok, the leftclick run, it schows current tasks, BUT no images. Theres no images form running tasks!!!!

plz help

#36996

Showing icon but no screenie

#37009

No icon or icon label showing (neither default or active window)...left click works to show list of active tasks and I can select one.

When I close and restart Yzdock, the docklet is removed and I have to add it back every time.

It's getting there...but has a ways to go...

Thanks for the time you're putting into it...

#37037

Just thought I would post a bug I found with the tasks Docklet. My first post (Y)

Everytime I try to load the dock I get a debug error....

tasks_bug.jpg

then Y'z Dock crashes.

keep up the good work.

#37038

Problems that I see:

(1) no snapshot is shown

(2) debug error @Agent Smith: Can you post the error for me? The attached picture doesn't seem to be working

(3) docklet is removed after a Y'z Dock restart

For (1) snapshots can only be taken when the window is in a restored or maximized state. I can't take snapshots of windows that are minimized. Maybe thats why Objectdock will replace the snapshot with the a bigger icon when the window is minimized. I am not sure about Mobydock though... have to check it when I get home.

For (2) is the docklet in this path: \docklets\Tasks\tasks.dll?

I cannot see the attached image. Can you repost it or send it to me by email albeik@yzdocklets.com? Thanks

For (3) I am not sure why this is.. I'll investigate this further.

Thanks everyone for your kind comments.

#37059

Just an update on my situation. Nothing is showing, no matter what state the windows are in. Maximised makes no difference. I'm also getting the same "debug" problem now, although I wasn't when I first loaded the docklet. Now the dock crashes after I have got rid of the debug messages.

#37061

Can you tell me what the debug message is?

#37062

Originally posted by albeik@Jul 1 2003, 04:41 PM

(3) docklet is removed after a Y'z Dock restart

...

For (3) I am not sure why this is.. I'll investigate this further.

I can help on this. If your itemlist.ini is set as hidden or read-only. Try turning one of both of these off ( quit YzDock first ) then re-start YzDock. Try adding the docklet again, then quit and re-start YzDock again, and see if it's still there. If it's not, then I have no idea what the problem could be :blink:

#37069

I got the debug message too, but that only happened when there are no tasks going on.

Agent Smith probably only had Yzdock running when the tasks docklet was running, so when the add docklet dialog disappeared, there was nothing the tasks docklet could detect running. I solved teh problem by first running another application and then adding the docklet, so that when the add docklet dialog disappeared, there was something the tasks docklet could detect running.

By the way albeik the debug message I got was Titled Microsoft Visual C++ Debug Libray.

It said: Debug assertation failed!

Program C:\yzdock\yzdock.exe

File: i:\__haitham__\administrator\mydocuments\mydownloads\sw\os\gui\y'z\docklet-sdk\

tasks\enumwinmodules.cpp

line: 418

For more information on how your program can cause an assertation failure, see the Visual C++ documentation on asserts.

(press retry to debug the application)

then a few seconds later y'zdock is terminated

#37074

Thanks spoopy888! I'll check the srouce code when I get home. and I think you your explaination is correct... :)

I need to add a functionality to skip the process when no windows exist...

Thanks,

#37082

Mine works fine except that when a window is open, the dock gets REALLY slow

EDIT: It works fine with a smaller window such as trillian or a window reduced in size----

a maximized window slows mine down

#37115

Originally posted by Spoopy888@Jul 1 2003, 05:29 PM

I got the debug message too, but that only happened when there are no tasks going on. 

Agent Smith probably only had Yzdock running when the tasks docklet was running, so when the add docklet dialog disappeared, there was nothing the tasks docklet could detect running.  I solved teh problem by first running another application and then adding the docklet, so that when the add docklet dialog disappeared, there was something the tasks docklet could detect running. 

By the way albeik the debug message I got was Titled Microsoft Visual C++ Debug Libray.

It said: Debug assertation failed!

            Program C:\yzdock\yzdock.exe

            File: i:\__haitham__\administrator\mydocuments\mydownloads\sw\os\gui\y'z\docklet-sdk\

tasks\enumwinmodules.cpp

            line: 418

            For more information on how your program can cause an assertation failure, see the Visual C++ documentation on asserts.

            (press retry to debug the application)

then a few seconds later y'zdock is terminated

Thats the debug message that I got.

#37254

Originally posted by Agent Smith@Jul 2 2003, 06:11 AM

Thats the debug message that I got.

Yep, me too. Guess that path works for Albeik, but not for the rest of us. Is there a workaround for that? What's that enumwinmodules.cpp anyways - is it something that the docklet is supposed to display when there's no processes running in the background?

#37548

Ignore the error... I was able to fix it.. that cpp file is one of the files i use for the docklet. Its just telling me that an error occured in that file. (which is technichally in that dll file)

thanks guys

#38023

Hi guys,

I've been working on a prototype for a better interface for the Tasks docklet. It comes with a big and small version of the task switching window. Currently, snapshots of windows is disabled (needs alot of work).

Check out the prototypes here and tell me what you think?

Warning: Pictures are PNGs @ 1280x1024 ~604Kb

Prototype 1

Prototype 2

#38024

I like the second one because of the size. Both look cool though.

#38043

Yah... I am leaning towards #2 as well...

#38046

both look very good, perhaps releasing both would be cool.

#38047

The smaller looks better. Will right click context menu be available? (Ability to right click> close, min, max window would be great!)

#38062

I am not totally sure about the mechanics yet...

At this point... you can enable/disable thumbnail for the docklet itself and/or the task dock...

DOCKLET

------------

Left/Middle Click: Bring up the TaskDock showing running applications

Right Click: Invokes a menu popup with the active window's Restore/Max/Min...etc..options

TASKDOCK

--------------

Left Click: Will switch to that app

Right Click: Will switch to that app and invokes a menu popup similar to the docklet one

Middle Click: Formats ur computer... j/k... not sure what to do..

#38068