https://bugs.kde.org/show_bug.cgi?id=410951

            Bug ID: 410951
           Summary: Pasting text from Firefox adds bogus whitespace
                    characters at the end of every line / sanitize pasted
                    text
           Product: kate
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: n...@kde.org
  Target Milestone: ---

Kate and KTextEditor built from current git master on Manjaro

I'm unsure whether this is a Firefox bug, a Kate bug, or some combination of
the two. But regardless, this has started happening recently (in the last week
or two).

1. Open Firefox (68.0.1)
2. Copy any text on https://kde.org, or any other webpage
3. Open Kate (git master)
4. Paste the text into a new document Kate

The text is pasted with bogus whitespace characters after every line. This is
extremely irritating for my typical development workflow which involves copying
and pasting a lot of text from my web browser. After saving and re-opening the
affected file, the bogus whitespace characters are gone (so I cannot attach an
example file, sorry).

This does not happen when pasting text from Chromium into Kate, or when pasting
text from Firefox into Gedit; only Firefox -> Kate.

Because the problem is not seen when pasting text into Gedit, I am assuming
Gedit automatically trims off bogus whitespace characters in pasted text during
paste operations the way Kate seems to during save operations. Perhaps Kate
should perform this sanitization during paste operations as well.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to