[Gambas-user] Issue 149 in gambas: DesktopWindow.X and DesktopWindow.Y always 1 and 21

gambas at ...2524... gambas at ...2524...
Mon Nov 14 23:24:43 CET 2011


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 149 by joshigg... at ...626...: DesktopWindow.X and DesktopWindow.Y  
always 1 and 21
http://code.google.com/p/gambas/issues/detail?id=149

1) Describe the problem.

DesktopWindow.X is always 1
DesktopWindow.Y is always 21

Using revision 4249

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

[System]
OperatingSystem=Linux
Kernel=3.0.0-12-generic
Architecture=i686
Memory=2061128 kB
DistributionVendor=Ubuntu
DistributionRelease="Ubuntu 11.10"
Desktop=LXDE

[Gambas 3]
Version=2.99.6
Path=/usr/local/bin/gbx3

3) Provide a little project that reproduces the bug or the crash.

   Dim dWindow As DesktopWindow

   Desktop.Windows.Refresh()

   For Each dWindow In Desktop.Windows
     If dWindow.SkipTaskbar = False Then
       Print dWindow.Name & " " & dWindow.X & " " & dWindow.Y
     Endif
   Next





More information about the User mailing list