[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


http://gambaswiki.org/bugtracker/edit?object=BUG.2747&from=L21haW4-

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)
  Else 
    hPic = Desktop.Screenshot(s.x, s.y, s.w, s.h)
  Endif

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