Default button of "questdlg" not working in 2025a

answer = questdlg(quest,dlgtitle,btn1,btn2,btn3,defbtn)
When the dialogue box is opened, the default button is selected, but pressing ENTER won't click the button, and pressing ESC won't close the dialogue box.

4 Comments

Not for me. It's working fine. The dialog renders a bit slowly, perhaps, but the button and keyboard responses are as expected.
@Jianfei, doees this happen in a standalone call to the dialog, or only in the app?
Given @Matt J's data point, it would seem likely there's something in an app causing the issue, not the dialog itself.
@dpb It's working ok now. I'm still trying to repeat this issue. I had been using Java JFrame, which is a workaround to migrate an old GUI application that has lots of swing features. This line is triggered while running GUI callbacks. I'll come back to update this question if I can repeat the issue.
I should have guessed, but didn't connect the user name, @Jianfei <vbg>

Sign in to comment.

Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Products

Release

R2025a

Asked:

on 7 Sep 2025

Commented:

dpb
on 9 Sep 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!