[haiku-commits] Re: haiku: hrev45324 - src/apps/deskbar

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 26 Feb 2013 01:02:50 -0500

On Mon, Feb 25, 2013 at 6:57 PM, John Scipione <jscipione@xxxxxxxxx> wrote:
>
> If it's all the same to you, I'd like to try to fix the bugs in Deskbar 1.x.

Obviously you can work on whatever you feel like. I have tried to fix
bugs in Deskbar in the past and found some things needlessly difficult
or damn near impossible because of its convoluted design (assuming
that collection of code really could be called a design.) I know you
have been banging your head against the wall sometimes too when doing
things in that code.

> I have some doubts about a Deskbar rewrite being a practical reality
> anytime soon (R1 timeframe) since, well, it does a lot of stuff, and
> people like stuff, and you aren't going to reproduce all the stuff in
> Deskbar 2.0 that Deskbar 1 does, so, people won't be happy with
> Deskbar 2.0 because it doesn't do x even though it is better at doing
> y and z.

You are probably right, but really, what does the Deskbar do, at the
core? It has an application menu (which uses a lot of code from
libtracker), it has a menu of active apps and windows, it has a
replicant tray, and it happens to also house the Twitcher. We all
agree moving the Twitcher out is smart, so that is one less thing
Deskbar2 would need to do.

Also I don't intend on completely ignoring the existing Deskbar code.
I'd like to start from a clean slate (that works better for me), but
I'm sure some old code will be copied over, or at least thoroughly
examined for the good pieces.

I think that time spent on this now will make adding new features much
easier later.

As for people not liking change, well tough cookies. There are a lot
of good things about Deskbar but also a lot of bad, and I don't see
any point in reproducing the bad (like the lack of context menus, or
the needless extra clicking to bring a window to the front in an app.)

Also having a new Deskbar doesn't preclude people using the old one if
they really prefer it.

-- 
Regards,
Ryan

Other related posts: