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

Cam Era cybercamera at gmail.com
Sat Jul 24 14:39:47 CEST 2021


Benoît,

thanks for the response.

Sample project which shows this issue is attached. As far as I can tell,
I'm performing the right actions to set the .FirstPage on the Printer
object, but I could be wrong. The .LastPage setting is honoured. All is in
QT AFAICT.

Cheers


On Thu, Jul 22, 2021 at 12:13 AM Benoît Minisini <g4mba5 at gmail.com> wrote:

> 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
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210724/d992e4e6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PrinterPageTest.tar.gz
Type: application/gzip
Size: 13257 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210724/d992e4e6/attachment.gz>


More information about the User mailing list