Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Wrong behavior of mouseUpHandler in IE11

    In IE11 with doctype html is mouseUpHandler called immediately after mouseDown when the user move the cursor with still pressed mouse button. When the mouse button is released. No event is handled.

    In other browsers (Firefox, Chrome, older IE versions) it works OK.

    I use smartgwt 4.1p from 2014-06-11 and GWT 2.6.1.

    Here is example:
    Code:
                    Canvas cnv = new Canvas();
    		cnv.setWidth100();
    		cnv.setHeight100();
    		cnv.setBackgroundColor("lime");
    		
    		cnv.addMouseDownHandler(new MouseDownHandler() {
    			
    			@Override
    			public void onMouseDown(MouseDownEvent event) {
    				System.out.println("MouseDown");
    				
    			}
    		});
    		
    		cnv.addMouseUpHandler(new MouseUpHandler() {
    			
    			@Override
    			public void onMouseUp(MouseUpEvent event) {
    				System.out.println("MouseUp");
    				
    			}
    		});
    		cnv.draw();
    Thanks Pavel

    #2
    Wow, Microsoft sure is aggressively break things these days!

    IE11 no longer reports which buttons are pressed while the mouse is down, breaking our workaround for another bug they still haven't corrected since IE6.

    We've found a way around both issues, and the next nightly patch builds of 4.1 and 5.0 have the fix.

    Comment


      #3
      Will this be ported to the 4.0 release as well?

      Comment


        #4
        SelectItem is unusable in IE11

        SGWT: 4.0p 06/18/2014
        IE11

        Code:
        @Override
        public void onModuleLoad() {
        	new DynamicForm() {{
        		setFields(new SelectItem("select", "Select") {{
        			setValueMap("FOO", "BAR");
        		}});
        	}}.show();
        }
        Code:
        <!DOCTYPE html>
        <html>
        <head>
        	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
        	<script src="main/sc/modules/ISC_Core.js"></script>
            <script src="main/sc/modules/ISC_Foundation.js"></script>
            <script src="main/sc/modules/ISC_Containers.js"></script>
            <script src="main/sc/modules/ISC_Grids.js"></script>
            <script src="main/sc/modules/ISC_Forms.js"></script>
            <script src="main/sc/skins/Enterprise/load_skin.js"></script>
        	<script src="main/main.nocache.js"></script>
        </head>
        <body>
        </body>
        </html>
        Code:
        <module rename-to="main">
        	<inherits name='com.google.gwt.user.User' />
        	<inherits name="com.smartclient.theme.enterprise.EnterpriseResources"/>
        	<inherits name="com.smartgwt.SmartGwtNoTheme"/>
        	<source path="client" />
        	<entry-point class='web.gwt.client.Main6' />
        </module>
        Last edited by pghosh; 25 Jun 2014, 09:54.

        Comment


          #5
          We're taking a look and will follow up when we have more information.

          Regards
          Isomorphic Software

          Comment


            #6
            This issue is now resolved. Please try the next nightly build dated June 27 or above.

            Regards
            Isomorphic Software

            Comment


              #7
              Thanks!
              ===================================================

              Comment

              Working...
              X