[E-devel] ibar dnd

2007-02-04 Thread Aleksej Struk
Hi there,

I've noticed the following behaviour of dnd in ibar. When I start
dragging the icon, the drop position of the icon is shown. When I stop dragging,
the icon is basically copied to a new place, and the old icon,
the icon I drag, stays in place.

Does anyone can confirm the same?

sndev

-- 

Aleksej Struk
Master Degree Student
Free University of Bozen-Bolzano
Faculty of Computer Science
phone: +39-0471-061749
cell phone: +39-3204627049 +370-61278908
[EMAIL PROTECTED] [EMAIL PROTECTED] - http://astruk.googlepages.com/home

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Ibar dnd bug

2005-10-12 Thread Osei Poku
Hi all,

I noticed a small bug in Ibar. When you drag an icon, which doesnt have
a corresponding eap file, from the border of a window to the ibar, an
error dialog pops up complaining that this icon has no corresponding
eap. The problem is the drag overlay animation on the ibar itself doesnt
go away.  

It is actually pretty trivial to fix but I have attached the patch to do
so anyways.

As a side question: How exactly do some windows now have icons in the
top left corner even though I never associated an icon with them(ie
there is no corresponding eap)?

Finally, in the midst all the recent unrest in the E camp, I would just
like to give a shout of thanks and appreciation to Raster and co for the
most beautiful WM ... ever ... The other day, a friend of mine who
swears by OS X, decided to give E17 a try because it looked so good.
Keep up the good work guys.

-osei
Index: e_mod_main.c
===
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v
retrieving revision 1.84
diff -u -3 -r1.84 e_mod_main.c
--- e_mod_main.c	8 Oct 2005 19:38:13 -	1.84
+++ e_mod_main.c	13 Oct 2005 01:03:02 -
@@ -1662,6 +1662,15 @@
 	  {
 	 E_Dialog *dia;
 
+	 e_box_freeze(ibb-box_object);
+	 e_box_unpack(ibb-drag_object);
+	 evas_object_del(ibb-drag_object);
+	 ibb-drag_object = NULL;
+	 evas_object_del(ibb-drag_object_overlay);
+	 ibb-drag_object_overlay = NULL;
+	 e_box_thaw(ibb-box_object);
+	 _ibar_bar_frame_resize(ibb);
+
 	 dia = e_dialog_new(e_container_current_get(e_manager_current_get()));
 	 e_dialog_title_set(dia, _(Cannot add icon));
 	 e_dialog_text_set(dia,


Re: [E-devel] Ibar dnd bug

2005-10-12 Thread The Rasterman
On Wed, 12 Oct 2005 21:21:34 -0400 Osei Poku [EMAIL PROTECTED] babbled:

 Hi all,
 
 I noticed a small bug in Ibar. When you drag an icon, which doesnt have
 a corresponding eap file, from the border of a window to the ibar, an
 error dialog pops up complaining that this icon has no corresponding
 eap. The problem is the drag overlay animation on the ibar itself doesnt
 go away.  

aah indeed. this was on the TODO list actually. thanks for taking it off the
list! :)

 It is actually pretty trivial to fix but I have attached the patch to do
 so anyways.
 
 As a side question: How exactly do some windows now have icons in the
 top left corner even though I never associated an icon with them(ie
 there is no corresponding eap)?

e17 currently under goes 3 levels of what the hell do i put up here as an icon
1. look for a .eap with window name/class etc. match - if it find one - use
this. 2. look at any netwm process id or launch id parameters set on the client
window (*IF* it sets them). and if it matches a process e knows it launched -
FROm a .eap file (e actually tracks everything you launch from e and thus knows
this) and then it knows what .eap icon to use for an icon. 3. use a netwm
ARGB32 icon IF provides and set on the window. 4. give up (blank)

right now for 4. i'd like to just add a final fallabck and add some E icon
there instead but i havent bothered yet :)

 Finally, in the midst all the recent unrest in the E camp, I would just
 like to give a shout of thanks and appreciation to Raster and co for the
 most beautiful WM ... ever ... The other day, a friend of mine who
 swears by OS X, decided to give E17 a try because it looked so good.

can't resist a pretty face eh? :)

 Keep up the good work guys.

we're not just a pretty face - oh wait... yes we are! :)

-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel