Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 546589 - Can't switch working set from view menu
Summary: Can't switch working set from view menu
Status: RESOLVED FIXED
Alias: None
Product: RCPTT
Classification: Technology
Component: Runtime (show other bugs)
Version: 2.4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.4.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-19 07:14 EDT by Vasili Gulevich CLA
Modified: 2019-05-08 06:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasili Gulevich CLA 2019-04-19 07:14:14 EDT
Testing has revealed a regression in change https://git.eclipse.org/r/#/c/139091/ (Support for Eclipse 4.11)

```
get-button "View Menu" | click
get-view "Project Explorer" | get-menu -path "Select Working Set..." | click
with [get-window "Select Working Set"] {
    try -command {
	    with [get-table] {
	        get-item -path ws1 | check
	    } 
	} -catch  {
        get-button "New..." | click
    	with [get-window "New Working Set"] {
	        get-table | select Resource | double-click
	        get-editbox -after [get-label "Working set name:"] | set-text ws1
	        get-button Finish | click
	    }
	    with [get-table] {
	        get-item -path ws1 | check
	    } 
    }
    get-button OK | click
}
get-button "View Menu" | click
get-view "Project Explorer" | get-menu -path "Edit Active Working Set..." | click
with [get-window "Edit Working Set"] {
    with [get-tree] {
        get-item -path belongsToWs1 | check
        select belongsToWs1
    }
    get-button Finish | click
}
with [get-view "Project Explorer"] {
	get-menu -path "Deselect Working Set" | click
	get-menu -path "Top Level Elements/Working Sets" | click
	get-menu -path ".* ws1" | click
        get-tree | select "ws1/belongsToWs1"
}
```

*Expected*
Project Explorer should switch to working set mode and show a project inside working set ws1.

*Actual*
`get-menu -path ".* ws1" | click` has no effect. Project Explorer shows project as a tree root as if working set is not selected.

Investigation entry point: org.eclipse.rcptt.tesla.internal.ui.player.SWTUIPlayer.clickMenuItem(SWTUIElement, boolean, Widget)
Comment 1 Eclipse Genie CLA 2019-04-19 07:28:27 EDT
New Gerrit change created: https://git.eclipse.org/r/140870
Comment 3 Eclipse Genie CLA 2019-05-07 04:21:46 EDT
New Gerrit change created: https://git.eclipse.org/r/141697