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
cursor location in properties window is not OK #685
Comments
Hi, thanks for the report, although I don't think that we can do much about it as we use the rsyntaxapane library for our textarea. I guess you are talking about the "Default fontfamily" setting, right? Does the font of the properties panel text change after you switch to Monospace? Usually it should only change the font which is used in the resulting diagram. The properties panel should always use a Monospace font. |
I guess you are talking about the "Default fontfamily" setting, right? that's right Does the font of the properties panel text change after you switch to Monospace? Usually it should only change the font which is used in the resulting diagram. The properties panel should always use a Monospace font. Indeed it is not affected, but the problems associated with miscalculating the text width (mostly cursor shows at the wrong spot) disappear. |
Ok thanks, it's an interesting behavior which was not reported before (as far as I know) but good to know that the setting fixes the issue for you |
It appears that the problem appears when I'm working with a second display. |
I just typed a series of characters in the properties window
The cursor is at the end of the line but is shown some characters before it.
Also, when you click somewhere on a line, you are not exactly typing at the location where you clicked, but a little before that location.
If you select the entire line by triple-clicking, the last two characters are not highlighted.
I actually solved the problem by setting the font family in the settings from sans-serif to monospace and restarting
and then from monospace back to sans-serif and restarting again.
Which is strange, because the font family does not affect the font in the properties window. I have the impression that on a fresh install the properties window is using a width from the font in the diagram window.
Anyway my problem is solved, but I just wanted to signal this because the problem is annoying an d other users might bump into it.
This is umlet 15 on windows 10 with Java 17 (Java HotSpot(TM) 64-Bit Server VM (build 17.0.4+11-LTS-179, mixed mode, sharing))
The text was updated successfully, but these errors were encountered: