debugger icon indicating copy to clipboard operation
debugger copied to clipboard

[CallStack] Long function names are not shown completely in the call stack view

Open julienw opened this issue 9 years ago • 10 comments

See attachment: capture d ecran de 2017-06-23 17-52-54

I'm on Linux in case this is important.

julienw avatar Jun 23 '17 15:06 julienw

What's especially weird is that the ellipsis is at the start and not at the end... I'm using the french locale.

julienw avatar Jun 23 '17 16:06 julienw

Issue #3259 was closed as duplicate of this one. Attaching my screenshot here, because even if both issues deal with function names being truncated, the STRs are different.

image

The issue here occurs when there is not enough space to display both the function name and the script location. The function name is truncated, making it difficult to understand the call stack.

Edit: linking to some related comments with UI proposals

  • https://github.com/devtools-html/debugger.html/issues/3380#issuecomment-317901959
  • https://github.com/devtools-html/debugger.html/issues/3259#issuecomment-312924995

juliandescottes avatar Aug 22 '17 17:08 juliandescottes

@violasong what do you think?

jasonLaster avatar Dec 15 '17 15:12 jasonLaster

I still like the ideas mocked up in #3380 - truncating the filename with ellipsis, or (assuming filenames are worth the vertical space), breaking filename onto second row. https://github.com/devtools-html/debugger.html/issues/3380#issuecomment-317901959

If we truncate, user should be able to hover to view a tooltip that contains the full name/filename.

violasong avatar Dec 22 '17 01:12 violasong

Yeah, i feel like we should switch to truncating by the filename for now and show the full path with a tooltip.

I'd like to revisit the pause state UI in 2018 and design a more opinionated call stack.

jasonLaster avatar Dec 22 '17 13:12 jasonLaster

/claim

lukaszsobek avatar Feb 04 '18 19:02 lukaszsobek

Thanks for claiming the issue! :wave:

Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.

:fox_face: Debugger team!

claim avatar Feb 04 '18 19:02 claim

/unclaim

lukaszsobek avatar Feb 17 '18 07:02 lukaszsobek

Done :+1:

claim avatar Feb 17 '18 07:02 claim

Moving this to the icebox, we can re-evaluate at the start of the next release

jasonLaster avatar Mar 14 '18 21:03 jasonLaster