[haiku-bugs] Re: [Haiku] #9823: BStringView's scripting is disabled

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sat, 15 Jun 2013 17:48:25 -0000

#9823: BStringView's scripting is disabled
----------------------------------+----------------------------
   Reporter:  ttcoder             |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by ttcoder):

 I use a home-grown GUI debugging tool that retrieves the bounds of each
 view in a window, and just noticed it does not work for BStringViews. This
 is not a critical bug by any means, but it seems to be a simple overlook,
 so it would take just a few seconds to fix by removing the offending code
 here http://cgit.haiku-
 os.org/haiku/tree/src/kits/interface/StringView.cpp#n334

 which clobbers/overrides/disables the scripting code here http://cgit
 .haiku-os.org/haiku/tree/src/kits/interface/View.cpp#n4208

 Extra points if you guys also augment (not override/disable :-) the base
 code to add a "Label" property or some such, since this is the one thing
 that a BStringView has on top of a base BView, though not if it comes at
 the expense of removing the thingamadokie first, the one that disables the
 base "Frame", "Hidden" ..etc properties :-)

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

Other related posts: