Closed Bug 830684 Opened 12 years ago Closed 11 years ago

Sidebar toolbox height is 1px higher than the breadcrumbs on mac

Categories

(DevTools :: Framework, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 25

People

(Reporter: paul, Assigned: paul)

References

Details

Attachments

(5 files, 1 obsolete file)

No description provided.
What version of osx do you have?
Flags: needinfo?(fayearthur)
(In reply to Paul Rouget [:paul] from comment #2) > What version of osx do you have? I've seen this happening sometimes on my machine (Mountain Lion), but not always.
I have 10.8 and a Retina.
Flags: needinfo?(fayearthur)
Heather, can you attach a screenshot please?
Flags: needinfo?(fayearthur)
Here's a screenshot of it.
Flags: needinfo?(fayearthur)
(In reply to Heather Arthur [:harth] from comment #6) > Created attachment 705210 [details] > screenshot of the 1px difference > > Here's a screenshot of it. Can I ask to take a screenshot of the whole toolbox (I want to compare the font size).
Attached image Fedora Screenshot
Far worse on Fedora (Gnome 3)
Attached image Issue present on XP
Also present on XP.
Priority: -- → P2
Assignee: nobody → paul
It seems that toolbar height vs. sidebar tabs height is completely and randomly different on each platform.
I suspect that it is related to font-size / line heights.
Attached patch Patch v1 (obsolete) — Splinter Review
This should make the whole thing font-size agnostic (I needed to replicated the min-height of the button in the breadcrumbs). Not tested on Windows and mac.
Attachment #770767 - Flags: feedback?(scrapmachines)
Attachment #770767 - Attachment is obsolete: true
Attachment #770767 - Flags: feedback?(scrapmachines)
Attachment #770768 - Flags: feedback?(scrapmachines)
Attachment #770768 - Flags: review?(vporof)
Comment on attachment 770768 [details] [diff] [review] Patch v1 (fixed typo) Review of attachment 770768 [details] [diff] [review]: ----------------------------------------------------------------- I don't have any reason to not r+ this, but I'm little worried that this will not definitively fix the problem. See my questions below. ::: browser/themes/linux/devtools/common.css @@ +281,4 @@ > -moz-padding-start: 6px; > margin: 0; > min-width: 78px; > + min-height: 32px; Is the sister container (the toolbar with breadcrumbs in the inspector and debugger) always guaranteed to be higher than 32px? I'm trying to understand why you added a min-height here. Also, what happens if the toolbar doesn't contain a button? In that case, it doesn't sound like its height will match the sidebar tabs height (this used to be the case with the network monitor for a while).
Attachment #770768 - Flags: review?(vporof) → review+
The other toolbars have a guaranteed min-height. > Also, what happens if the toolbar doesn't contain a button? I don't know.
Whiteboard: [land-in-fx-team]
(In reply to Paul Rouget [:paul] from comment #15) > The other toolbars have a guaranteed min-height. > How? Might want to explain that in the CSS.
+comments
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 25
Comment on attachment 770768 [details] [diff] [review] Patch v1 (fixed typo) patch is already in production.
Attachment #770768 - Flags: feedback?(scrapmachines) → feedback+
No longer blocks: DevToolsPaperCuts
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: