Closed Bug 1367737 Opened 7 years ago Closed 7 years ago

Devtools ruler show decimal place

Categories

(DevTools :: Inspector, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jkt, Unassigned, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Attached image Selection_643.png
In dev tools I am seeing a decimal place for the y axis which doesn't seem to change and spans outside the box.

See attachment.
Probably missing some rounding in the code. This is the measurement tool, and the code for it is in: http://searchfox.org/mozilla-central/source/devtools/server/actors/highlighters/measuring-tool.js#297

On these lines, we should probably round the values before displaying them: http://searchfox.org/mozilla-central/source/devtools/server/actors/highlighters/measuring-tool.js#332-333

Matteo (:zer0) can mentor anyone who wants to get started on this bug, don't hesitate to ask questions.
Mentor: zer0
Keywords: good-first-bug
Priority: -- → P3
Hi
I am interested in working on this bug. Please let me know if I can take this.
Flags: needinfo?(zer0)
Hi Ritwik, glad to hear! You can definitely take it, feel free to ask anything you need.
Assignee: nobody → ritwikabhishek
Flags: needinfo?(zer0)
Status: NEW → ASSIGNED
Ritwik, are you still interesting in fixing this?

Sebastian
Flags: needinfo?(ritwikabhishek)
(In reply to Sebastian Zartner [:sebo] from comment #4)
> Ritwik, are you still interesting in fixing this?

Doesn't seem so. Therefore I unassign Ritwik now, so somebody else can pick this up.
Having said that, I cannot reproduce this issue. Jonathan, what are the steps to reproduce this?

Sebastian
Assignee: ritwikabhishek → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(ritwikabhishek) → needinfo?(jkt)
Could no longer replicate, lets close for now.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jkt)
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: