Closed Bug 798746 Opened 12 years ago Closed 6 years ago

map.daum.net - Click and drag tile scrolling is broken

Categories

(Web Compatibility :: Site Reports, defect)

Firefox 18
x86
Windows 7
defect
Not set
normal

Tracking

(firefox17 unaffected, firefox18- affected)

RESOLVED WORKSFORME
Tracking Status
firefox17 --- unaffected
firefox18 - affected

People

(Reporter: zanadou, Unassigned)

References

()

Details

(Keywords: regression, Whiteboard: [mozTouchEvent] [needscontact])

Several map sites and/or mapping components that I use have some bugs that started in Firefox nightly when it recently updated to the v18.x branch. I've also confirmed this bug in the x86_64 version of the browser too.

For example, at Naver maps ( http://maps.naver.com ) and Daum maps ( http://map.daum.net ) the click and drag scrolling doesn't work at all (i.e. expected behavior is similar to Google Maps's (et. al.), click and drag scrolling.) Mousewheel zooming doesn't work at Naver as well (perhaps a separate bug).

Perhaps related to this is the similar lack of click and drag scrolling in the embedded use of Open Street Maps in Foursquare pages. For example, at this URL: http://foursquare.com/v/42893400f964a52054231fe3 the map should be click and dragable. (Also, is you have a Foursquare account, you can see it doesn't work on this page too: http://foursquare.com/explore .) Interestingly, the main site of Open Street Maps doesn't seem to have this problem.
Summary: Click and drag tile scrolling is broken on some "map" sites → Click and drag tile scrolling is broken on some map sites
Workaround: about:config > dom.w3c_touch_events.enabled = false
Blocks: 726615
Status: UNCONFIRMED → NEW
Component: General → DOM
Ever confirmed: true
Keywords: regression
Product: Firefox → Core
I think that this is web site bug.  This occurs on Chrome 24 w/ touch enabled.

If browser supports touch event, this site doesn't seem to handle mouse event.
This also happens with http://www.geocaching.com/map/.
So this is a website bug? Then I will contact the website owner.
(In reply to t-o-b-i-a-s from comment #3)
> This also happens with http://www.geocaching.com/map/.
> So this is a website bug? Then I will contact the website owner.

yes. web site bug.

ScriptResource.axd checks touchstart in window object.  If having this, this site/script doesn't handle mouse event.
No longer blocks: 726615
Depends on: win-touch-issues
Whiteboard: [mozTouchEvent]
This bug seems to have returned in the latest nightly build, even with "dom.w3c_touch_events.enabled" set to false. (User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20121209 Firefox/20.0 )

http://maps.naver.com and http://map.daum.net ... still work (web bug fixed?), but click and drag has stopped working at Foursquare (i.e. at: http://foursquare.com/v/42893400f964a52054231fe3 ) and at http://www.geocaching.com/map , among other sites. Ideas? More website bugs?
No longer depends on: win-touch-issues
(In reply to zanadou from comment #0)
> For example, at Naver maps ( http://maps.naver.com )

This one works fine now, both with mouse and touch.

> and Daum maps (
> http://map.daum.net ) the click and drag scrolling doesn't work at all

This one is still broken, you can use either touch or mouse, but not both. That means on touch devices the mouse doesn't work. Chrome has the same behaviour as us; this needs to be fixed by the website.

> For example, at
> this URL: http://foursquare.com/v/42893400f964a52054231fe3 the map should be
> click and dragable.

Same behavior as map.daum.net.
Component: DOM → Desktop
Product: Core → Tech Evangelism
Version: 18 Branch → Firefox 18
Reframing the title so it's about this and only this.
If there are other sites, please open separate bugs.

And switching to needsdiagnosis to create a clear explanation of where and how it is happening and suggesting a fix before any contact is attempted.
Summary: Click and drag tile scrolling is broken on some map sites → map.daum.net - Click and drag tile scrolling is broken
Whiteboard: [mozTouchEvent] → [mozTouchEvent] [needsdiagnosis]
In http://s1.daumcdn.net/svc/attach/U03/cssjs/mapapi/3.5.14/1484817966234/v3.js:

They decide which events to listen for based on supporting touch events (or not being Chrome or Android (Ga)):

> U = 'ontouchstart' in document.documentElement && (0 > navigator.userAgent.indexOf('Chrome') || Ga),
> c = U ? 'touchstart' : ua ? 'MSPointerDown' : 'mousedown';

To fix this, they should support devices that can send both touch and mouse events. It's possible they have code that does similar things elsewhere, but I didn't see any. They should check for that.

https://hacks.mozilla.org/2013/04/detecting-touch-its-the-why-not-the-how/ has some info that can be helpful.
Whiteboard: [mozTouchEvent] [needsdiagnosis] → [mozTouchEvent] [needscontact]
This WFM now with touch events enabled/disabled.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.