Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Busy Indicator not updated correctly in IE10
Busy Indicator not updated correctly in IE10 [message #1255347] Mon, 24 February 2014 10:45 Go to next message
Tiburon T is currently offline Tiburon TFriend
Messages: 53
Registered: October 2011
Member
Hello,

we have noticed in our RAP application, that the busy indicator is sometimes not updated correctly. The mouse curser seems to change only after it was moved. For example if the user starts a long running operation by the press of a button, the cursor does not change its appearance before it is moved. The same happens when the processing is done, i.e. the cursor stays busy until moved again. This is sometimes irretating for the user in our application and we would like to fix it somehow. The problem does not occur in Firefox 24.3.0 so I guess it is a compatibility issue with IE...

A button like this will demonstrate the issue:

        Button b = new Button(container, SWT.PUSH);
        b.setText("test");
        b.addListener(SWT.Selection, new Listener()
        {
            private static final long serialVersionUID = 1L;
            
            @Override
            public void handleEvent(Event event)
            {
                System.out.println("pressed");
                try {
                    Thread.sleep(3000);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                System.out.println("finished");
            }
        });


Any help would be appreciated!

Thanks,
Tibu

Re: Busy Indicator not updated correctly in IE10 [message #1256227 is a reply to message #1255347] Tue, 25 February 2014 08:08 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1873
Registered: July 2009
Senior Member
Hi Tibu,
it's not a good idea to execute a long running operation in the UI
thread. Blocking the UI for a long time leads to bad user experience.
About your actual question - I can reproduce the issue with your snippet
in IE10/IE11/Chrome. Working fine in Firefox and Opera. Please file a
bugzilla and we will look on it.
Thanks,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Busy Indicator not updated correctly in IE10 [message #1256234 is a reply to message #1256227] Tue, 25 February 2014 08:19 Go to previous message
Tiburon T is currently offline Tiburon TFriend
Messages: 53
Registered: October 2011
Member
Thank you for your fast feedback. I filed the bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=428971

Greetings, Tibu
Previous Topic:Accessibility
Next Topic:How to programmatically mkdir and move uplaoded files?
Goto Forum:
  


Current Time: Tue Dec 23 05:21:44 GMT 2014

Powered by FUDForum. Page generated in 0.10414 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software