<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>16078</bug_id>
          
          <creation_ts>2007-11-21 00:03:03 -0800</creation_ts>
          <short_desc>Google Maps zooming via the scroll wheel (almost) always zooms IN only (Safari 3/10.4.11)</short_desc>
          <delta_ts>2007-12-15 01:04:38 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://maps.google.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>GoogleBug</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abhay Saxena">ark3</reporter>
          <assigned_to name="Alexey Proskuryakov">ap</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61886</commentid>
    <comment_count>0</comment_count>
    <who name="Abhay Saxena">ark3</who>
    <bug_when>2007-11-21 00:03:03 -0800</bug_when>
    <thetext>Overview Description: 

On Google Maps, using the scroll wheel in the maps area should allow you to zoom in or out. Scrolling up should zoom in and scrolling down should zoom out (based on my experience in Firefox and Camino). In Safari both scroll directions generally zoom in. A rapid multi-click scroll down often causes both zooming out and in, which is easily visible if the map tile images are already loaded/cached.

Steps to Reproduce:

1. Load the URL http://maps.google.com/
2. Move the pointer over the map region.
3. Scroll up using the mouse scroll wheel, one click at a time. This should zoom in.
4. Scroll down using the mouse scroll wheel, one click at a time. This should zoom out, but usually doesn&apos;t.
5. Scroll down rapidly (i.e. many clicks in quick succession). 

Actual Results: 

3. Each click zooms IN one step (based on the scale on the left). This is correct.
4. Each click zooms IN one step (based on the scale on the left). This is WRONG!
5. The result is some amount of zooming in and some amount of zooming out. This is wrong.

Expected Results: 

3. Each click zooms IN one step (based on the scale on the left).
4. Each click zooms OUT one step (based on the scale on the left).
5. The map view zooms OUT many steps.

Build Date &amp; Platform:
Safari Version 3.0.4 (523.12)
Mac OS X 10.4.11 Build 8S165 (PPC/G4)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61887</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-11-21 00:04:56 -0800</bug_when>
    <thetext>Confirmed with r27628 (also 10.4.11 on PPC).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64173</commentid>
    <comment_count>2</comment_count>
      <attachid>17894</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-12-14 10:33:53 -0800</bug_when>
    <thetext>Created attachment 17894
proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64217</commentid>
    <comment_count>3</comment_count>
      <attachid>17894</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2007-12-14 15:25:17 -0800</bug_when>
    <thetext>Comment on attachment 17894
proposed fix

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64243</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-12-15 01:04:38 -0800</bug_when>
    <thetext>Committed revision 28745.

For the record, this was reproducible on Leopard/Intel, too.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>17894</attachid>
            <date>2007-12-14 10:33:53 -0800</date>
            <delta_ts>2007-12-14 15:25:17 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>16078r1_patch.txt</filename>
            <type>text/plain</type>
            <size>1612</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAyODcxMikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDctMTItMTQgIEFsZXhleSBQcm9za3VyeWFrb3YgIDxhcEB3ZWJr
aXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAg
IGh0dHA6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE2MDc4CisgICAgICAgIEdv
b2dsZSBNYXBzIHpvb21pbmcgdmlhIHRoZSBzY3JvbGwgd2hlZWwgKGFsbW9zdCkgYWx3YXlzIHpv
b21zIElOIG9ubHkgKFNhZmFyaSAzLzEwLjQuMTEpCisKKyAgICAgICAgKiBkb20vV2hlZWxFdmVu
dC5jcHA6IChXZWJDb3JlOjpXaGVlbEV2ZW50OjpXaGVlbEV2ZW50KToKKyAgICAgICAgRW5zdXJl
IHRoYXQgZGVsdGEgaXMgbmV2ZXIgcm91bmRlZCBkb3duIHRvIHplcm8gLSB3ZSBhcmUgZ2V0dGlu
ZyB2YWx1ZXMgbGVzcyB0aGFuIDEgZnJvbSAKKyAgICAgICAgbWFueSBtaWNlIG9uIE9TIFgsIGFu
ZCBHb29nbGUgbWFwcyBjb2RlIGFzc3VtZXMgc2Nyb2xsaW5nIGRvd24gaWYgZXZlbnQud2hlZWxE
ZWx0YSBpcyB6ZXJvLgorCiAyMDA3LTEyLTEzICBBbHAgVG9rZXIgIDxhbHBAYXRva2VyLmNvbT4K
IAogIC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B3aGVlbERlbHRhWCwgaW50IHdoZWVsRGVsdGFZLCBBYnN0
cmFjdFZpZXcqIHZpZXcsCg==
</data>
<flag name="review"
          id="7740"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>