Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335007

Summary: [Shell] ControlListener events are not fired on resize or move
Product: [RT] RAP Reporter: s.neis
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 Keywords: needinfo
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description s.neis CLA 2011-01-21 08:05:32 EST
Build Identifier: 1.4

Only on creation of a shell two events of controlResized are fired, but after this neither controlResized nor controlMoved are fired anymore.

Shell shell = new Shell();
shell.addControlListener(new ControlListener() {
                   
    @Override
    public void controlResized(ControlEvent e) {

    }

    @Override
    public void controlMoved(ControlEvent e) {
    
    }
});

Reproducible: Always

Steps to Reproduce:
1. Add a control listener to a shell.
2. Move or resize the shell on client side.
Comment 1 Ivan Furnadjiev CLA 2011-01-21 08:33:02 EST
I can't reproduce it with CVS HEAD (1.4M4). Tested in IE8, FF 3.6.13, Chrome 9 under Windows 7. Both events are fired when you finish the operation (move or resize). Could you provide a complete self-running snippet to reproduce it? Are you experiencing the issue in all browsers?
Comment 2 Ivan Furnadjiev CLA 2011-03-16 07:54:01 EDT
Any chance for a snippet or steps to reproduce it?
Comment 3 s.neis CLA 2011-03-16 08:48:14 EDT
Sorry, I've made a mistake. The event is not fired, because the Shell I'm using is a custom widget, where the listeners in the javascript part are overriden. I'm really sorry that I've wasted your time.