Skip to content

Bugged wrapped text layout in 1.89 #5919

@xefinity

Description

@xefinity

Version/Branch of Dear ImGui:

Version: 1.89.1
Branch: master

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_opengl3.cpp (GLES2) + custom touch handling
Compiler: Clang 12 (bundled with Android NDK r23b)
Operating System: Android 10

My Issue/Question:

While testing my custom touch handling, I encountered a bug with TextWrapped rendering. If it is wrapped and scrolled past first line, then it starts rendering under other widgets from second line. It looks like to be caused by commit e0330c1, because after reverting it, I didn't encounter any issues with wrapped text rendering.

Screenshots/Video
Before reverting commit:
Before reverting commit

After reverting commit:
After reverting commit

Standalone, minimal, complete and verifiable example:

Scroll any TextWrapped past first line in demo windows (for example, in Console example).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions