chemclipse icon indicating copy to clipboard operation
chemclipse copied to clipboard

Create Snapshot is all white on Wayland

Open Mailaender opened this issue 1 year ago • 1 comments

:camera: button on the toolbar creates an empty image.

Mailaender avatar Dec 09 '24 13:12 Mailaender

Probably related to https://github.com/eclipse-platform/eclipse.platform.swt/issues/673.

Mailaender avatar Dec 09 '24 14:12 Mailaender

It is not related to the mentioned SWT issue as it takes screenshot of the whole display which requires extra permissions and etc. while chemclipse takes a screenshot of a subscection of its own window which has no such restrictions. This works fine under Gnome but fails under KDE . Local experiments under KDE show that SWT's Snippet292 (X11) outputs:

Warning: the GC provided to Shell.print() has a smaller clipping than what is needed to print the Shell trimmings and content. Only the client area will be printed.

This makes me believe it's "sizing" problem under KDE.

akurtakov avatar May 19 '25 10:05 akurtakov