-
Notifications
You must be signed in to change notification settings - Fork 3
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
Last word of help links not clickable #2763
Comments
|
Patch attached.
First the last word should be printed using help_print_word(), and then should the end of the click area be registered using end_link_area().
I think they could both go to CHAR_LINK_POINTER or both to CHAR_LINK_END, it probably wouldn't make a difference. |
branch: 2763_help_dialog_fix
Please review |
|
fixed: [18df85a] |
|
Important
This issue was migrated from Trac:
egmont
(@egmontkob)The last word of hyperlinks in the interactive help don't act on mouse clicks. This also implies that one-word links can't be clicked at all.
E.g. on the opening screen of the F1 help, the "Enter", "contents", "authors", "WARRANTY" links can't be clicked with the mouse. The last link, "GNU General Public License" is only followed if you click somewhere on "Gnu General Public " (including the trailing space), but not on "License".
Under "contents" there are many multi-word links, it's easy to verify that it's always the last word that doesn't work.
(My wild guess, without looking at the source, is an off-by-one bug somewhere in the code that wraps the text into lines.)
Note
Original attachments:
egmont
(@egmontkob) onMar 27, 2012 at 15:06 UTC
The text was updated successfully, but these errors were encountered: