<AWT Dev> [9] Review Request: 8057788 [macosx] "Pinch to zoom" does not work since jdk7
Petr Pchelko
petr.pchelko at oracle.com
Mon Nov 10 17:52:17 UTC 2014
Hello, Denis.
Just one question: did you add this only to AWTWindow_Normal and not to AWTWindow_Panel intentionally? Why?
Will the feature still work in undecorated frames?
With best regards. Petr.
> On Nov 10, 2014, at 5:04 PM, Denis S. Fokin <denis.fokin at gmail.com> wrote:
>
> Hi Sergey,
>
> Thank you for the review. Do I need another reviewer to push?
>
> Thank you,
> Denis.
>
>> On 10 Nov 2014, at 15:12, Sergey Bylokhov <Sergey.Bylokhov at oracle.com <mailto:Sergey.Bylokhov at oracle.com>> wrote:
>>
>> Hi, Denis.
>> The fix looks fine.
>> Updated webrev for the current jdk layout:
>> http://cr.openjdk.java.net/~serb/denis/8057788/webrev.00 <http://cr.openjdk.java.net/~serb/denis/8057788/webrev.00>
>>
>> On 08.09.2014 16:12, 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 <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.
>>
>>
>> --
>> Best regards, Sergey.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20141110/6dc5b6bd/attachment.html>
More information about the awt-dev
mailing list