]
Maxim Areshkau updated JBIDE-4935:
----------------------------------
Fix Version/s: 3.1.0.M4
VPE layout is broken for pages.
-------------------------------
Key: JBIDE-4935
URL:
https://jira.jboss.org/jira/browse/JBIDE-4935
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.1.0.M4
Reporter: Yura Zhishko
Assignee: Denis Maliarevich
Priority: Minor
Fix For: 3.1.0.M4
Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg,
screenshot-4.jpg
1) Create JSF 1.2 Kick Start Project in clear workspace
2) Open inputUserName.jsp
ASSERT: Page is opened and split for Visual and Source parts. Both parts fill equal
spaces. Source Pane is on top (screenshot-1).
ASSERT FAILED: All space is occupied by Source Pane and Visual pane is minimized and
situated on the top (screenshot-2).
Static method CustomSashForm.isSourceEditorFirst() always returns "false", as
the method JspEditorPlugin.getDefault().getPreferenceStore()
.getString(IVpePreferencesPage.VISUAL_SOURCE_EDITORS_SPLITTING) returns ""
String, if we hadn't rotate s/v editors before, so the next code:
if (CustomSashForm.isSourceEditorFirst()) {
sourceContent = new Composite(container, SWT.NONE);
visualContent = new Composite(container, SWT.NONE);
} else {
visualContent = new Composite(container, SWT.NONE);
sourceContent = new Composite(container, SWT.NONE);
}
will put Visual Content on the top. It seems, that we don't set such preferences for
clear workspace at all.
3) Maximize Visual pane
4) Make a rotation
ASSERT: Page should be opened with maximized Visual Pane
ASSERT FAILED: Source pane is maximized (screenshot-3).
The root of last failed is shown on screenshot-4.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: