Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Shell getBound() and getLocation() not returning updated value on mac after moving shell(when we move the shell from one location to another getBound() and GetLocation does not give correct value on mac)
Shell getBound() and getLocation() not returning updated value on mac after moving shell [message #1732122] Thu, 12 May 2016 17:28
Anil Meravat is currently offline Anil MeravatFriend
Messages: 3
Registered: May 2016
Junior Member
Steps to reproduce the issue:
1. create a shell contained in display.
2. move the shell from one location to another manually.
3. put the break point or print the value of x and y fetched using getBound() or getLocation() method of Shell object.
4. you will get the old coordinate of shell where it was initially.

Always reproducible.

please help me if any other way by witch i can get the updated location of the main shell.

Thanks in advance. Smile
Previous Topic:Runnable, RunnableLock instances accumulating on asyncExec
Next Topic:Application menu initially not shown when launched on Mac platform
Goto Forum:
  


Current Time: Tue Dec 12 10:42:50 GMT 2017

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

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