Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 226353 - [ToolBar] mouseUp event not fired when on ToolItem(SWT.CHECK)
Summary: [ToolBar] mouseUp event not fired when on ToolItem(SWT.CHECK)
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.2 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: qx-closed
Keywords:
Depends on: 257022
Blocks:
  Show dependency tree
 
Reported: 2008-04-09 15:31 EDT by Rüdiger Herrmann CLA
Modified: 2009-02-18 05:27 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2008-04-09 15:31:10 EDT
When clicking on a ToolItem that was created with the SWT.CHECK style, the 
Toolbar isn't notified about mouseUp events.
Depends on qooxdoo bug:
  816: qx.ui.toolbar.CheckBox prevents mouseUp event propagation
  http://bugzilla.qooxdoo.org/show_bug.cgi?id=816
Comment 1 Ralf Sternberg CLA 2008-12-10 08:15:25 EST
Rüdiger, for me it seems that this is fixed in 0.7.4. At least the rev 16820 affects the files in the 0.7.4 source. Do you have a test to check this?
Comment 2 Ivan Furnadjiev CLA 2009-02-18 04:39:05 EST
For a test case I've used a modified ToolBarTab in Controls Demo - add mouse listener to the ToolBar:
-------------- line 53 --------------
    toolBar = new ToolBar( parent, getStyle() );
    toolBar.addMouseListener( new MouseListener() {

      public void mouseDoubleClick( MouseEvent e ) {
        System.out.println("toolbar mouseDoubleClick");
      }

      public void mouseDown( MouseEvent e ) {
        System.out.println("toolbar mouseDown");
      }

      public void mouseUp( MouseEvent e ) {
        System.out.println("toolbar mouseUp");
      }

    } );
    registerControl( toolBar );
----------------------------------
The mouseDown and mouseUp events are fired as expected on ToolItem with SWT.CHECK style. We can close this bug.
Comment 3 Rüdiger Herrmann CLA 2009-02-18 05:26:05 EST
This bug was resolved with the migration to qx 0.7.4 (bug 257022)