-
Notifications
You must be signed in to change notification settings - Fork 758
[Preview] 'Split console' overlays the debugger variable tooltip #5134
Comments
Thinking about it there seem to be two situations worth considering: What would you say should happen in such situations? |
@juliandescottes do you think we could use a XUL wrapper here? |
From a user perspective I would expect the tooltip to overlay just like normal, that is, with part of it overlaying over the normal html content (and not be confined to the debugger window). Don't know if this is technically possible though, because afaik the debugger is in its own |
XUL is on the way out, we shouldn't invest in this direction. We should design tooltips to fit in the devtools frame. Regardless of XUL, the DevTools tooltip is creating tooltip containers in the topmost devtools frame, so even without XUL we have no overlapping issues between devtools panels (eg splitconsole, devtools toolbar etc). It also takes care of calculating best position for the tooltip. I would be concerned with having the debugger relying on a different tooltip implementation on github vs mc. Given the current workflow I think I'd prefer the debugger to keep a custom implementation, even if it's more limited. Calculate the available space in the debugger frame and anchor the tooltip accordingly. |
@bgrins is there any plan to replace xul:popup/xul:panel with something else? If not a plan, has it been discussed? I find it quite frustrating to limit devtools UX because of XUL being deprecated. |
I would like to work on this My approach would be to calculate the best position to open the tool-tip ( top or bottom ) based on the position of element ( hovered one ) |
/claim |
Thanks for claiming the issue! 👋 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 🦊 Debugger team! |
Great @tripurari001 ! Let us know if we can help along the way :) |
sure @darkwing , Thanks |
Hey, @tripurari001, I'm un-assigning you as it's been a month. Feel free to re-claim it if you have time |
yep! that is true |
STR:
Toggle split console [esc])
AR:
The variable tooltip is cropped:
ER:
Don't crop. Either have the tooltip above the
Split console
. Or: Take the opened console into consideration while calculation into which direction the tooltop should open (So in this case not to the bottom but to the top).The text was updated successfully, but these errors were encountered: