"copyFormatting" default value is 'true', while, according to documentation, it should be 'false' #8910

Closed
opened 2026-01-31 01:41:04 +00:00 by claunia · 2 comments
Owner

Originally created by @srdjanjovcic on GitHub (Jun 8, 2020).

Environment

Windows build number: 10.0.19642.1
Windows Terminal version (if applicable): 1.0.1401.0

Steps to reproduce

  • Ensure that "copyFormatting" is not defined for whatever profile you are using.
  • Copy something from terminal.
  • Paste it in Word, e-mail, anything with RTF support.

Expected behavior

  • Plain text is pasted.

Actual behavior

  • RTF text is pasted.

#Notes

The default should be to only copy plain text, based on the response from this poll on Twitter.
Twitter poll

Originally created by @srdjanjovcic on GitHub (Jun 8, 2020). # Environment ```none Windows build number: 10.0.19642.1 Windows Terminal version (if applicable): 1.0.1401.0 ``` # Steps to reproduce - Ensure that "copyFormatting" is not defined for whatever profile you are using. - Copy something from terminal. - Paste it in Word, e-mail, anything with RTF support. # Expected behavior - Plain text is pasted. # Actual behavior - RTF text is pasted. #Notes - This behavior is introduced with https://github.com/microsoft/terminal/pull/5299, however, according to [Formatted Copy spec](https://github.com/microsoft/terminal/blob/08df4fc27a7f0a14c5230a690cc96c9b76c2a9a0/doc/specs/%234191%20-%20Formatted%20Copy/spec.md), vast majority of users prefer unformatted copy out of terminal: > The default should be to only copy plain text, based on the response from this poll on Twitter. > ![Twitter poll](https://github.com/microsoft/terminal/raw/08df4fc27a7f0a14c5230a690cc96c9b76c2a9a0/doc/specs/%234191%20-%20Formatted%20Copy/twitter-poll.png)
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 01:41:04 +00:00
Author
Owner

@DHowett commented on GitHub (Jun 8, 2020):

The default in defaults.json is set to true so as to not disrupt the 300k users who had installed Terminal prior to 0.11. The new user settings template sets it to false.

New users get the "ideal" behavior, migrated users get their "accustomed" behavior.

@DHowett commented on GitHub (Jun 8, 2020): The default in defaults.json is set to true so as to not disrupt the 300k users who had installed Terminal prior to 0.11. The new user settings template sets it to `false`. New users get the "ideal" behavior, migrated users get their "accustomed" behavior.
Author
Owner

@srdjanjovcic commented on GitHub (Jun 8, 2020):

@DHowett I was never "accustomed" to it 🙂 -- I just assumed that it was a quirk which I never wanted, but I finally decided to file a bug.

@srdjanjovcic commented on GitHub (Jun 8, 2020): @DHowett I was never "accustomed" to it 🙂 -- I just assumed that it was a quirk which I never wanted, but I finally decided to file a bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8910