[haiku-bugs] Re: [Haiku] #9778: Cast to array context menu item

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 May 2013 16:50:34 -0000

#9778: Cast to array context menu item
-------------------------------------+----------------------------
   Reporter:  bonefish               |      Owner:  anevilyak
       Type:  enhancement            |     Status:  closed
   Priority:  normal                 |  Milestone:  Unscheduled
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:  fixed                  |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  1                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by anevilyak):

 Replying to [comment:6 anevilyak]:
 > That's indeed a general casting problem, still need to look into what's
 going on with that. Wasn't previously noticeable as the Type column is
 fairly new.

 As a note, problem found: for that particular column value,
 VariableTableModel asks the model node for its type and retrieves a name
 off that. The latter however, just asks its enclosed ValueNodeChild for
 Type(), which is the child's original type, rather than the casted one the
 user chose. This should be adjusted to return the casted type if present,
 falling back to the original if NULL. Will do so tonight.

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

Other related posts: