Jump to content
You must now use your email address to sign in [click for more info] ×

Unexpected behavior - Copying text pics up space


Braxton

Recommended Posts

If I copy text with a space to the right of the text, it will add a space at the end of the pasted text.

If I copy text with no space on the right but a space on the left, it will add a space on the left of the pasted text.

Text copied with no spaces on either side will paste in with no additional spaces - expected result.

See attached video.

Link to comment
Share on other sites

Invisible characters: menu Text > Show…

787641279_showspecialchars.jpg.f04fb74a84a57795711be043f7feda19.jpg

In my previous test I selected by dragging with mouse-button pressed. When selecting with a double-click, as it seems to be your way of selection in your video, I can reproduce the issue.
The issue is obviously triggered by the way I select the text. So I tried with 3 different apps: • APub, • macOS TextEdit, • Bean.

APub seems to handle both double-click & ctrl-click in a wrong way:
A selection via double-click copies one space, though it isn't displayed as being selected.
• With a ctrl-click APub even selects text, which feels definitely wrong to me. And it also copies the space, accordingly.

TextEdit behaves similar weird: With a double-click it copies the spaces before + after whereas ctrl-click doesn't select and the copy command in the context menu is greyed out.

Bean works as expected for both ways. It doesn't copy a space with double-click and it doesn't select with ctrl-click.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.