mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #1685] When copying text from the UI whitespace characters are copied as "·" #1677
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1677
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @seidnerj on GitHub (Jun 19, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1685
Description
whitespace characters not copied with the original character
Steps to Reproduce
Current Behavior
Whitespace characters are copied as "·" character
Expected Behavior
Whitespace character should be copied with their original value
Environment
@NghiaTranUIT commented on GitHub (Jun 20, 2023):
@seidnerj It seems the
Show Invisiblesin the View Menu is enabled, so it displays the space as a·-> Copy it will include the.tooYou should turn the Invisibles OFF, so the bug is fixed 👍
@seidnerj commented on GitHub (Jun 20, 2023):
I actually think that these should be separate, from a display-only perspective show invisibles is a great feature, but there should be a separation between the display value and the actual value. Regardless of what is displayed, when copying - the original value should be preserved.
@raxityo commented on GitHub (Apr 24, 2024):
@NghiaTranUIT since I was about to create the same issue, I am bumping this issue instead of creating a new one.
As @seidnerj mentioned, it would be great if the "Show Invisibles" option only affected the display/rendering, not the actual content.
In Proxyman, the implementation of "Show Invisibles" is correct in some sections.
@NghiaTranUIT commented on GitHub (Apr 25, 2024):
@raxityo do you think that "Show invisible" should not display the whitespace?
Honestly, I'm not sure how to fix it because the Copy action is handled by the system, so I can't override and ignore the whitespace.
Don't render the whitespacemight easily fix it.@raxityo commented on GitHub (Apr 25, 2024):
No, I meant to suggest that this option should only display the whitespace character (
•) as a background.Sorry if my examples were confusing. I meant that the behavior we see in the Body tab in ProxyMan is correct. "Show Invisibles" correctly shows the whitespace character, but it's rendered as a background instead of part of the text. So when you copy the text in the Body tab, the
•character does not get copied.However, in the "Header" tab in ProxyMan, the
•character is part of the text rather than displaying it as background.Expected Behavior:
Unexpected Behavior: