Problem with setting window size with drawers
Problem with setting window size with drawers
- Subject: Problem with setting window size with drawers
- From: Filip Krikava <email@hidden>
- Date: Fri, 26 Aug 2011 01:29:36 +0200
Hi,
I'm experiencing a weird issue with drawers. In some cases the call
AXUIElementSetAttributeValue with NSAccessibilitySizeAttribute to set
window size does not work as expected.
It returns no error, but the window is resized to a different size
then what was put as an argument. However, if the same call with exact
same arguments is repeated few times it will eventually size the
window as requested.
This is an example how it looks:
2011-08-26 01:25:12.104 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.117 ShiftIt[5648:407] window resized to: 1366x913
2011-08-26 01:25:12.118 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.165 ShiftIt[5648:407] window resized to: 1262x913
2011-08-26 01:25:12.166 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.211 ShiftIt[5648:407] window resized to: 1158x913
2011-08-26 01:25:12.211 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.243 ShiftIt[5648:407] window resized to: 1054x913
2011-08-26 01:25:12.244 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.281 ShiftIt[5648:407] window resized to: 950x913
2011-08-26 01:25:12.282 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.309 ShiftIt[5648:407] window resized to: 846x913
2011-08-26 01:25:12.309 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.338 ShiftIt[5648:407] window resized to: 742x913
2011-08-26 01:25:12.339 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.381 ShiftIt[5648:407] window resized to: 638x913
2011-08-26 01:25:12.382 ShiftIt[5648:407] resizing to: 630x913
2011-08-26 01:25:12.436 ShiftIt[5648:407] window resized to: 630x913
If I close the drawer it works ok.
I also tried the UIElementInspector example app and manually set the
AXSize attribute for the same window (which is actually DrawerMadness
example app) and it behaves the same.
Do I miss something obvious or is this a bug?
Thanks for help
Filip
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden