Skip to content
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

Closing a tab with shortcut bypasses the confirm dialog #48

Open
joeha480 opened this issue Nov 27, 2017 · 0 comments
Open

Closing a tab with shortcut bypasses the confirm dialog #48

joeha480 opened this issue Nov 27, 2017 · 0 comments

Comments

@joeha480
Copy link
Contributor

joeha480 commented Nov 27, 2017

A tab with unsaved changes can be closed without a confirmation dialog by using the shortcut CTRL+F4 or SHORTCUT+W.

Doing Event.fireEvent(t, new Event(Tab.TAB_CLOSE_REQUEST_EVENT)) doesn't work, because it doesn't close the tab.

See https://bugs.openjdk.java.net/browse/JDK-8091261 for a possible workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant