On 9/4/06, Nicolas Roard <[EMAIL PROTECTED]> wrote:
[snip]
Hi yen-ju,

I started to look in the code, and play a bit with the app.

First, I must say it's really cool -- I can now use purely azalea, the
taskbar providing easy access to iconified programs :-) -- one step
closer to a functioning desktop.

Now, there's still a few problems; first, some applications (xterm) do
not appear in the dock (well, there's an empty space, so it's just the
icon missing).

 Old X window program use XPM format for icon,
 which GNUstep cannot read.
 So i simply ignore them. :)
 Anyway, your solution is good enough so far.

Second, I'm not sure I understand why you are
recompositing windows on the panel here, instead of simply using
normal views + icons ? there's some issues with the windows stack
order (eg move an application window above the dock, quite often the
window will slip under the icons present on the dock, but still above
the dock's window).

 I am aware of this issue.
 The reason I choose to implement an icon as a window
 is to leave room for docklet and other x window stuff in the future.
 We are not going to have a full desktop environment anytime soon.
 People may want to put some Gnome/KDE notifier into the dock.
 There are some universal trays for that. For example:
 http://alltray.sourceforge.net/
 In this case, we need to put a regular x window into our NSWindow,
 which is very tricky.
 So if I implement the whole thing as a NSWindow.
 some part of it will be treated as NSView while
 the other part of it will be a regular x window.
 I am not sure it is doable.
 In current implementation, I can isolate such x window
 in its own NSWindow, which is easier to deal with.
 As for the window stacking,
 we can simply push every icons to  very bottom or top of stacking
 to avoid the issue.
 I tend to ignore these details until I can make sure the whole thing
 is doable. :)

 I do not understand "hidden applications disappear from the dock".
 I can hide a GNUstep application and the icon still on the dock.

 Yen-Ju


update: I modified the source to display a default "unknown" icon when
no icon is found, and also to use GNUstep icons (via NSWorkspace) when
dealing with GNUstep apps.

--
Nicolas Roard
"I love deadlines. I like the whooshing sound they make as they fly
by." -- Douglas Adams

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à