[Gambas-bugtracker] Bug #2747: QT Screen.Available values seem wrong

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat May 13 17:42:34 CEST 2023


Comment #1 by Bruce STEERS:

The code is simply this..

  Dim s As Screen = Screens[Mouse.Screen]

  If NoPanels Then 
    hPic = Desktop.Screenshot(s.AvailableX, s.AvailableY, s.AvailableWidth, s.AvailableHeight)
    hPic = Desktop.Screenshot(s.x, s.y, s.w, s.h)

GTK works perfectly.
QT includes the panels in the snapshot (it crops only a few pixels)


Attachment: Snap-1.0.tar.gz

More information about the Bugtracker mailing list