Bug 181647 - panel doesn't appear in screenshots made with java programs and xwd
Summary: panel doesn't appear in screenshots made with java programs and xwd
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-23 10:03 UTC by Alessandro Galli
Modified: 2012-07-12 02:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Galli 2009-01-23 10:03:57 UTC
Version:            (using Devel)
Compiler:          The one of Ubuntu intrepid 8.10 binary packages 
OS:                Linux
Installed from:    Compiled sources

If you make a screenshot of desktop with xwd where should be the panel is shown the wallpaper image.

Same thing happens with all java Programs using Robot.createScreenCapture(...)

This happens not only with the panel but also with the menù to launch applications.
Comment 1 Dario Andres 2009-01-23 11:04:41 UTC
What KDE version are you using? Thanks
Comment 2 Alessandro Galli 2009-01-26 09:27:34 UTC
I use 4.1.4, the kubuntu 8.10 default version.

I've tried with nightly builds, always on kubuntu 8.10 but without any difference.

I've made a little program using QPixmap::grabWindow and with this method the panel appears in the image.

I hope my information will be useful.

Bye!
Comment 3 Michael Stringer 2009-03-31 15:50:17 UTC
I can confirm that this affects KDE 4.2.1 on Kubuntu 9.04 Beta.

This is causing issues with our application which relies on the java.awt.Robot being able to create screenshots.
Comment 4 Dario Andres 2009-04-01 19:47:31 UTC
Plasma uses ARGB visuals. Could it be that Java class doesn't support that property properly ?
The fact that "QPixmap::grabWindow" shows the panel properly means that "it works".
Comment 5 Dario Andres 2009-10-22 01:00:07 UTC
- Any news about this on KDE4.3 ?
Comment 6 Jekyll Wu 2012-07-12 02:13:27 UTC
Not clear about java programs, but xwd works fine for me.

Feel free to reopen the report if the problem still happens in recent versions ( KDE SC 4.8.4 or higher). Thanks.