Bug 12110 - REGRESSION: selection rectangle doesn't appear at maps.yandex.ru
Summary: REGRESSION: selection rectangle doesn't appear at maps.yandex.ru
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Evangelism (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://maps.yandex.ru/moscow
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-01-04 05:35 PST by Alexey Proskuryakov
Modified: 2007-12-25 05:33 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2007-01-04 05:35:32 PST
Steps to reproduce:
1. Open http://maps.yandex.ru/moscow
2. Click and drag on the map.

Expected results: a selection rectangle appears while dragging; a zoomed map view is loaded after the mouse button is released.
Actual results: there is no visual indication while dragging, although the zooming does work.
Comment 1 Alexey Proskuryakov 2007-01-04 10:07:34 PST
The problem here is that mouseEvent.button numbers were changed to match Firefox and IE. This site performs browser sniffing to support shipping Safari:

	if(is_safari){
		function ___handleEvent(e){
			e.buttonL=e.buttonM=e.buttonR=false;
			if(typeof(e.button)!='undefined'){
				e.buttonL=(e.button==1);
				e.buttonM=(e.button==2);
				e.buttonR=(e.button==3);
			}

I guess there isn't much we can do here.
Comment 2 David Kilzer (:ddkilzer) 2007-01-04 11:03:43 PST
(In reply to comment #1)
> I guess there isn't much we can do here.

The first(?) thing Mark Malone does is to send email to someone at the site to ask them to correct their browser sniffing JavaScript code.

I'm guessing a message in Russian would be more well-received than one in English. :)

Isn't there a tech note or developer web page that describes how to "properly" check for browser features, too?
Comment 3 Alexey Proskuryakov 2007-01-04 11:33:01 PST
(In reply to comment #2)
> I'm guessing a message in Russian would be more well-received than one in
> English. :)

Yes, I did send my feedback to <http://feedback.yandex.ru/?from=maps>.
Comment 4 Mark Rowe (bdash) 2007-01-16 19:42:16 PST
<rdar://problem/4928690>
Comment 5 Maciej Stachowiak 2007-02-07 03:12:11 PST
Downgrading to P2, since this is an evangelism issue and those can't be showstoppers, generally.
Comment 6 Gennady 2007-06-30 10:56:06 PDT
this bug still applies in current version 2007-07-30 
however in Safari 2.0.3 zoom rectangle did show up but was badly following mouse
Comment 7 Alexey Proskuryakov 2007-12-25 05:33:13 PST
I can no longer reproduce this.