Closed Bug 1172505 Opened 9 years ago Closed 2 years ago

hit region support broken for high resolution devices

Categories

(Core :: Graphics: Canvas2D, defect)

39 Branch
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jan.fiegert, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase, Whiteboard: gfx-noted)

Attachments

(1 file)

Attached file hitregion-0.0.0.tgz
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150604162752

Steps to reproduce:

0. find a computer with a high-res (or retina) display, i used an 2014 MacBook Pro
1. open Firefox
2. open developer tools
3. check window.devicePixelRatio === 2
4. open the example from the attachment
5. move the mouse over the left or right eye 

6. cross check with an 'low-res' display ( window.devicePixelRatio === 1)



Actual results:

- the browser did not fire an event with event.region set


Expected results:

- the browser fires the event when you move the pointer over the region highlighted 
  by red circle
Small correction regarding the EXPECTED RESULTS section:

- the browser shall fire an event with event.region set when moving the pointer over an eye.
OS: Unspecified → Mac OS X
Hardware: Unspecified → x86_64
ensure that canvas.hitregions.enabled = true
Confirming purely based on the fact that we already have a bug on file from someone who noticed the automated test for this was failing on their hidpi machine (but assumed that was a problem with the test rather than the code).

Rik, do you have time to look into this?
Blocks: 1119470
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(cabanier)
Keywords: testcase
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86_64 → All
See Also: → 1148077
Component: Untriaged → Canvas: 2D
Whiteboard: gfx-noted
No, I don't  have time at the moment :-(
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(cabanier)

Per bug 1780385 I think this code might be gone?

Flags: needinfo?(emilio)

Yes

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(emilio)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: