OK
Pages: 1 2 3 4
Rating:
10.51
Thread Listing » AWN Applets
[Work in progress] Mac stacks for AWN
#4644 by Timon (1.0000) posted on 5:23am Friday, July 27th, 2007



Now I made a screencast (xvidcap) of the "stack" applet I am working on last days:
http://bassfly.student.utwente.nl/~johndoe/awn_stack.mpg
[Q]



It's goal is to have a folder as backend to store files in. You can drag'n'drop files into the stack (which will be copied to the backend folder). From the stack you can launch files or drag'n'drop them to some application.
[Q]



TODO list:
-create a fancy stack icon (best case: consists of icons in the stack)
-monitor the backend folder
-support full drag'n'drop "out of the stack"
[Q]



Hope it will come that far to be really usefull.
[Q]



---
[Q]



Some credits go to apple :)
[Q]

Score: 2.80 points
Any particular reason?
#4647 by aVirulence (0.2663) posted on 5:40am Friday, July 27th, 2007
( no avatar )
OMGSTACKS!
[Q]



Nice work!
[Q]

Score: 0 points
Any particular reason?
#4648 by nicolas2b54 (0.9206) posted on 6:07am Friday, July 27th, 2007
( no avatar )
OMG, it's better than the best things I imaginate.
[Q]

--
Please, excuse the mistake I do in english.
I try to improve my level.
Score: 0 points
Any particular reason?
#4649 by b9anders (0.2350) posted on 6:13am Friday, July 27th, 2007
( no avatar )
I'm loving it. Can't wait (I am a little bit jealous of the reflection capability in leopard demonstrated there though).
[Q]

Score: 0 points
Any particular reason?
#4650 by needcoffee (0.3218) posted on 6:43am Friday, July 27th, 2007
Looks good!
[Q]

--
...cup is empty!
Score: 0 points
Any particular reason?
#4651 by StrangeQuark (0.3926) posted on 6:44am Friday, July 27th, 2007
Timon said:
TODO list:
-create a fancy stack icon (best case: consists of icons in the stack)
-monitor the backend folder
-support full drag'n'drop "out of the stack"
[Q]



Make sure the user can select a custom icon a stack by stack basis as well, though.
[Q]



But it's looking great so far! I'm really looking forward to use this!
[Q]

Score: 0 points
Any particular reason?
#4661 by groo028 (0.2385) posted on 8:32am Friday, July 27th, 2007
( no avatar )
looks great...
[Q]

Score: 0 points
Any particular reason?
#4665 by ryancr (1.0000) posted on 8:47am Friday, July 27th, 2007
Yeah looks good.
[Q]



One question though, when you say "which will be copied to the backend folder" are you actually making a physical copy of a file, or are you just making a symlink to the file and placing that in the backend folder? It would seem odd to make a duplicate of the files thats all but it is quite possible I may have no idea what I am talk about ;)
[Q]

Score: 0 points
Any particular reason?
#4666 by Decline (0.9207) posted on 8:47am Friday, July 27th, 2007
Neat! Although the animations need some more work, but the primary goal should be the functionality.
[Q]

Score: 0 points
Any particular reason?
#4671 by 13bpower (0.4860) posted on 9:29am Friday, July 27th, 2007
Maybe this should be the default behavior for any folder in the dock?
[Q]

Score: 1.14 points
Any particular reason?
#4672 by njpatel83 (1.0000) posted on 10:00am Friday, July 27th, 2007
Haha, excellent! Bones & I are going to add the 'popup' window into libawn soon, which has all the tracking stuff within it, so that should make you life slightly easier!
[Q]



Seriously though, wow!
[Q]



--Nei
[Q]

Score: 0 points
Any particular reason?
#4678 by Ago (0.3066) posted on 10:31am Friday, July 27th, 2007
l
[Q]




It looks cool!
[Q]



Way more usefull than the Mac Stack! (which looks all but usefull IMHO)
[Q]

Score: 0 points
Any particular reason?
#4682 by rgdg (0.6549) posted on 11:14am Friday, July 27th, 2007
( no avatar )
Way cool Timon!
[Q]




13bpower said:
Maybe this should be the default behavior for any folder in the dock?
[Q]



I would like that too!
[Q]

Score: 0 points
Any particular reason?
#4696 by DBO (0.6209) posted on 12:52pm Friday, July 27th, 2007
kinda would suck for very large folders though...
[Q]

Score: 0 points
Any particular reason?
#4701 by searayman (1.0000) posted on 1:33pm Friday, July 27th, 2007
DBO said:
kinda would suck for very large folders though...
[Q]



lol. But maybe add a scroll bar....
[Q]
Score: 0 points
Any particular reason?
#4751 by pavpanchekha (1.0000) posted on 6:24pm Friday, July 27th, 2007
Damn nice. Wow! Can't wait! Can you make it so (or is it already so) that dragging a folder to AWN will make a stack like that?
[Q]

Score: 1.00 points
Any particular reason?
#4766 by Sewage (0.6605) posted on 8:02pm Friday, July 27th, 2007
This is very very awesome~ I love what you've shown so far and am really excited to see how it turns out. Very practical.
[Q]

Score: 0 points
Any particular reason?
#4771 by spacebetween (0.1873) posted on 9:30pm Friday, July 27th, 2007
( no avatar )
Timon said:
Now I made a screencast (xvidcap) of the "stack" applet I am working on last days:
http://bassfly.student.utwente.nl/~johndoe/awn_stack.mpg
[Q]



I can't get the video to play correctly. :-\
[Q]

Score: 0 points
Any particular reason?
#4772 by BonesAWN (0.9988) posted on 9:37pm Friday, July 27th, 2007
spacebetween said:
I can't get the video to play correctly. :-
[Q]



You must be on windows ;)
[Q]



It was encoded with ffmpeg as mpeg4, and windows doesn't support that out of the box. Something about the header that ffmpeg uses, FMP4. I was having the same problem with my movies that's why I know now ;) You have to go here and download ffdshow for windows play back.
[Q]




Score: 0 points
Any particular reason?
#4801 by 88BigC (0.1741) posted on 4:09am Saturday, July 28th, 2007
( no avatar )
in windows the video(and every other video;)) works perfectly with vlc without having to get any codecs and stuff like that..
[Q]

Score: 0 points
Any particular reason?
#4804 by b9anders (0.2350) posted on 4:39am Saturday, July 28th, 2007
( no avatar )
I couldn't get it to play properly in VLC on Debian, but works fine with Mplayer. That, btw, is the first video vlc has failed to play properly since I began using it.
[Q]



*Edited at 4:40am, 07/28/07
Score: 0 points
Any particular reason?
#4877 by delfick (0.5615) posted on 9:52pm Saturday, July 28th, 2007
very nice :D
[Q]

--
if you find my ideas weird, look at my avatar for the reason
Score: 0 points
Any particular reason?
#5184 by Timon (1.0000) posted on 1:16pm Tuesday, July 31st, 2007
Patience is a good thing! I heard nobody complaining ;)
[Q]



Finally here is the first release of the "stack" applet:
http://patch-manager.dskw.de/?id=49&do=patch
[Q]



What it does:
-monitor a folder for file changes (add/delete)
-drag&drop files onto the stack creates symlink in the backend folder
-drag&drop out of stack "copies" (like: dragging into apps does stuff)
-a lot can be configured via gconf-editor
[Q]



It still needs some work and there are a few ugly code-things.
You need at least svn version 243!
[Q]



Hope you enjoy this one, and maybe it will be shipped with awn?
[Q]



@Neil
I think this is one of the first "real" applets. It might gives an idea what things should be in AWN. If I have time I'll make a recommendation.
[Q]

Score: 0 points
Any particular reason?
#5185 by groo028 (0.2385) posted on 1:28pm Tuesday, July 31st, 2007
( no avatar )
found a bug..
it doesnt compile...
[Q]



stack-icon.c: In function 'stack_icon_drag_failed':
stack-icon.c:238: error: 'result' undeclared (first use in this function)
stack-icon.c:238: error: (Each undeclared identifier is reported only once
stack-icon.c:238: error: for each function it appears in.)
stack-icon.c:238: error: 'GTK_DRAG_RESULT_SUCCESS' undeclared (first use in this function)
[Q]



Score: 0 points
Any particular reason?
#5186 by Timon (1.0000) posted on 1:31pm Tuesday, July 31st, 2007
Something went wrong with the patch. I renewed the entry. Try again please :D
[Q]

Score: 0 points
Any particular reason?
#5187 by groo028 (0.2385) posted on 1:34pm Tuesday, July 31st, 2007
( no avatar )
oops
another error with the new patch
[Q]



patch: **** malformed patch at line 2569: Index: applets/stack/stack.desktop
[Q]

Score: 0 points
Any particular reason?
#5188 by dskw (1.0000) posted on 1:48pm Tuesday, July 31st, 2007
groo028 said:
patch: **** malformed patch at line 2569: Index: applets/stack/stack.desktop
[Q]



I can confirm that too.
[Q]
Score: 0 points
Any particular reason?
#5189 by ryancr (1.0000) posted on 1:49pm Tuesday, July 31st, 2007
Same error here too.
[Q]

Score: 0 points
Any particular reason?
#5190 by Timon (1.0000) posted on 1:54pm Tuesday, July 31st, 2007
Again renewed the patch. I manually edited the patch to remove the glitch from before, and forgot to edit the "buildin check". Because I removed 2 lines, it got malformed.
[Q]

Score: 0 points
Any particular reason?
#5191 by dskw (1.0000) posted on 1:59pm Tuesday, July 31st, 2007
patching works but compiling won't:
[Q]



stack-icon.c:36: error: expected declaration specifiers or '...' before 'GtkDragResult'
stack-icon.c:235: error: expected declaration specifiers or '...' before 'GtkDragResult'
make[3]: *** [stack_la-stack-icon.lo] Fehler 1
make[3]: Verlasse Verzeichnis '/home/skw/subversion/avant-window-navigator/applets/stack'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/skw/subversion/avant-window-navigator/applets'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/skw/subversion/avant-window-navigator'
make: *** [all] Fehler 2
skw@x20:~/subversion/avant-window-navigator$
[Q]
Score: 0 points
Any particular reason?
#5192 by groo028 (0.2385) posted on 2:00pm Tuesday, July 31st, 2007
( no avatar )
yep..same error
[Q]



edit:
[Q]



modified some code and managed to compile but now all i get is a white line instead of the applet.
[Q]



*Edited at 2:07pm, 07/31/07
Score: 0 points
Any particular reason?
#5193 by BonesAWN (0.9988) posted on 2:09pm Tuesday, July 31st, 2007
Please note if there are any other outside dependencies this applet requires...gnome for one?
[Q]



Awesome job though.
[Q]

Score: 0 points
Any particular reason?
#5198 by DBO (0.6209) posted on 2:57pm Tuesday, July 31st, 2007
anyone got it working?
[Q]



also, YESSS!!!
[Q]

Score: 0 points
Any particular reason?
#5204 by ryancr (1.0000) posted on 3:14pm Tuesday, July 31st, 2007
I have all those installed but I am still getting the compile error.
[Q]



stack-icon.c:36: error: expected declaration specifiers or '...' before 'GtkDragResult'
stack-icon.c:235: error: expected declaration specifiers or '...' before 'GtkDragResult'
make[3]: *** [stack_la-stack-icon.lo] Error 1
make[3]: Leaving directory `/home/ryan/devel/avant-window-navigator/applets/stack'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ryan/devel/avant-window-navigator/applets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ryan/devel/avant-window-navigator'
make: *** [all] Error 2
[Q]

Score: 0 points
Any particular reason?
#5205 by BonesAWN (0.9988) posted on 3:24pm Tuesday, July 31st, 2007
Timon said:
I thought all the dependencies were in "configure.in", but I think it need to install this package (library):
[Q]



I guess my point was, AWN doesn't depend on gnome itself, really just GTK. So a lot of people that use AWN don't use GNOME (like myself). So it would be good not to put all these "extra" deps into the awn-core if they really aren't needed by the AWN core and just the applet. Which is why I was asking if it had any extra depends that AWN doesn't have.
[Q]

Score: 0 points
Any particular reason?
#5206 by Timon (1.0000) posted on 3:24pm Tuesday, July 31st, 2007
Its a pain in the ass. I found another one. This MUST be the missing lib:
libglib2.0-dev
[Q]



I applied the patch to a clean svn checkout and it really compiles normally, so it really is some library.
[Q]



(a complete list:)
[Q]



libglib2.0-dev
libgconf2-dev
libgnomevfs2-dev
libgnome2-dev
libgtk2.0-dev
libgnomeui-dev
[Q]

Score: 0 points
Any particular reason?
#5207 by ryancr (1.0000) posted on 3:26pm Tuesday, July 31st, 2007
hmm, well I have all of those installed.
[Q]

Score: 0 points
Any particular reason?
#5211 by groo028 (0.2385) posted on 3:33pm Tuesday, July 31st, 2007
( no avatar )
if i change the function
[Q]



static gboolean stack_icon_drag_failed (GtkWidget *widget, GdkDragContext *drag_context, GtkDragResult result);
[Q]



to
[Q]



static gboolean stack_icon_drag_failed (GtkWidget *widget, GdkDragContext *drag_context, ...);
[Q]



it compiles but i get a white line when i add the applet.
[Q]

Score: 0 points
Any particular reason?
#5212 by DBO (0.6209) posted on 3:40pm Tuesday, July 31st, 2007
this is being caused by Timmons more recent version of libgtk2.0. The enum he is using is not available in 2.10. It would be really nice of him if he could make it work without needing gtk 2.11
[Q]

Score: 0 points
Any particular reason?
#5213 by plunn (1.0000) posted on 3:40pm Tuesday, July 31st, 2007
It compiles OK with Gutsy Gibbons... :-) (no errors)
[Q]



A complete restart was also needed beacuse first I only got a line.
[Q]



Thanks Timon... !
[Q]



----
(my hard disc explode so I lost my account... plun is now plunn)
[Q]

Score: 0 points
Any particular reason?
#5214 by Timon (1.0000) posted on 3:41pm Tuesday, July 31st, 2007
What irony! I didn't use that function (for now).
I UPDATED THE PATCH!
[Q]



Weird though. So at last it isn't a missing library. I double rechecked my version, and it DOES compile.
(I was giving an explanation here, but DBO already did)
[Q]

Score: 0 points
Any particular reason?
#5215 by Timon (1.0000) posted on 3:43pm Tuesday, July 31st, 2007
And by the way:
not all gconf-values are "realtime" proof. Some changes give weird effect, so then a restart is required.
[Q]



And for the MTV-generation: a screenshot.
[Q]




[Q]



*Edited at 3:48pm, 07/31/07
Score: 0 points
Any particular reason?
#5216 by DBO (0.6209) posted on 3:49pm Tuesday, July 31st, 2007
seems to have compiled properly...
[Q]

Score: 0 points
Any particular reason?
#5218 by markitoxs (0.2535) posted on 3:52pm Tuesday, July 31st, 2007
Compiles OK and works perfectly here, although a session restart was needed.
[Q]



I think that the ability to change the icon is essential. Got a strange "cutted" folder.
[Q]



[Q]



Fantastic job!!
[Q]



*Edited at 3:52pm, 07/31/07
Score: 0 points
Any particular reason?
#5220 by plunn (1.0000) posted on 3:53pm Tuesday, July 31st, 2007
Timon said:
It's goal is to have a folder as backend to store files in. You can drag'n'drop files into the stack (which will be copied to the backend folder). From the stack you can launch files or drag'n'drop them to some application.
[Q]



One question Timon.... ?
[Q]



I would prefer to have another "default" container folder then
/tmp/12123 ( I know I can change it)
[Q]



Perhaps I missed something how this works... ? ;-)
[Q]





*Edited at 3:54pm, 07/31/07
Score: 0 points
Any particular reason?
#5221 by Timon (1.0000) posted on 3:54pm Tuesday, July 31st, 2007
Rightclick and you can choose another folder.
And you can use the gconf-editor to alter some other options (like the default icon).
[Q]



The big README is still missing :D
[Q]



Score: 0 points
Any particular reason?
#5222 by groo028 (0.2385) posted on 3:55pm Tuesday, July 31st, 2007
( no avatar )
cool..it works...but how do i get an item out of the stack?
[Q]

Score: 0 points
Any particular reason?
#5224 by markitoxs (0.2535) posted on 3:56pm Tuesday, July 31st, 2007
Really good job done timon.
[Q]



Just noticed that the "popup does not close when I click on an image or item of the list, is this correct?
[Q]

Score: 0 points
Any particular reason?
#5225 by DBO (0.6209) posted on 3:58pm Tuesday, July 31st, 2007
erm I get a white bar with it, how did you fix it groo028?
[Q]

Score: 0 points
Any particular reason?
#5226 by markitoxs (0.2535) posted on 3:59pm Tuesday, July 31st, 2007
DBO said:
erm I get a white bar with it, how did you fix it groo028?
[Q]



I also got a white bar, just restart session, or the whole system. It might work.
[Q]



Check you got the updated patch.
[Q]

Score: 0 points
Any particular reason?
#5227 by DBO (0.6209) posted on 3:59pm Tuesday, July 31st, 2007
yeah I built debs of it too =P
[Q]

Score: 0 points
Any particular reason?
#5229 by plunn (1.0000) posted on 4:00pm Tuesday, July 31st, 2007
Timon said:
Rightclick and you can choose another folder.
And you can use the gconf-editor to alter some other options (like the default icon).
[Q]



Yes, Ive seen that but I thinking about users which never goes under the hood and looks... The Gnome Way... "Failsafe" :-)
[Q]




Score: 0 points
Any particular reason?
#5230 by groo028 (0.2385) posted on 4:00pm Tuesday, July 31st, 2007
( no avatar )
DBO: i had to restart my system to get it to show.
[Q]

Score: 0 points
Any particular reason?
#5231 by DBO (0.6209) posted on 4:02pm Tuesday, July 31st, 2007
and ruin my uptime? Really though there has to be a more logical reason behind it... If restarting fixes it Im guessing something in /tmp has to be cleared out
[Q]

Score: 0 points
Any particular reason?
#5232 by Timon (1.0000) posted on 4:04pm Tuesday, July 31st, 2007
groo028 said:
cool..it works...but how do i get an item out of the stack?
[Q]



You can add/delete things from the backend folder. These changes are seen in the applet. Removing things directly from the stack is in my TODO list.
[Q]



DBO said:
erm I get a white bar with it, how did you fix it groo028?
[Q]



A white line is caused by first startup (gconf schemes are installed), inaccessible backend folder (default folder is /tmp/[some number], default icon cannot be found/loaded (uses "folder-drag-accept"-icon) or low cpu resources (cannot create icon fast enough).
[Q]



markitoxs said:
Just noticed that the "popup does not close when I click on an image or item of the list, is this correct?
[Q]



The popup should disappear when it looses focus.
[Q]



plunn said:
Yes, Ive seen that but I thinking about users which never goes under the hood and looks... The Gnome Way... "Failsafe" :-)
[Q]



It's the AWN way to store/use settings via gconf. In the end it should be alterable via a GUI, for now this fits.
[Q]



*Edited at 4:09pm, 07/31/07
Score: 0 points
Any particular reason?
#5233 by DBO (0.6209) posted on 4:06pm Tuesday, July 31st, 2007
or because I forgot to update my install files for the deb... that will do it too wont it Timon? /me goes to fix
[Q]



I'll get reacocard to update the repo so everyone else can enjoy the fun too =)
[Q]

Score: 0 points
Any particular reason?
#5234 by groo028 (0.2385) posted on 4:06pm Tuesday, July 31st, 2007
( no avatar )
a small bug..when i click "Show in folder"..the popup refuses to go away and is stuck on the screen. When i click the applet again a new popup appears...
[Q]

Score: 0 points
Any particular reason?
#5235 by ryancr (1.0000) posted on 4:06pm Tuesday, July 31st, 2007
DBO said:
and ruin my uptime? Really though there has to be a more logical reason behind it... If restarting fixes it Im guessing something in /tmp has to be cleared out
[Q]



Well if you find it, let me know cuz I am getting just the white line as well.
[Q]

Score: 0 points
Any particular reason?
#5236 by BonesAWN (0.9988) posted on 4:06pm Tuesday, July 31st, 2007
DBO said:
and ruin my uptime? Really though there has to be a more logical reason behind it... If restarting fixes it Im guessing something in /tmp has to be cleared out
[Q]



I'm not running it, so this is just a guess, but restarting usually means gconf schema was added or changed. You can simply restart your gconf deamon by executing this command as your normal user:
[Q]



killall -HUP gconfd-2
[Q]



Give it a try
[Q]

Score: 0 points
Any particular reason?
#5237 by DBO (0.6209) posted on 4:08pm Tuesday, July 31st, 2007
yeah no it has to do with packaging... it seems Timon didnt use the same prefix as the rest of AWN so my packaging failed. Why does awn default to /usr anyhow?
[Q]



[edit]
SCRATCH THAT... it doesnt
[Q]



*Edited at 4:12pm, 07/31/07
Score: 0 points
Any particular reason?
Pages: 1 2 3 4
Thread Listing » AWN Applets » [Work in progress] Mac stacks for AWN

Post A Reply:

Powered by Metaforum ©2004-2012
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.