# Screen Capture not getting details

**URL:** <https://forum.xojo.com/t/screen-capture-not-getting-details/88936>\
**Category:** General\
**Created:** [September 26, 2026, 11:40pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936 "2026-09-26T23:40:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_McDonald](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@John\_McDonald](https://forum.xojo.com/u/John_McDonald)\
**Post date:** [September 26, 2026, 11:40pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/1 "2026-09-26T23:40:46Z")

</div>

System details

Operating System: Kubuntu 26.04 LTS  
KDE Plasma Version: 6.6.6  
KDE Frameworks Version: 6.24.0  
Qt Version: 6.10.2  
Kernel Version: 7.0.0-31-generic (64-bit)  
Graphics Platform: Wayland  
Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics  
Memory: 32 GiB of RAM (30.6 GiB usable)  
Graphics Processor 1: AMD Radeon 780M Graphics  
Graphics Processor 2: NVIDIA GeForce RTX 4050 Laptop GPU/PCIe/SSE2  
Manufacturer: ASUSTeK COMPUTER INC.  
Product Name: ASUS TUF Gaming A17 FA707XU\_FA707XU  
System Version: 1.0

Code I found in another thread

```auto
Var pict As Picture
Var d As New Date
// Create Timestamp for ScreenCapture Save Name
Var timeStamp As String = str(d.Hour) + ":" + str(d.Minute)
Var f As FolderItem = GetSaveFolderItem("image/png","ScreenCapture_" + timeStamp + ".png")

If f <> Nil Then
  pict = New Picture( Self.Width, Self.Height, 32 )
  Self.DrawInto pict.Graphics, 0, 0
  pict.Save(f, Picture.SaveAsPNG)
End If

```

It works in that it captures the base but not the details.

 ![Screenshot_20260926_163717](https://forum.xojo.com/uploads/default/original/3X/f/3/f314e7d9301e2f9d80b0c55714e4b305bec4837b.png)  
The above is what I expect

Below is what I am getting

 ![Screenshot_20260926_163952](https://forum.xojo.com/uploads/default/original/3X/1/3/139f703856a8fa58544259c0744ff71ff321af88.jpeg)

The circles and numbers are not being captured.

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [September 27, 2026, 9:38am UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/2 "2026-09-27T09:38:16Z")

</div>

Where are drawn the image to capture ?

All in the Grapichs Event

or Circle and numbers in the Grapichs Event and what you get draw is in Canvas Backdrop ?

---

<div class="post-metadata">

**Author:** ![Julia\_Truchsess](https://forum.xojo.com/user_avatar/forum.xojo.com/julia_truchsess/32/499_2.png) [@Julia\_Truchsess](https://forum.xojo.com/u/Julia_Truchsess)\
**Post date:** [September 27, 2026, 6:07pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/3 "2026-09-27T18:07:26Z")

</div>

What is Self? A canvas? A window?  
Where is the “base” image coming from? Canvas.Backdrop?  
How are the circles and numbers generated? In a Canvas Paint event?

If the circles and numbers are generated in a Canvas Paint event, you may need to paint its Graphics to the Picture’s Graphics in that event.

---

<div class="post-metadata">

**Author:** ![John\_McDonald](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@John\_McDonald](https://forum.xojo.com/u/John_McDonald)\
**Post date:** [September 27, 2026, 9:54pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/4 "2026-09-27T21:54:35Z")

</div>

[Pain Tracking Image.xojo\_binary\_project.zip](https://forum.xojo.com/uploads/short-url/i267fGJZj34DORlEyJQsf1kxOCZ.zip) (69.4 KB)

I don’t know if it will load but above is the project. No database assigned yet, may not be later.

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [September 27, 2026, 10:12pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/5 "2026-09-27T22:12:23Z")

</div>

You forget to add an image.

I do not understan why you use BevelButtons,  
I do not understand where tou display the image nor the circles and numbers.

You do not answer the two question you get from Julia and me…

Do you know there are constants like Color.Black ?

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [September 28, 2026, 6:01am UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/6 "2026-09-28T06:01:17Z")

</div>

What am I supposed to see in the example?

 ![Screenshot 2026-09-28 at 07.59.03](https://forum.xojo.com/uploads/default/original/3X/a/4/a4e65205d9ea7a4b3ca2d703886e651154c4ea40.jpeg)

The image is missing so I had to use my own.

---

<div class="post-metadata">

**Author:** ![Julia\_Truchsess](https://forum.xojo.com/user_avatar/forum.xojo.com/julia_truchsess/32/499_2.png) [@Julia\_Truchsess](https://forum.xojo.com/u/Julia_Truchsess)\
**Post date:** [September 28, 2026, 2:36pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/7 "2026-09-28T14:36:34Z")

</div>

OK, it’s a DesktopImageViewer showing a static image with a bunch of DesktopOvals and Labels on top.

I have no idea why DrawInto doesn’t work, I’ve never tried to do this, sorry. Maybe a Z-order issue?

---

<div class="post-metadata">

**Author:** ![Julia\_Truchsess](https://forum.xojo.com/user_avatar/forum.xojo.com/julia_truchsess/32/499_2.png) [@Julia\_Truchsess](https://forum.xojo.com/u/Julia_Truchsess)\
**Post date:** [September 28, 2026, 2:39pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/8 "2026-09-28T14:39:02Z")

</div>

> [@Emile\_Schwarz](#):
>
> I do not understan why you use BevelButtons,

Because unlike generic buttons you can control their size and font properties.

---

<div class="post-metadata">

**Author:** ![Julia\_Truchsess](https://forum.xojo.com/user_avatar/forum.xojo.com/julia_truchsess/32/499_2.png) [@Julia\_Truchsess](https://forum.xojo.com/u/Julia_Truchsess)\
**Post date:** [September 28, 2026, 2:44pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/9 "2026-09-28T14:44:55Z")

</div>

Actually, the DrawInto is working for me. This is the png that was saved to disk after uncommenting the call to mthImageShot.

 ![ScreenCapture_10:43](https://forum.xojo.com/uploads/default/original/3X/2/d/2dc100c8c1fedfb1a175e75ec8112676923efc26.jpeg)

---

<div class="post-metadata">

**Author:** ![John\_McDonald](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@John\_McDonald](https://forum.xojo.com/u/John_McDonald)\
**Post date:** [September 28, 2026, 4:01pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/10 "2026-09-28T16:01:04Z")

</div>

Hmm, the circles are offset in your capture. What OS are you using? It might be a Linux thing because I just tried it again, same results.

[Screencast\_20260928\_085528.zip](https://forum.xojo.com/uploads/short-url/nBfnXdVPnSXu8e1ObdD9ZeNMee5.zip) (2.1 MB)

I took a video of the process on my desktop. Don’t know if that will help. But you can see the image created is missing the other objects.

---

<div class="post-metadata">

**Author:** ![John\_McDonald](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@John\_McDonald](https://forum.xojo.com/u/John_McDonald)\
**Post date:** [September 28, 2026, 4:12pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/11 "2026-09-28T16:12:29Z")

</div>

![bodyuclh2018](https://forum.xojo.com/uploads/default/original/3X/4/d/4dbdb9f82150e04084432ef7736ae0da0384b7c0.png)

---

<div class="post-metadata">

**Author:** ![John\_McDonald](https://forum.xojo.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@John\_McDonald](https://forum.xojo.com/u/John_McDonald)\
**Post date:** [September 28, 2026, 4:14pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/12 "2026-09-28T16:14:32Z")

</div>

Better control and I can add images, color and text color changes as well. For me it’s aesthetics and the only way to get “cool” looking buttons on Linux. Which is all I use.

Sorry meant for Emile.

---

<div class="post-metadata">

**Author:** ![Julia\_Truchsess](https://forum.xojo.com/user_avatar/forum.xojo.com/julia_truchsess/32/499_2.png) [@Julia\_Truchsess](https://forum.xojo.com/u/Julia_Truchsess)\
**Post date:** [September 28, 2026, 4:32pm UTC](https://forum.xojo.com/t/screen-capture-not-getting-details/88936/13 "2026-09-28T16:32:17Z")

</div>

> [@John\_McDonald](#):
>
> the circles are offset in your capture.

I just downloaded the background image from your previous post and threw it into the project; I made no attempt to size it correctly, so it’s not surprising that it doesn’t line up. Just wanted to see if DrawInto would save the Ovals, and it did.

I tested under MacOS.
