[Gambas-user] Bug in QT4 Printer object FirstPage in Gambas 3.16.1

Benoît Minisini g4mba5 at gmail.com
Wed Jul 21 16:12:46 CEST 2021


Le 20/07/2021 à 13:20, Cam Era a écrit :
> Can anyone else confirm the following bug in the Printer (gb.qt4) object?
> 
> Steps to reproduce:
> 
> Public Sub Main()
>    Dim my_printer As Printer
>    my_printer = New Printer As "MyPrinter"
>    my_printer.FirstPage = 1
>    my_printer.LastPage = 3
> 
> End
> 
> Inspecting the my_printer.FirstPage property gives the wrong value of 0 
> while my_printer.LastPage gives the correct value of 3
> 
> It seems that the .FirstPage isn't being retained.
> 

Please provide a project that reproduces the bug.

I think you are wrong, and that the bug is in the GTK+ component, not in 
the QT one.

Regards,

-- 
Benoît Minisini


More information about the User mailing list