Skip to content

1.89.5

Compare
Choose a tag to compare
@elect86 elect86 released this 23 Jun 10:54
· 155 commits to master since this release

v1.89.5

1.89.5: April release!

Reading the changelog is a good way to keep up to date with the things Dear ImGui has to offer, and maybe will give you ideas of some features that you've been ignoring until now!

📣 Click version number above to display full release note contents, sometimes randomly clipped by GitHub..

Dear ImGui is funded by your contributions and needs them right now.
If your company uses Dear ImGui, consider reaching out. See Sponsors page for details.

TL;DR

Changes

This is a followup to v1.89, v1.89.1, v1.89.2, v1.89.3, v1.89.4. We are trying to make more frequent releases. Because it sets a beat and may encourage teams to update more frequently.

All Changes:

  • InputText: Reworked prev/next-word behavior to more closely match Visual Studio text editor. Include '.' as a delimiter and alter varying subtle behavior with how blanks and separators are treated when skipping words. (ocornut/imgui#6067)
  • InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where isItemDeactivated() returns true, in order to allow usage without user retaining underlying data. While we don't really want to encourage user not retaining underlying data, in the absence of a "late commit" behavior/flag we understand it may be desirable to take advantage of this trick. (ocornut/imgui#4714)
  • Drag, Sliders: Fixed parsing of text input when '+' or '#' format flags are used in the format string. (ocornut/imgui#6259) [@idbrii]
  • Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register ownership to held modifier so it doesn't interfere with other code when remapping those actions. (ocornut/imgui#4828, ocornut/imgui#3255, ocornut/imgui#5641)
  • Nav: Made PageUp/PageDown/Home/End navigation also scroll parent windows when necessary to make the target location fully visible (same as e.g. arrow keys).
  • ColorEdit: Fixed shading of S/V triangle in Hue Wheel mode. (ocornut/imgui#5200, ocornut/imgui#6254)
  • TabBar: Tab-bars with TabBarFlag.FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). (ocornut/imgui#2702)
  • Rendering: Using adaptive tessellation for RadioButton, ColorEdit preview circles, Windows Close and Collapse Buttons.
  • ButtonBehavior: Fixed an edge case where changing widget type/behavior while active and using same id could lead to an assert. (ocornut/imgui#6304)
  • (WIP) IO: Input queue trickling adjustment for touch screens. Fixes single-tapping to move simulated mouse and immediately click on a widget that is using the ButtonFlag.AllowItemOverlap policy. (ocornut/imgui#2702, ocornut/imgui#4921)
    • This only works if the backend can distinguish TouchScreen vs Mouse. See 'Demo->Tools->Metrics->Inputs->Mouse Source' to verify.
    • Fixed tapping on BeginTabItem() on a touch-screen. (ocornut/imgui#2702)
    • Fixed tapping on CollapsingHeader() with a close button on a touch-screen.
    • Fixed tapping on TreeNode() using ImGuiTreeNodeFlags_AllowItemOverlap on a touch-screen.
    • Fixed tapping on Selectable() using ImGuiSelectableFlags_AllowItemOverlap on a touch-screen.
    • Fixed tapping on TableHeader() on a touch-screen.
  • IO: Added io.addMouseSourceEvent() and MouseSource enum. This is to allow backend to specify actual event source between Mouse/TouchScreen/Pen. (ocornut/imgui#2702, ocornut/imgui#2334, ocornut/imgui#2372, ocornut/imgui#3453, ocornut/imgui#5693)
  • IO: Fixed support for calling io.addXXXX functions from inactive context (wrongly advertised as supported in 1.89.4). (ocornut/imgui#6199, ocornut/imgui#6256, ocornut/imgui#5856)
  • Backends: OpenGL3: Fixed GL loader crash when GL_VERSION returns null. (ocornut/imgui#6154, ocornut/imgui#4445, ocornut/imgui#3530)
  • Backends: OpenGL3: Properly restoring "no shader program bound" if it was the case prior to running the rendering function. (ocornut/imgui#6267, ocornut/imgui#6220, ocornut/imgui#6224)
  • (WIP) Backends: GLFW: Added support on Win32 only for io.addMouseSourceEvent() to discriminate Mouse/TouchScreen/Pen. (ocornut/imgui#2334, ocornut/imgui#2702)
  • Backends: GLFW: Fixed key modifiers handling on secondary viewports. (ocornut/imgui#6248, ocornut/imgui#6034)
  • TestSuite: Added variety of new regression tests and improved/amended existing ones
    in imgui_test_engine repository (at the moment still private until some license issues gets clarified and solved).