-
Notifications
You must be signed in to change notification settings - Fork 37
popupContextWindow in listBox #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I cant reproduce, can you specify it further? |
and then It freezes after right click on listbox |
I fixed this in the test2 branch Also, this feature a reworked backends (closer to cpp).. may you give it a try? I have no way to test against gl profiles lower than 3.0 |
I have tried commit 78ede0a It works there but I see previous issues again - no text in context menus. |
pull the master, I merged it back. The big change there is a general rework on the backend in order to narrow the gap with the cpp. I took the chance of an original commit modifying those to do that. Also, the text in the context menus is also fixed, we shall pass -1 as Null when it comes to Strings. I'll add this to the readme Also2: could you test the gl2 samples? It runs fine on me, but of course it picks 4.5, which is the highest profile on mine.. (I cant specify it since there profiles doesnt exist prior 3.0) |
I have pulled latest master changes. It works to certain degree. When I am interacting with scrollable panels It freezes entire application. I am testing in on opengl 3+. You can simulate this bug in imgui demo application (demo section SimpleLayout - Scrolling). Same problem with drag & drop feature. |
I use imgui for only one screen in my application. When I close the screen I call destroy as noted below. But when I recreate this screen (call init { } again) I see only black screen. Not sure If something has changed or am I doing something wrong (Previously I did not have this problem). This is how I use imgui with libgdx:
Render method:
and destroy method called when user exits this screen:
And here is input processor (modified for latest changes in master):
|
Ok, freeze shall be solved by now. Scrollbar has been quite intensively reworked by Omar though
|
Ok freeze is gone. I have added checkError in mainloop end and when I see black screen (when imgui is created) I am getting this error:
|
Are you re-instantiating both glfw and gl impl?
it could make sense to extract the constructor initialization and make it exactly as cpp |
Yes as mentioned above:
I am reusing existing libgdx window. |
I could create libgdx+imgui demo to reproduce this issue If you want. |
I think we may do something like this for the long term, in order to have a real test scenario to test/debug against (I'm also keeping an eye on this) But for the moment I managed to get the same exception with a simple
|
Try again please Also, do not call |
I think I don't need to call glfw terminate in both ways because I don't want to close my window. Anyway with latest changes It works correctly now. Will let you know how It will work on mac and opengl 2. |
GL2 & GL3 works on Linux = ✔️ |
Could you give a try to the native imgui regarding GL2 on Mac? |
#79 (comment) |
Unfortunately that cant be culprit in the case.. I created a parallel test in order to debug (you can find it here), are you available to go together step by step? |
Ok, let's see if you can first see the screen cleared with the default color background, run the sample and report :) |
Crashes on mac:
|
Right, skipped, 2c6b3d6 |
crash
|
do you have something more? the main thread warning is suspicious, is the application doing fancy things with threads? |
sorry, my bad, ImGuiOpenGL2_Mac was still using the wrong backend, try again please, 64fa3fa |
That thread issue was solved by |
I think there is problem with imgui and libgdx compatibility (on mac). |
fe2c00a, do you see the square? |
forgot to push |
Yes there is a square. |
Do you have any idea what could be the problem? |
sorry, but I was working on re-structuring the project implementing a multi-module structure Now, you should have the Confirm me everything is working as previously and the square is still there and we move forward |
It works correctly as previously. |
ok, now try 21223fd |
Yes It works. |
97d8a7d ? |
It works. |
You could try adding libgdx and combining It with imgui. |
The problem is that you cant explicitely ask for gl contexts lower than 3.2 And I dont have a machine to test |
We can close this issue as the problem was solved and macos compatibility related stuff will be in #79 |
This has been working previously but now It freezes entire application with latest changes:
The text was updated successfully, but these errors were encountered: