服务器Linux下无法选择文件夹
geoyee opened this issue · comments
点加载网络参数的时候,会弹出一个窗口让我选择模型参数,但是我点哪个文件夹都没反应,这个是出窗口的时候的信息。
目前看起来可能是QT的问题,有下列参考:
- https://stackoverflow.com/questions/47847739/qfiledialog-gtkdialog-mapped-without-a-transient-parent
- https://forum.qt.io/topic/85997/gtk-warning-for-native-qfiledialog-under-linux
- https://stackoverflow.com/questions/44392504/run-python-gtk3-dialog-or-message-dialog-without-no-transient-parent-warning
@linhandev 韩哥空了看看呢,郑院士遇到这个问题。
@Youssef-Harby hello youssef, you can look at this if you are interested. In Linux, when we click to "load network parameters", a dialog will display for us to select model parameters, but we can't pushed to any folder. This image is the information, i think this is a problem in QT.
Thanks @geoyee, I will look at this
@geoyee , I cannot reproduce the problem, working just fine in my Ubuntu 20.04 VM
@geoyee , I cannot reproduce the problem, working just fine in my Ubuntu 20.04 VM
no problem, this problem has been solved by @linhandev : Just use QT's file chooser instead of the original GTK.
solved with this commit