Andrew Zonenberg
Andrew Zonenberg
Fixed in 954776c42601cb022eb5f4aadbadd9edf5c8ebdc
I'm using ImGui::IsWindowHovered() right after Begin() as you suggested in https://github.com/ocornut/imgui/issues/316#issuecomment-137420317. That was from 2015 so it's possible there's a better way now :)
If I use ImGui::IsItemHovered(), the popup appears as expected even when the window is docked. But as soon as I let go of the right mouse button, the popup vanishes....
```c++ if(!ImGui::Begin(GetID().c_str(), &open, ImGuiWindowFlags_NoScrollWithMouse)) { //tabbed out, don't draw anything until we're back in the foreground ImGui::End(); return true; } //Check for right click on the title bar if(ImGui::IsItemHovered() &&...
The IsMouseHoveringRect seems to be redundant if using IsItemHovered() and I removed it with no change to behavior.
Confirmed, using IsMouseReleased() to spawn the popup fixes the immediate problem. Keeping this ticket open until you find and fix the focus bug, you can close once that's finished. Thanks...
Even better, works like a charm.
Actually it seems the sequence number is sometimes 32 bit, i'm not clear on how it determines which code path to use.
See figure 2-1 on page 25 of https://docs.xilinx.com/v/u/en-US/ug483_7Series_PCB. I'm talking about option C. If you can figure out a better way to describe this in text (or want to contribute...
Can you please resubmit this as a pull request against https://github.com/ngscopeclient/scopehal/ so we can properly review and merge? This patch doesn't actually change any files in this repository :)