Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Copy paste from a Notification
We display unexpected errors in a com.vaadin.ui.Notification.
The user can only click on the Notification to remove it, it is not possible to do a copy/past to capture the error message.
A copy/past would be handy so that they can pass te information to our service desk.
Is this possible with Notification?
Indeed it looks like text selection doesn't work there. Apparently, VNotification eats up mouse-down events in onEventPreview(), so you can't select anything.
You could file a ticket about it.
Oh, for a workaround... Well, you could of course fix it yourself in the client-side code. Or use a modal Window instead, you just need a bit more code with that, but I think you can quite well replicate the behaviour of a Notification. Without the problem with text selection, of course.