Skip to content

ImGui: File menu (screenshot, console, quit) and Help About#176

Merged
timfox merged 2 commits into
mainfrom
cursor/imgui-file-quit-0a71
May 4, 2026
Merged

ImGui: File menu (screenshot, console, quit) and Help About#176
timfox merged 2 commits into
mainfrom
cursor/imgui-file-quit-0a71

Conversation

@timfox
Copy link
Copy Markdown
Owner

@timfox timfox commented May 4, 2026

Summary

Improves the Vulkan ImGui inspector menu bar for day-to-day debugging.

Changes

  • File → Screenshot (JPEG) — queues screenshotJPEG silent (same as console).
  • File → Toggle console — runs toggleconsole.
  • File → Quit — queues quit (clean exit).
  • Help → About inspector — modal with Q3_VERSION, Dear ImGui version, Vulkan vs OpenGL label, glConfig vendor/renderer/version strings, and a short note on r_imgui / F11.

Files

  • src/renderers/vulkan/inspector/vk_imgui.cpp
  • CHANGELOG.md ([Unreleased] → Added)

Validation

  • ./scripts/compile_engine.sh vulkan
  • ctest -R smoke_test
Open in Web Open in Cursor 

cursoragent and others added 2 commits May 4, 2026 04:18
The menu item previously did nothing; it now appends "quit" to the
command buffer so the client exits cleanly.

Co-authored-by: Tim Fox <timfox@outlook.com>
Add screenshotJPEG silent and toggleconsole from the inspector menu bar;
Help → About shows engine label, ImGui version, GPU vendor/device/API
strings, and r_imgui/F11 usage hint.

Co-authored-by: Tim Fox <timfox@outlook.com>
@cursor cursor Bot changed the title ImGui: File → Quit runs engine quit command ImGui: File menu (screenshot, console, quit) and Help About May 4, 2026
@timfox timfox marked this pull request as ready for review May 4, 2026 23:05
@timfox timfox merged commit 889a4d1 into main May 4, 2026
45 of 53 checks passed
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security review completed for PR #176.

No medium, high, or critical vulnerabilities were identified in the added/modified code. The new ImGui menu actions dispatch fixed local engine commands (screenshotJPEG silent, toggleconsole, quit) without interpolating user-controlled input, and the About modal renders GPU/version strings through constant format strings. I found no prior unresolved automation review threads to carry forward.

Open in Web View Automation 

Sent by Cursor Automation: Find vulnerabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants