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

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Sat, 15 Jun 2013 17:43:50 -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
 Keywords:                      |   Blocked By:
 Blocking:                      |  Has a Patch:  0
 Platform:  All                 |
--------------------------------+------------------------------
 Sending "hey blah get Frame of View 0 of Window blah" fails if said view #
 0 is a BStringView (by opposed to a BButton, BCheckBox ..etc which work
 very well).

 Digging in the code, I see that the base BView::ResolveSpecifier() is
 overriden by a BStringView::ResolveSpecifier() which returns NULL without
 calling the base implementation at all (i.e. it disables BView scripting).

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

Other related posts: