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

Toolbar > Help - Copy to clipboard of O-version and Chart path #3814

Open
rgleason opened this issue Apr 16, 2024 · 7 comments
Open

Toolbar > Help - Copy to clipboard of O-version and Chart path #3814

rgleason opened this issue Apr 16, 2024 · 7 comments

Comments

@rgleason
Copy link
Collaborator

rgleason commented Apr 16, 2024

Is your feature request related to a problem? Please describe.
Make it easier for the User to Copy the OpenCPN Version Number from the Toolbar > Help.
The OpenCPN Version number is at the top of the window, but it cannot be highlighted and copied to the clipboard.

tb-help

@leamas
Copy link
Collaborator

leamas commented Apr 16, 2024

This is actually non-trivial. The basic problem is that wxStaticText, the widget used to present text like this does not support selecting and copying text.

I have worked around this in the device dialogs like below. It works in this context where the only purpose is to display something
which can be copied. However, it looks like crap and to use it here in the regular display would make look even worse than today due to misaligned fields, etc.

It might be possible to do something similar to the device dialogs, hiding the copyable text in the normal view but still display it when needed. I agree that being able to select and copy version and paths fill a purpose.

image

image

@leamas
Copy link
Collaborator

leamas commented Apr 16, 2024

That said, could you please use the form when submitting bugs? Bugs are so much easier to read when they follow a common pattern. It also forces you to think about important things.

In this case you have not answered the problem in the header "Is your feature request related to a problem?" -- you have not described the problem. Instead you have answered another question in the form, but removed the relevant header. It does not make things easier, for sure.

@leamas
Copy link
Collaborator

leamas commented Apr 16, 2024

While on this widget we should perhaps consider to add a "Get help" link to CF.

@rgleason
Copy link
Collaborator Author

rgleason commented Apr 16, 2024

Also, perhaps easiest, only if possible.

Is there some way to click a button in the Help menu and send those files somewhere that can be accessed with the Version Number at the top?

Just an idea.
Or maybe just add the version number at the top of the files, only if not too difficult.

@rgleason
Copy link
Collaborator Author

Re: Get Help link to CF. Perhaps not, as Users will just do that rather than digging a little, reading the manual and learning. Is that perverse?

@rgleason
Copy link
Collaborator Author

Also, how about a hot url link that can be copied to clipboard for Chart path ?

@rgleason rgleason changed the title Toolbar > Help - Allow copy of the Version Number by the User Toolbar > Help - Copy to clipboard of O-version and Chart path Apr 16, 2024
leamas added a commit to leamas/OpenCPN that referenced this issue Apr 24, 2024
Foundations to make text in varous places copyable, like OpenCPN#3814
leamas added a commit to leamas/OpenCPN that referenced this issue May 5, 2024
Foundations to make text in varous places copyable, like OpenCPN#3814
leamas added a commit that referenced this issue May 5, 2024
Foundations to make text in varous places copyable, like #3814
@rgleason
Copy link
Collaborator Author

rgleason commented May 7, 2024

@leamas should this be closed?

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

No branches or pull requests

2 participants