-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to refresh window list immediately #10
Comments
What happens when you try this with accerciser ? If the behavior is NOT same, then there is some issue on LDTP side, else you can try calling remap() function and see if that helps. |
I can't try that with accerciser because accerciser's UI blocked heavily.I think this is ldtp's problem. Because when I test in ipython shell, the returned window title was wrong(should return 'frmBackgrounds but returned 'frmSystemSettings'), but when I exit the ipython and enter ipython and import ldtp again, the window title was correct. |
Hi nagappan, I get the solution is import ldtp in my each function independently, not import ldtp with whole module or class. I think this is bug of ldtp for cache mechanism, it should listen the accessible object name change event. I had try some code with libatspi's c api, there is no problem, but also the performance is not very good.If you have some solution for any of the problem, please reply me, thanks very much. |
Can you please provide me sample script to reproduce the issue ? What Linux distribution you are trying with ? |
The solution upstair takes no effect as del ldtp module and then import it again brings other problems, so I give up to join my ldtp's action together. I test each gui operation one by one now, then there shouldn't have window title change.Sorry for my post and bad english. I use linuxmint-17-cinnamon-64bit-v2,you can show the problem like this:
That's all, I think you can easily repeat this problem in your distribution as many distribution have an app like system settings, thanks verymuch. |
John, Can you please take a look at this ? Thanks |
I maybe have the same issue, do you have any solution ever I cannot grab focus on the new object when the window refresh to show new objects though this object is in appmap |
Hi, I am using ldtp to test cinnamon system settings for linuxmint, but I found the getwindowlist method sometimes don't refresh the window title even though it changed actually. When I click the background icon by generatemouseevent, the getwindowlist method should return 'frmBackgrounds' but it still return 'frmSystemSettings' for me, waittillguiexist does't take effect.Is this a bug or there has some method I don't know to refresh the window title, thanks for any reply.
yilang
The text was updated successfully, but these errors were encountered: