incubator-ponymail icon indicating copy to clipboard operation
incubator-ponymail copied to clipboard

Bug: GUI squashes deeply nested conversations

Open sebbASF opened this issue 7 years ago • 2 comments

Something is wrong with the layout of threaded mode.

If a conversation is deeply nested (e.g. [1]), the RHS margin of the message text is gradually moved leftwards, reducing the usable space.

It looks like additional padding is being added to the RHS every time another level is added.

[1] https://lists.apache.org/[email protected]:lte=24M:mod_lua

sebbASF avatar Jan 07 '18 13:01 sebbASF

Suggestion: add a max_nesting var (set it to something sane, like 12) when levels go above that, remove the bs-callout and padding from the email, letting it retain the same dimensions as the parent. While not the perfect solution, it's probably the best compromise I can think of. It's either that or we remove the nesting altogether, and I think that would be a bit much.

Humbedooh avatar Jan 07 '18 15:01 Humbedooh

IMO the nested bodies should all have the same RH margins; only the LH margin needs to change in order to support the nesting markers. To me it looks silly to add extra padding.

Adding a max_nesting level should be a separate feature. Note that a sensible maximum will depend on the display width.

sebbASF avatar Jan 07 '18 23:01 sebbASF