You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2006/11/08 22:16:52 UTC

[jira] Created: (XAP-78) Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem

Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem
---------------------------------------------------------------------------------------------

                 Key: XAP-78
                 URL: http://issues.apache.org/jira/browse/XAP-78
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: Trevor Oldak


You cannot change text attribute value in menuItem or menuBarItem. The XAL DOM is correct, but the HTML DOM is not.

One interesting observation is that when you hit select all and copy the page, and then paste it into notepad, it shows two copies of each menuItem/menuBarItem. So, if you had a menuBaritem that said "Copy", pasting the page into notepad would say "CopyCopy". changing the text attribute of the menu item to "hello world" would make it say "hello worldCopy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (XAP-78) Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/XAP-78?page=comments#action_12448328 ] 
            
Trevor Oldak commented on XAP-78:
---------------------------------

Nope, i did some poking around. There're two text nodes because when you disable a menubar item, it gets a white drop shadow. The drop shadow isn't possible without some ugly css hacks, unless you add another text node behind the one you want to shadow. Changing the text attribute changes the drop shadow text, but not the text in front.

> Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem
> ---------------------------------------------------------------------------------------------
>
>                 Key: XAP-78
>                 URL: http://issues.apache.org/jira/browse/XAP-78
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>            Reporter: Trevor Oldak
>
> You cannot change text attribute value in menuItem or menuBarItem. The XAL DOM is correct, but the HTML DOM is not.
> One interesting observation is that when you hit select all and copy the page, and then paste it into notepad, it shows two copies of each menuItem/menuBarItem. So, if you had a menuBaritem that said "Copy", pasting the page into notepad would say "CopyCopy". changing the text attribute of the menu item to "hello world" would make it say "hello worldCopy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (XAP-78) Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem

Posted by "James Margaris (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Margaris updated XAP-78:
------------------------------

    Component/s:     (was: Other widgets)
                 Menu/MenuBar/Toolbar

> Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem
> ---------------------------------------------------------------------------------------------
>
>                 Key: XAP-78
>                 URL: https://issues.apache.org/jira/browse/XAP-78
>             Project: XAP
>          Issue Type: Bug
>          Components: Menu/MenuBar/Toolbar
>            Reporter: Trevor Oldak
>
> You cannot change text attribute value in menuItem or menuBarItem. The XAL DOM is correct, but the HTML DOM is not.
> One interesting observation is that when you hit select all and copy the page, and then paste it into notepad, it shows two copies of each menuItem/menuBarItem. So, if you had a menuBaritem that said "Copy", pasting the page into notepad would say "CopyCopy". changing the text attribute of the menu item to "hello world" would make it say "hello worldCopy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XAP-78) Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem

Posted by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/XAP-78?page=comments#action_12448298 ] 
            
Turyn, Michael commented on XAP-78:
-----------------------------------

My guess:  a text node is being added twice, probably one in front of the other.  It might be as a result of multiple attribute setting events.

> Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem
> ---------------------------------------------------------------------------------------------
>
>                 Key: XAP-78
>                 URL: http://issues.apache.org/jira/browse/XAP-78
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>            Reporter: Trevor Oldak
>
> You cannot change text attribute value in menuItem or menuBarItem. The XAL DOM is correct, but the HTML DOM is not.
> One interesting observation is that when you hit select all and copy the page, and then paste it into notepad, it shows two copies of each menuItem/menuBarItem. So, if you had a menuBaritem that said "Copy", pasting the page into notepad would say "CopyCopy". changing the text attribute of the menu item to "hello world" would make it say "hello worldCopy

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (XAP-78) Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem

Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Gagne reassigned XAP-78:
----------------------------

    Assignee: Turyn, Michael

> Widgets: MenuItem/ MenuBarItem: Cannot change text attribute value in menuItem or menuBarItem
> ---------------------------------------------------------------------------------------------
>
>                 Key: XAP-78
>                 URL: https://issues.apache.org/jira/browse/XAP-78
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Menu/MenuBar/Toolbar
>            Reporter: Trevor Oldak
>         Assigned To: Turyn, Michael
>
> You cannot change text attribute value in menuItem or menuBarItem. The XAL DOM is correct, but the HTML DOM is not.
> One interesting observation is that when you hit select all and copy the page, and then paste it into notepad, it shows two copies of each menuItem/menuBarItem. So, if you had a menuBaritem that said "Copy", pasting the page into notepad would say "CopyCopy". changing the text attribute of the menu item to "hello world" would make it say "hello worldCopy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.