Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335007 - [Shell] ControlListener events are not fired on resize or move
Summary: [Shell] ControlListener events are not fired on resize or move
Status: CLOSED INVALID
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-01-21 08:05 EST by s.neis CLA
Modified: 2011-03-16 08:48 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 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.