Bug #153
FrameBuffer rainbow - clipboard seems to only transfer the first letter of text
Status: | Approved | Start date: | 11/04/2011 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 100% | |
Category: | Rainbow | Spent time: | - | |
Target version: | - |
History
#1 Updated by Miroslav Fidler over 13 years ago
- Priority changed from Normal to High
#2 Updated by Sender Ghost over 13 years ago
- Category set to Rainbow
I tested it inside UWord example for WinFB rainbow backend.
#3 Updated by Sender Ghost over 13 years ago
Not reproduced here.
#4 Updated by Sender Ghost over 13 years ago
Mistake. Reproduced for EditString Ctrl.
#5 Updated by Sender Ghost over 13 years ago
I found possible cause of this:
void AppendClipboardUnicodeText(const WString& s)
{
AppendClipboard("wtext", (byte *)~s, 2 * s.GetLength());
}
The input s is correct.
RLOG(s)
returns the string, which was copied.But output is wrong. It contains '\0' character on each even index.
#6 Updated by Sender Ghost over 13 years ago
- File 153_rainbow.diff
added
- Status changed from New to Patch ready
- Assignee set to Miroslav Fidler
- % Done changed from 0 to 100
Actually, the cause of the problem was in different place.
Also fixed for WINGL rainbow backend.
#7 Updated by Miroslav Fidler over 13 years ago
- Status changed from Patch ready to Approved