mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[GH-ISSUE #69] Bug in drag and drop #38
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kov-serg on GitHub (Apr 8, 2022).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/69
https://github.com/ultimatepp/ultimatepp/blob/master/uppsrc/Core/Defs.h#L157
https://github.com/ultimatepp/ultimatepp/blob/master/uppsrc/CtrlCore/CtrlClip.cpp#L118
wchar is 4 bytes long so string will hold only one first characted.
How to reproduce. Create textedit type some text, select several letters and move it with mouse. It moves only first letter, rest will disappear.
ps:
https://github.com/ultimatepp/ultimatepp/blob/master/uppsrc/plugin/lz4/lib/lz4.c#L1348
should be replaced with
in order to work with gcc, or it fall's on aligment check nearby an cause segav
@mirek-fidler commented on GitHub (Apr 11, 2022):
Should be now fixed (by removing Unicode__ functions completely). Thanks
for spotting this.
pá 8. 4. 2022 v 23:07 odesílatel kov-serg @.***> napsal:
@kov-serg commented on GitHub (Apr 12, 2022):
Did you check result?
From wordpad text inserted without problem using drag and drop. But in reverse direction it paste trash. And from textedit itself paste trash. Problem is in inserting data into clip buffer. It insets it in utf8.
ps: I found. This line
should looks like this: