Skip to content

Conversation

@damienmarchal
Copy link
Contributor

Message emitted using the msg_* API are often associated with the associated filename/lineno.

Add a tooltip when overlaying the cursor on top of the "warning" sign showing the message
Capture d’écran du 2025-10-14 20-56-40

Add a menu entry "Go to Error..." that automatically opens the associated editor at proper filename/lineno.
menu-goto

std::stringstream tmp;
for(auto message : messages)
{
tmp << message.messageAsString();
Copy link
Contributor

@hugtalbot hugtalbot Oct 16, 2025

Choose a reason for hiding this comment

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

Here all the messages (possibly huge) will be displayed ..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are totally right, we can focus on the last one or add some visual "clipping".

@hugtalbot
Copy link
Contributor

Hi @damienmarchal

Nice, again, I would love to see it firstly implemented in SofaGLFW.
The Qt plugin might be just removed from the SOFA distribution packages after the v25.12

@damienmarchal
Copy link
Contributor Author

damienmarchal commented Oct 16, 2025

So it is harmless to merge this it.
EDIT: and when there is a rightClick menu in the imgui scenegraph bring the feature in.

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

Labels

enhancement New feature or request pr: status ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants