[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4226) Two different implementations of the VPE context menu

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Wed May 6 10:51:46 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yahor Radtsevich updated JBIDE-4226:
------------------------------------

               Summary: Two different implementations of the VPE context menu  (was: Context menu for <a>test</a> in VPE.)
     Original Estimate: 0 minutes
    Remaining Estimate: 0 minutes
         Fix Version/s:     (was: 3.1.0.M1)
           Description: 
Now we have two different implementations of context menu - for the VPE and for the text editor.
The implementation for the VPE is a buggy one, but it has more features (like a parent tag editing or attributes editing).

We should merge and refactor the code of these two implementations.

The following test case illustrates a bug of the VPE context menu:
EXECUTE: Create JSF project. Open inputusername.jsp 
EXECUTE: Insert in Line 15:
<a>teststring</a>
EXECUTE: In Source part - set cursor after "a" letter in "<a>". In Visual part right click on "teststring".
ACTUAL RESULT: Context menu shown in VPEscreen1
EXECUTE: In Source part - set cursor after "e" letter in "teststring".  In Visual part right click on "teststring".
ACTUAL RESULT: Context menu shown in VPEscreen2
EXPECTED RESULT: these menus must be same.

  was:
EXECUTE: Create JSF project. Open inputusername.jsp 
EXECUTE: Insert in Line 15:
<a>teststring</a>
EXECUTE: In Source part - set cursor after "a" letter in "<a>". In Visual part right click on "teststring".
ASSERT: Context menu shown in VPEscreen1
EXECUTE: In Source part - set cursor after "e" letter in "teststring".  In Visual part right click on "teststring".
ASSERT: Context menu shown in VPEscreen2

Look at screenshots. I think that menu's must be same.

              Priority: Major  (was: Minor)


The description has been updated.

> Two different implementations of the VPE context menu
> -----------------------------------------------------
>
>                 Key: JBIDE-4226
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4226
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.0.1.GA
>         Environment: WindowsXP SP2
> JBoss Developer Studio
> Version: 2.0.0.GA
> Build id: jbdevstudio-eap-win32-2.0.0.Alpha1-N200904211931-H52
> JRE 1.5_08
>            Reporter: Aliaksey Nis
>            Assignee: Yahor Radtsevich
>         Attachments: VPEscreen1.JPG, VPEscreen2.JPG
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> Now we have two different implementations of context menu - for the VPE and for the text editor.
> The implementation for the VPE is a buggy one, but it has more features (like a parent tag editing or attributes editing).
> We should merge and refactor the code of these two implementations.
> The following test case illustrates a bug of the VPE context menu:
> EXECUTE: Create JSF project. Open inputusername.jsp 
> EXECUTE: Insert in Line 15:
> <a>teststring</a>
> EXECUTE: In Source part - set cursor after "a" letter in "<a>". In Visual part right click on "teststring".
> ACTUAL RESULT: Context menu shown in VPEscreen1
> EXECUTE: In Source part - set cursor after "e" letter in "teststring".  In Visual part right click on "teststring".
> ACTUAL RESULT: Context menu shown in VPEscreen2
> EXPECTED RESULT: these menus must be same.

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

        



More information about the jbosstools-issues mailing list