[haiku-development] Odd volume space bar logic in Tracker

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 3 May 2010 20:37:56 -0400

Hi,

Does anyone perchance  recall the reasoning behind the very convoluted
logic on when to display a volume space bar in BPose's constructor? At
a glance it looks like a not very good attempt at avoiding showing
volume space bars for CDs, but it has a number of problems and
inconsistencies. Looking in subversion history, that code has been
unchanged since it was imported from OpenTracker, so I can't find an
explanation there. Anyone happen to remember, and if so, have any good
justification for keeping it the way it is? It seems as if it'd make
more sense to simplify it to always show them in the case of a)
persistent volumes, and b) removable volumes with write capabilities.
Any ideas/thoughts?

Regards,

Rene

Other related posts: