LC Bug: Copying an Image fails

Tom Glod tom at makeshyft.com
Tue Mar 16 14:47:42 EDT 2021


 Hey guys.....

There are a few issues around windows clipboard and images. I ran into them
ALOT when i worked on the Toolbox application.

I (reported bug also).  https://quality.livecode.com/show_bug.cgi?id=21543

This probably won't help..... but  there were times when I had to figure
out which key to read from the rawclipboarddata

Put it in an image control and then export it out from there...... thats
how i avoided some of the crashes and glitches associated with clipboard
and screenshots and windows.

If any of that seems useful I can check the codebase for the exact steps.

Cheers,

Tom


On Tue, Mar 16, 2021 at 2:40 PM Sean Cole (Pi) via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Curry,
> even asking it to only return char 1 of rawclipboarddata["CF_BITMAP"]
> crashes it so any attempt to read that data triggers an exception.
> Remarkable. :D
>
> Sean
>
> On Tue, 16 Mar 2021 at 18:16, Curry Kenworthy via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> >
> > Sean:
> >
> >  > put the keys of the rawclipboarddata
> >
> > Yes, I have a little clipboard browser stack for that.
> > There are regular, full, and raw keys. Joy awaits....
> >
> >  > or any other CF_, it crashes out of LC altogether
> >
> > I had that joyful experience earlier today, with my test stack.
> > You gotta love it, right? Really ups the challenge.
> > LC always trains to the fight, so that we are the best of the best.
> >
> > (Nice try, LC, I'm a compulsive stack saver! Fool me twice.)
> >
> > Has anyone reported the crash yet? Or does that joy also await?
> >
> >  > 'do as javascript'
> >
> > Thanks for the idea. I'll experiment further later this week.
> > (Unless anyone has a confirmed workaround already.)
> >
> > I'm also going to test this on Mac soon.
> > Bugs get super "relevant" if they hit the Macophiles too. :)
> >
> > Best wishes,
> >
> > Curry Kenworthy
> >
> > Custom Software Development
> > "Better Methods, Better Results"
> > LiveCode Training and Consulting
> > http://livecodeconsulting.com/
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
Tom Glod
Founder & Developer
MakeShyft R.D.A (www.makeshyft.com)
Mobile:647.562.9411



More information about the use-livecode mailing list