[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5142) Selection isn't updated when visual editor is invisible
Yura Zhishko (JIRA)
jira-events at lists.jboss.org
Thu Nov 5 07:36:17 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-5142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12493290#action_12493290 ]
Yura Zhishko commented on JBIDE-5142:
-------------------------------------
The problem is that selectionEvent isn't processed if visualEditor is invisible:
Next lines in VPEControllerClass:
public void selectionChanged(SelectionChangedEvent event) {
if (selectionBar != null)
selectionBar.updateNodes(false);
// FIX for JBIDE-2114
if (!isVisualEditorVisible()) {
// selection event doesn't changes a content
// synced = false;
return;
}
.....
To avoid conflicts with a fix of JBIDE-2114 I'll make a refresh of visual selection when a visual pane become a visible.
> Selection isn't updated when visual editor is invisible
> -------------------------------------------------------
>
> Key: JBIDE-5142
> URL: https://jira.jboss.org/jira/browse/JBIDE-5142
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Visual Page Editor core
> Affects Versions: 3.1.0.M4
> Reporter: Yura Zhishko
> Assignee: Yura Zhishko
> Priority: Minor
> Fix For: 3.1.0.CR1
>
> Attachments: screenshot-1.jpg, screenshot-2.jpg
>
>
> 1) Open any page with a visual editor
> 2) Select some component on the source pane
> 3) Component is selected on the visual pane (screenshot-1)
> 4) Minimize Visual Pane
> 5) Select some another component on the source pane.
> 6) Restore Visual Pane
> RESULT: Component from the step 3 is still selected (screenshot-2).
--
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