AO2-Client icon indicating copy to clipboard operation
AO2-Client copied to clipboard

Mac: Using a comma makes the user force doublespace click, thus an extra space.

Open dyviacat opened this issue 3 years ago • 2 comments

When typing a comma on client, it does not enter the space after the comma unless you double spacebar, thus causes an unnecessary space between clauses. It is very noticeable to other users and does not happen on Web.

If a user continues to click once and enter their message anyway, the message would just be entered like it was and the issue would not appear. This can be very unnecessary and misleading.

The first screenshot shows the issue and the second screenshot shows what it looks like if not double spaced.

Screen Shot 2022-08-14 at 8 43 45 PM Screen Shot 2022-08-14 at 8 49 19 PM

Steps to reproduce the behavior:

  1. Run Mac AO Client.
  2. Use a comma in a sentence.
  3. Press enter and see the issue.

Expected behavior: No unnecessary space between commas.

Version:

  • OS: macOS Monterey 12.5
  • Version or branch: 2.10.1

dyviacat avatar Aug 15 '22 00:08 dyviacat

this looks like a kerning issue (font issue). The space between a comma and a subsequent character is not being calculated correctly by Qt's font engine. I bet if the font is changed for this text box the problem will go away, or if you change a qt parameter to use a different font engine.

oldmud0 avatar Aug 18 '22 02:08 oldmud0

Still relevant on recent builds?

Salanto avatar Jul 10 '24 11:07 Salanto