Closed
Bug 1254454
Opened 9 years ago
Closed 9 years ago
Arrow twisties disappear in narrow window
Categories
(DevTools :: Memory, defect, P2)
DevTools
Memory
Tracking
(firefox47 affected, firefox48 fixed)
RESOLVED
FIXED
Firefox 48
People
(Reporter: magicp.jp, Assigned: fitzgen)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160307063917
Steps to reproduce:
1. Start Nightly
2. Open DevTools > Memory
3. Switch view to "Dominators" (or "Aggregate", Dominators view is easy for reproduce)
4. Take snapshot
5. Narrowing heap-view
Actual results:
Twisties are hidden.
Expected results:
Don't hide twisties in narrow window.
Blocks: memory-frontend
Has STR: --- → yes
status-firefox47:
--- → affected
status-firefox48:
--- → affected
Component: Untriaged → Developer Tools: Memory
OS: Unspecified → All
Hardware: Unspecified → All
Assignee | ||
Comment 1•9 years ago
|
||
This is not intentional, and I have tried fixing this multiple times (clearly I am terrible with CSS). I mentioned this issue in another bug, but can't remember which one... Yes, *very* annoying!
Ah, here is the bug: bug 1248891
Will turn this bug into the arrow issue, let that bug be about the table cells.
Priority: -- → P2
See Also: → 1248891
Summary: [DevTools][Memory] Don't hide twisties in narrow window → Arrow twisties disappear in narrow window
Probably this issue will be solved, if overflow property is removed. And Bug 1254458 also.
memory.css line:464
.heap-tree-number,
.heap-tree-percent,
.heap-tree-item-name {
white-space: nowrap;
- overflow: hidden;
}
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8728508 -
Flags: review?(vporof)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•9 years ago
|
||
This demonstrates how the arrows do not disappear anymore with this patch applied.
Thanks magicp!
Comment 5•9 years ago
|
||
Comment on attachment 8728508 [details] [diff] [review]
Fix disappearing arrow twisties in memory tool when narrow
Review of attachment 8728508 [details] [diff] [review]:
-----------------------------------------------------------------
r+ but see below.
::: devtools/client/themes/memory.css
@@ -452,5 @@
> .heap-tree-number,
> .heap-tree-percent,
> .heap-tree-item-name {
> white-space: nowrap;
> - overflow: hidden;
This doesn't take care of the toolbox itself resizing, and the table will start overflowing horizontally in that case, and a scrollbar will appear. This might be ok, but if not desirable, a better fix would be making only these changes:
.heap-tree-item-field.heap-tree-item-name > .theme-twisty {
min-width: 14px; /* this used to be only `width: 14px` in dark/light-theme.css */
}
.heap-tree-item-field.heap-tree-item-name > :last-child {
overflow: hidden;
text-overflow: ellipsis;
}
Attachment #8728508 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Thanks, Victor!
We have another bug open for making horizontal scrolling work better. We do want to be able to scroll deeply nested things into view, rather than hide them behind ellipses.
Keywords: checkin-needed
Keywords: checkin-needed
Comment 8•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•