[haiku-bugs] Re: [Haiku] #7921: Control Look lost in child view

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 17 Aug 2011 07:29:45 -0000

#7921: Control Look lost in child view
----------------------------------+-----------------------
   Reporter:  Pete                |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/alpha3
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+-----------------------

Comment (by axeld):

 Replying to [comment:7 Pete]:
 > Replying to [comment:6 axeld]:
 > > The description wasn't really correct. The button is drawn just fine,
 only that it has no visible background. This is because BControl actually
 inherits the background color from its parent.
 > Unfortunately this isn't quite correct either.

 Depends on your reading - a top level child has no Parent() to inherit
 from, therefore it gets the default panel background color.

 > > Since any good UI should just use the defaults (ie.
 B_PANEL_BACKGROUND_COLOR) as background, it usually doesn't make a
 difference.
 > Should it?

 Yes, it should. Applications are supposed to provide a decent system
 consistent look overall, and don't violate that for the sake of it.

 > I think an app should have the freedom to set its own appropriate colour
 scheme.

 Of course there are special requirements like a red button if it has to
 be, but having a completely different color scheme is just annoying the
 user. Probably the most important aspect of UI design is consistency, and
 coloring is an important part of that, too.

 Furthermore, it completely removes the ability to customize the colors, if
 you chose different ones; what looks good to you might look horrible to
 someone else, especially if your tint of red doesn't match the one he
 chooses for its applications. Personally, I would choose a standard
 looking application over a custom one any time, and it sure makes a bad
 first impression.

 Having said all that, it's of course your decision in the end. It's just
 one opportunity of many for a design sin, if you have to take it :-)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7921#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: