Bug #153

FrameBuffer rainbow - clipboard seems to only transfer the first letter of text

Added by Miroslav Fidler almost 8 years ago. Updated almost 8 years ago.

Status:ApprovedStart date:11/04/2011
Priority:HighDue date:
Assignee:Miroslav Fidler% Done:

100%

Category:RainbowSpent time:-
Target version:-

153_rainbow.diff Magnifier - The diff file to apply for rainbow directory (826 Bytes) Sender Ghost, 11/10/2011 01:49 AM

History

#1 Updated by Miroslav Fidler almost 8 years ago

  • Priority changed from Normal to High

#2 Updated by Sender Ghost almost 8 years ago

  • Category set to Rainbow

I tested it inside UWord example for WinFB rainbow backend.

#3 Updated by Sender Ghost almost 8 years ago

Not reproduced here.

#4 Updated by Sender Ghost almost 8 years ago

Mistake. Reproduced for EditString Ctrl.

#5 Updated by Sender Ghost almost 8 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 almost 8 years ago

  • File 153_rainbow.diffMagnifier 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 almost 8 years ago

  • Status changed from Patch ready to Approved

Also available in: Atom PDF