<AWT Dev> Pinch to zoom
Denis Fokin
denis.fokin at gmail.com
Sun Sep 28 00:24:26 UTC 2014
Hi Anthony,
At long last, I am on the list. It seems, I will spend some time getting access to the cr.openjdk and so on.
Thank you,
Denis
> On 09 Sep 2014, at 14:44, Anthony Petrov <anthony.petrov at oracle.com> wrote:
>
> Hi Denis,
>
> Long time no see. Did you miss AWT? :)
>
> We would be glad to accept patches from you. However, I think you will need to sign an OCA before we can do that:
>
> http://www.oracle.com/technetwork/community/oca-486395.html
>
> --
> best regards,
> Anthony
>
>> On 9/8/2014 4:12 PM, Denis Fokin wrote:
>> Hi AWT team,
>>
>> I know a lot of people who miss “pinch to zoom” feature in Java.
>>
>> It is implemented for jdk 6 but the functionality does not work in jdk 7
>> and latter releases.
>>
>> Gesture related callbacks were mistakenly placed in NSWindowDelegate
>> instead of NSWindow.
>>
>> Please take a look at this simple move refactoring.
>>
>> http://web-dot.ru/openjdk/pinch-to-zoom-fix/webrev.00/index.html
>>
>> Actually, I would eliminate the macros AWT_NS_WINDOW_IMPLEMENTATION. It
>> is difficult to debug. Looks like it was added to avoid code duplication
>> but if AWTWindow_Normal and AWTWindow_Panel implementations are the same
>> we should reuse the same class.
>>
>> I have submitted a bug about the issue but it is not visible yet.
>>
>> Thank you,
>> Denis.
More information about the awt-dev
mailing list