Q7

Q7 does not work with custom ComboTree widget

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.3.10
  • Fix Version/s: 1.3.x
  • Component/s: Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Composites should be transparent to Q7 and even though there's no explicit support for this widget, Q7 should interact correctly with its internal parts.
Recorded script looks like this and it seems correct:

get-button "Drop down button" | click
get-window -from "ComboTree.createPopup()" | get-tree | select "proj1 \\[AUTOSAR 4.0.3\\]/pack - p.arxml/System1"

In case when a value is manually entered into a combotree, the following snippet is recorded and it seems to be incorrect, as editbox selector is nested under a button:

with [get-button "Drop down button"] {
    get-editbox | set-text "proj1/pack1/System"
    key-type Enter
}

Widget screenshot:

Implementation details from customer:

  • The ComboTree extends the org.eclipse.swt.widgets.Composite and implements org.eclipse.jface.viewers.ISelectionProvider.
  • The button on the right is an org.eclipse.swt.widgets.Button. Furthermore, it is augmented with a tooltip text "Drop down button".
  • The button has an org.eclipse.swt.widgets.Listener registered on it with SWT.Selection and SWT.FocusIn event types. (Widget.addListener(...))
  • The popup element is an instance of the org.eclipse.swt.widgets.Shell and serves as the parent of the tree (being an instance of either TreeViewer or CheckboxTreeViewer).

Activity

There are no comments yet on this issue.

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    28/Jan/14 12:51 PM
    Updated:
    24/Oct/14 12:28 AM