Unable to paste images when copied from another app
Original Reporter info from Mantis: dbannon @davidbannon
-
Reporter name: David
Original Reporter info from Mantis: dbannon @davidbannon
- Reporter name: David
Description:
If an image is copied into the clipboard from another application, an app compiled with 20RC3 is unable to paste it into a TPicture. The reason appears to be that the 20RC3 app believes, incorrectly that there is no FormatIDs present in the clipboard.
This problem is not present in Lazarus 1.8.4 and does not show up in any release on Windows (not checked Mac yet).
Steps to reproduce:
Using the attached demo, build using 20RC3, you will be able to copy the Leopard image to the clipboard and then paste same image into TImage on the right. Press info button and see the apps view of FormatIDs available.
Now, copy an image form some other app, perhaps a webbrowser, right click, copy image. Return to the compiled app, you will be unable to paste it using Paste button, the Info button shows no FormatIDs available.
Additional information:
Problem confirmed by WP and confirmed OK on Windows by Bart, thanks !
Mantis conversion info:
- Mantis ID: 34840
- OS: Ubuntu
- OS Build: 18.04
- Platform: Linux
- Version: 2.0RC3
- Fixed in revision: r60131 (#283bb776)
- Monitored by: » @davidbannon (David)