fabriciochamon / DearPyGui_Extend

Dear Py GUI extensions and custom widgets.
MIT License
26 stars 2 forks source link

segfault #1

Closed adgbu closed 1 year ago

adgbu commented 1 year ago

Hi! I'm trying to run the layout example but it immediately crashes with a Segfault. I have a virtual environment with Python 3.9.16 + dearpygui + some other requirements installed via pip. I've cloned DearPyGui_Extend repo and installed into the virtual env with python setup.py install. After that I try to run the layout example, which generates a Segfault. No other output.

I get the same on "native" Windows 10 (VSCode) aswell as under a WSL2 Ubuntu VM. Is it something I've done or is it a bug?

fabriciochamon commented 1 year ago

Hi. Could you try an isolated venv with just DearPyGui_Extend installed ? (It should also install the additional requirements: dpg/fileseq).

I've just tested a VM with Ubuntu 22, python 3.9.17, and venv. Running the layout examples runs fine, so I assume it is not an user error on your side, but rather some incompatibility with a pre-installed version of dearpygui.

adgbu commented 1 year ago

My bad. It was something in my code. The vanilla examples worked.

Now that I have tried it i realise that still cannot control the height of rows. They are always equally distributed. Same limitation as plain dpg table, which makes sense for a wrapper. :)

I'm looking for a way to split a container horizontally in upper and lower part, where the split is resizeable and the container should fill available space in the window. (Like one can do with table columns horizontally).

fabriciochamon commented 1 year ago

That's correct, it does not have any support for row resizing, as you said, its a limitation of dpg. I'll have a look at the global mouse event and see whether I can grab the current row being clicked on, maybe fire up a custom resize callback. I feel this is currently not possible in dearpygui, but have to dig deeper.