mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-14 19:04:44 +00:00
Bugged wrapped text layout in 1.89 #5919
Labels
No labels
accidentally closed
android
backends
bug
building
clipper
coloredit
color spaces
cplusplus
data types
demo
disabled
doc
docking
dpi
drag drop
drawing/drawlist
dropped
dx12
enhancement
focus
font/text
gallery
help wanted
idle/power saving
ime
in progress
inputs
inputtext
internals
label/id and id stack
language bindings
layout
linux/bsd
menus
multi-contexts
multi-threading
multi-viewports
nav
news/info
opengl
optimization
osx/ios
overlap
plot/graph
popups
question
scrolling
selection
settings
sliders/drags
style
tables/columns
tabs
test wanted
tools
tooltips
tree
tricks & tips
useful widgets
vulkan
web
window pos/depth
window sizing
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ocornut/imgui#5919
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
After reverting commit:

Standalone, minimal, complete and verifiable example:
Thank you for finding this.
I have pushed the fix
bd96f6e+ a basic regression test inocornut/imgui_test_engine@7eb6f2a4b5 (diff-842989679e)