Re: Problem with setting window size with drawers
Re: Problem with setting window size with drawers
- Subject: Re: Problem with setting window size with drawers
- From: Filip Krikava <email@hidden>
- Date: Wed, 07 Sep 2011 00:18:41 +0200
Thanks for the reply!
I discovered one more thing - I only have this weird behavior when I
first resize it to take it greater part of the screen. For example if
I first manually size to: w=1296 h=539 and then in UIElementInspector
resize it: w=500 h=250 it will ended up being: w=1192 h=409
But if I start with a smaller window: w=456 h=480 and resize it to
w=400 h=400 it works.
In work for you in all cases? I guess in either cases I should fill in a bug.
/cheers
Filip
On Tue, Sep 6, 2011 at 7:54 PM, Patti Hoa <email@hidden> wrote:
> It works fine for me on Lion when resizing the DrawerMadness app with the Accessibility Inspector and drawers opened, with no need to repeat. If this is still a problem for you on 10.7, please file a bug with details.
> By the way, the Accessibility Inspector on 10.7 Developer package (formerly UIElementInspector) makes it very easy to test the setting of AXSize. There's editable text fields to allow user to type in the size width and height to set for AXSize.
>
> Patti
>
> On Aug 25, 2011, at 4:29 PM, Filip Krikava wrote:
>
>> 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
>
>
_______________________________________________
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