Re: copying to clipboard includes invisible characters

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: Jan Mahle <jan(dot)mahle(at)infraview(dot)net>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: copying to clipboard includes invisible characters
Date: 2017-10-13 04:51:56
Message-ID: CAKKotZR8VS9w0rOb+kwC5bkFBMhe7myG_bHgXVzmGPfnrWSuWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Looks like Qt WebEngine(runtime) issue.
I suspect that Qt WebEngine is triggering native copy behavior instead of
CodeMirror's copy handler.

On Thu, Oct 12, 2017 at 12:56 PM, Jan Mahle <jan(dot)mahle(at)infraview(dot)net> wrote:

>
> Hi,
>
> I've encountered an odd bug in pgAdmin 4 (tested on 1.6 and 2.0) on MacOS
> (in my case Sierra 10.12.6):
> when copying something to clipboard from a field in a table it begins with
> a char that isn't printed in most editors (including the popup when
> double-clicking the cell in the table to copy the string from). Neither in
> Notepad++ (with "show all characters" enabled), Sublime nor Intellij IDEA.
> In vim it shows up as <feff> and on the regular bash shell as a space -
> apparently it doesn't appear to happen on Windows and I just accidently
> shot several of my configs when I copy/pasted to a config of some java app
> that tried to open a connection to an OpenFire chatserver (in the logs of
> OpenFire i showed up during login as "???username“ rather than just
> "username“ )..
> I’m guessing this is related to some encoding since googling suggested
> <feff> is a BOM (byte-order mark) - i’m not sure this is intended behavior
> but i may be wrong.
>
> Greetings,
>
> Jan
>
>

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Darren Duncan 2017-10-13 05:45:00 Re: I'd like a lightweight alternative to pgAdmin4 ?
Previous Message Stephen Cook 2017-10-13 04:16:05 Re: I'd like a lightweight alternative to pgAdmin4 ?