Discussion:
[Foxgui-users] FXTextField issue
pof
2017-06-16 07:06:09 UTC
Permalink
Dear all,

I am having the following unexpected behaviour using a FXTextField:
- when I select its content and copy-paste (Ctrl-C followed by Ctrl-V)
it in any text editor, the last string character of the FXTextField
content is never copied/pasted.

Any idea where this might come from?
Pof
pof
2017-06-16 12:48:11 UTC
Permalink
Dear Serghei,
thanks for this information, and I confirm I get it on Windows platform.
I use for a long time a somehow unclean workaround by adding a space
char at the end of the FXTextField string, so that this useless char is
chopped when the user does a Ctrl-C /Ctrl-V. Its works though it
obviously does not solve the issue.
Regards
Pof
Message: 4
Date: Fri, 16 Jun 2017 10:11:22 +0300
Subject: Re: [Foxgui-users] FXTextField issue
Content-Type: text/plain; charset="iso-8859-1"
Post by pof
Dear all,
- when I select its content and copy-paste (Ctrl-C followed by Ctrl-V)
it in any text editor, the last string character of the FXTextField
content is never copied/pasted.
Any idea where this might come from?
Pof
Hello,
I think this is a very old bug, reported by my customers too. It
happens only
on Windows platform.
Jeroen
2017-06-16 13:02:37 UTC
Permalink
On Fri, 16 Jun 2017 14:48:11 +0200
Post by pof
Dear Serghei,
thanks for this information, and I confirm I get it on Windows platform.
I use for a long time a somehow unclean workaround by adding a space
char at the end of the FXTextField string, so that this useless char is
chopped when the user does a Ctrl-C /Ctrl-V. Its works though it
obviously does not solve the issue.
Regards
I think I've looked at this issue in the past, and believe it makes
a difference which windows-program is the other party in the operation;
some worked, some didn't; there seems to be some uncertainty whether
the end of string is to be counted in the clipboard #bytes, or not.





-- JVZ


--
+----------------------------------------------------------------------------+
| Copyright (C) 08:00 06/16/2017 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
pof
2017-06-16 13:15:46 UTC
Permalink
Dear Jeroen,

I have just checked against the following 3 windows programs:
- Word2010
- Notepad (the one embedded in windows)
- Notepad++

It has the same behaviour for all of them, i.e. the last char string is
chopped.
Regards
Pof
Post by Jeroen
On Fri, 16 Jun 2017 14:48:11 +0200
Post by pof
Dear Serghei,
thanks for this information, and I confirm I get it on Windows platform.
I use for a long time a somehow unclean workaround by adding a space
char at the end of the FXTextField string, so that this useless char is
chopped when the user does a Ctrl-C /Ctrl-V. Its works though it
obviously does not solve the issue.
Regards
I think I've looked at this issue in the past, and believe it makes
a difference which windows-program is the other party in the operation;
some worked, some didn't; there seems to be some uncertainty whether
the end of string is to be counted in the clipboard #bytes, or not.
-- JVZ
--
+----------------------------------------------------------------------------+
| Copyright (C) 08:00 06/16/2017 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
JVZ
2017-06-16 13:23:28 UTC
Permalink
On Fri, 16 Jun 2017 15:15:46 +0200
Post by pof
Dear Jeroen,
- Word2010
- Notepad (the one embedded in windows)
- Notepad++
It has the same behaviour for all of them, i.e. the last char string is
chopped.
Regards
Just for my information, you're using FOX 1.7 versions, right?


+----------------------------------------------------------------------------+
| Copyright (C) 08:20 06/16/2017 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
pof
2017-06-16 13:27:20 UTC
Permalink
Sorry, I should obviously have mentioned that I am using the latest 1.7.60.
And I have been using 1.7 for very long time.
I can't tell you if this works correctly on 1.6 (though I could try if
this would be of any help)
Pof
Post by JVZ
On Fri, 16 Jun 2017 15:15:46 +0200
Post by pof
Dear Jeroen,
- Word2010
- Notepad (the one embedded in windows)
- Notepad++
It has the same behaviour for all of them, i.e. the last char string is
chopped.
Regards
Just for my information, you're using FOX 1.7 versions, right?
+----------------------------------------------------------------------------+
| Copyright (C) 08:20 06/16/2017 Jeroen van der Zijp. All Rights Reserved. |
+----------------------------------------------------------------------------+
Loading...