FileChooser shown from modal dialog results in unresponsive UI
Opened this issue · 4 comments
karlvr commented
I have a modal dialog that presents a JFileChooser
using VAqua. After choosing a file and closing the file chooser dialog, I can interact with my modal dialog, but after I close the modal dialog, my application UI doesn't receive clicks.
This only occurs with VAqua and with a modal dialog, and only if I present the dialog using:
VSheet.showDialog(dialog, null);
I am investigating, but posting an issue in case it rings any bells!
karlvr commented
OK, I can resolve the issue by not calling setModal(true)
on my dialog before showing it. Something funny happening in connection with sheets and a dialog that is modal?
cbfiddle commented
Apparently so, but I was not aware of it.
Sheets are already modal, so there is no need to enable Java’s modal window support, which causes it to respond to events in a special way.
… On Jun 17, 2022, at 7:29 PM, Karl von Randow ***@***.***> wrote:
OK, I can resolve the issue by not calling setModal(true) on my dialog before showing it. Something funny happening in connection with sheets and a dialog that is modal?
—
Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABSSJGKXNNE26MRVS3BL6IDVPUYCHANCNFSM5ZDZ2AQA>.
You are receiving this because you are subscribed to this thread.
karlvr commented
@cbfiddle yeah, a funny one... do you think we should add a correction of this modal status into the client?
cbfiddle commented
If it is possible, then it sounds like a good idea.
… On Jun 20, 2022, at 1:26 PM, Karl von Randow ***@***.***> wrote:
@cbfiddle <https://github.com/cbfiddle> yeah, a funny one... do you think we should add a correction of this modal status into the client?
—
Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABSSJGNCB4BJSFUNKQR3W4DVQDHWBANCNFSM5ZDZ2AQA>.
You are receiving this because you were mentioned.