On 9/4/06, Yen-Ju Chen <[EMAIL PROTECTED]> wrote:
On 9/4/06, Nicolas Roard <[EMAIL PROTECTED]> wrote:
> 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.

Ok... Well we could add XPM loading support to GNUstep, surely it
shouldn't be hard..

> 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. :)

hmm.. ok..

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

Ah well then something is wrong on my setup, as they disappear :-/

--
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

Répondre à