Is window.DrawInto broken for some cases?

I have a window that contains a listbox with background paint event, so 1 cell gets highlighted.
When DrawInto is used to draw the window contents to a picture, then the highlighted cell’s background is drawn with coordinates relative to window rather than relative to cell. That is if the cell in row 1, column 1 is highlighted, the highlight will get drawn in the window-picture starting at position 0,0

This is on Windows 7 with Xojo 2018.x while XojoR2017.x is not affected.
Is this a known problem, am I doing something wrong or should I file a feedback case?

It’s a known issue and a Feedback case already exists. Don’t know the number off the top of my head, but I filed it so it’s in there.

Thanks for the quick answer.

If you filed the case - does this mean it will get fixed in the nearer future?

I frequently use window.DrawInto as a means of “screen shot” the window client area to save it as a file and I don’t see any good workaround right now:-)

Not necessarily. It still depends on available resources and user need.

I just looked through the feedback cases containing DrawInto and I found only one that you filed: #13367.
Is this the case you are referring to? If so, I will add a feedback case anyhow because my problem is a regression starting with Xojo 2018.

Hi Silke, it’s not the only feedback case. I created a private one because of a commercial project. It’s not exactly the same topic, but it’s about DisclosureTriangle.DrawInto. They have still some issues with that.

Hi Martin. No, I did not mean that 13367 is the only Feedback case about DrawInto, just the only one I found filed by Greg.
Anyhow, I filed a new public case <https://xojo.com/issue/53485> and hope the best for it to get solved because I see no easy workaround.