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

Copy to clipboard for error messages #465

Open
weberjn opened this issue Dec 29, 2023 · 6 comments
Open

Copy to clipboard for error messages #465

weberjn opened this issue Dec 29, 2023 · 6 comments

Comments

@weberjn
Copy link

weberjn commented Dec 29, 2023

If there is a popup showing an error, e.g. "Path does not chain with any of the trust anchors" in Verify an SSL Connection, it would be nice, if there was a copy button on the dialog to copy the error message to the clipboard. Then you could paste it into google instead of having to type it up.

@kaikramer
Copy link
Owner

Yeah, sounds reasonable. Do you want to implement this?

@weberjn
Copy link
Author

weberjn commented Jan 2, 2024

Guess one would have to use the jbCopy Button code from DErrorDetail and make a image button as in DViewCertificate.jbViewPublicKeyDetails.
But I'm not into Swing anymore.

@kaikramer
Copy link
Owner

Guess one would have to use the jbCopy Button code from DErrorDetail and make a image button as in DViewCertificate.jbViewPublicKeyDetails.

That's certainly a good approach. Unfortunately it's by far not enough as this is a standard Swing dialog:

grafik

There is no way to add custom buttons to it. We would have to write our own custom dialog to replace it.

But I'm not into Swing anymore.

That's a pity, developers with Swing knowledge are hard to find.

@jgrateron
Copy link
Contributor

I have in mind to create this window, to see all the validation of a certificate, then I will show you the progress.

image

image

@kaikramer
Copy link
Owner

@jgrateron That's a good idea!

@kaikramer
Copy link
Owner

@jgrateron But please keep in mind that similar code already exists in the org.kse.gui.error package. It is better to extend the code there than to write something completely new.

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

3 participants