#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: 1 | Platform: All ----------------------------------+---------------------------- Comment (by ttcoder): Finally booted my old BeOS 300 MHz batmobile this evening and... it looks like I was wrong to imply that adding properties (whilst re-enabling scripting) would be necessary to replicate BeOS R5 and completely tie-off this ticket -- see below: it's clear that Be had never got around to implementing BStringView properties. In fact there is ''no'' "suite/vnd .Be-stringview" at all, even though I know for a fact that the concerned target IS a BStringView. So the Text And Alignment properties in jscipione's patch go the extra mile in fact, nice work! Here's my scripting as generated by my debugging tool: {{{ $ hey woogie getsuites of View 5 of View 0 of View 0 of View 1 of View 1 of View 0 of View 0 of Window 1 Reply BMessage(B_REPLY): "suites" (B_STRING_TYPE) : "suite/vnd.Be-view" "suites" (B_STRING_TYPE) : "suite/vnd.Be-handler" "messages" (B_PROPERTY_INFO_TYPE) : property commands specifiers -------------------------------------------------------------------------------- Frame B_GET_PROPERTY B_SET_PROPERTY DIRECT Hidden B_GET_PROPERTY B_SET_PROPERTY DIRECT View B_COUNT_PROPERTIES DIRECT View INDEX REV.INDEX NAME "messages" (B_PROPERTY_INFO_TYPE) : property commands specifiers -------------------------------------------------------------------------------- Suites B_GET_PROPERTY DIRECT Messenger B_GET_PROPERTY DIRECT InternalName B_GET_PROPERTY DIRECT "error" (B_INT32_TYPE) : 0 (0x00000000) $ $ hey woogie get Label of View 5 of View 0 of View 0 of View 1 of View 1 of View 0 of View 0 of Window 1 Didn't understand the specifier(s) (error 0x80002008) $ hey woogie get Text of View 5 of View 0 of View 0 of View 1 of View 1 of View 0 of View 0 of Window 1 Didn't understand the specifier(s) (error 0x80002008) $ }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/9823#comment:8> Haiku <http://dev.haiku-os.org> Haiku - the operating system.