Print Assistant

classic Classic list List threaded Threaded
37 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Print Assistant

Stuart T Rogers
I have just tried to print a photo from digikam using the Print
Assistant and found that I am unable to select some of the paper sizes
supported by my printer, a Canon IP7250. I can load most of the normal
A4 type and Envelope sizes but it will not select 5x7 Borderless when I
click on it, which is what I wanted to use.

I have used Gimp to print the photo now as I wanted but still cannot get
it to allow that size either in the Print Assistant or just Print Images.

Anyone any ideas please?

Stuart
--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4
In Print assistant, there are few config template files which define paper layout to use with printers (if i remember)...

Look here for details :


But, i feel that your printer driver is not complete and do not provide all device information to use in high level side.

Gilles Caulier


2016-08-03 18:46 GMT+02:00 Stuart T Rogers <[hidden email]>:
I have just tried to print a photo from digikam using the Print Assistant and found that I am unable to select some of the paper sizes supported by my printer, a Canon IP7250. I can load most of the normal A4 type and Envelope sizes but it will not select 5x7 Borderless when I click on it, which is what I wanted to use.

I have used Gimp to print the photo now as I wanted but still cannot get it to allow that size either in the Print Assistant or just Print Images.

Anyone any ideas please?

Stuart
--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
Gilles

I will check that out but all I can say is the driver works perfectly in
V4.14 of digikam, and in other programs. It shows the papaer sizes but
will not allow me to select them, it still leaves the previous setting
when I click on the photo paper size I want.

Stuart

On 04/08/16 11:06, Gilles Caulier wrote:

> In Print assistant, there are few config template files which define
> paper layout to use with printers (if i remember)...
>
> Look here for details :
>
> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>
> But, i feel that your printer driver is not complete and do not provide
> all device information to use in high level side.
>
> Gilles Caulier
>
>
> 2016-08-03 18:46 GMT+02:00 Stuart T Rogers <[hidden email]
> <mailto:[hidden email]>>:
>
>     I have just tried to print a photo from digikam using the Print
>     Assistant and found that I am unable to select some of the paper
>     sizes supported by my printer, a Canon IP7250. I can load most of
>     the normal A4 type and Envelope sizes but it will not select 5x7
>     Borderless when I click on it, which is what I wanted to use.
>
>     I have used Gimp to print the photo now as I wanted but still cannot
>     get it to allow that size either in the Print Assistant or just
>     Print Images.
>
>     Anyone any ideas please?
>
>     Stuart
>     --
>     Website: http://www.stella-maris.org.uk
>     or:      http://www.broadstairs.org
>     _______________________________________________
>     Digikam-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>     <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
Further testing shows that the printer driver works perfectly with
darktable and shotwell as well as Gimp. It only fails using digikam,
showfoto and gwenview.

Stuart

On 04/08/16 20:07, Stuart T Rogers wrote:

> Gilles
>
> I will check that out but all I can say is the driver works perfectly in
> V4.14 of digikam, and in other programs. It shows the papaer sizes but
> will not allow me to select them, it still leaves the previous setting
> when I click on the photo paper size I want.
>
> Stuart
>
> On 04/08/16 11:06, Gilles Caulier wrote:
>> In Print assistant, there are few config template files which define
>> paper layout to use with printers (if i remember)...
>>
>> Look here for details :
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> But, i feel that your printer driver is not complete and do not provide
>> all device information to use in high level side.
>>
>> Gilles Caulier
>>
>>
>> 2016-08-03 18:46 GMT+02:00 Stuart T Rogers <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>     I have just tried to print a photo from digikam using the Print
>>     Assistant and found that I am unable to select some of the paper
>>     sizes supported by my printer, a Canon IP7250. I can load most of
>>     the normal A4 type and Envelope sizes but it will not select 5x7
>>     Borderless when I click on it, which is what I wanted to use.
>>
>>     I have used Gimp to print the photo now as I wanted but still cannot
>>     get it to allow that size either in the Print Assistant or just
>>     Print Images.
>>
>>     Anyone any ideas please?
>>
>>     Stuart
>>     --
>>     Website: http://www.stella-maris.org.uk
>>     or:      http://www.broadstairs.org
>>     _______________________________________________
>>     Digikam-users mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     https://mail.kde.org/mailman/listinfo/digikam-users
>>     <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>
>>
>>
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4
Well the driver for Qt application pass through the Qt5Print interface. The problem must be located in Qt5...

Gilles Caulier

2016-08-04 23:01 GMT+02:00 Stuart T Rogers <[hidden email]>:
Further testing shows that the printer driver works perfectly with darktable and shotwell as well as Gimp. It only fails using digikam, showfoto and gwenview.

Stuart


On 04/08/16 20:07, Stuart T Rogers wrote:
Gilles

I will check that out but all I can say is the driver works perfectly in
V4.14 of digikam, and in other programs. It shows the papaer sizes but
will not allow me to select them, it still leaves the previous setting
when I click on the photo paper size I want.

Stuart

On 04/08/16 11:06, Gilles Caulier wrote:
In Print assistant, there are few config template files which define
paper layout to use with printers (if i remember)...

Look here for details :

https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


But, i feel that your printer driver is not complete and do not provide
all device information to use in high level side.

Gilles Caulier


2016-08-03 18:46 GMT+02:00 Stuart T Rogers <[hidden email]
<mailto:[hidden email]>>:

    I have just tried to print a photo from digikam using the Print
    Assistant and found that I am unable to select some of the paper
    sizes supported by my printer, a Canon IP7250. I can load most of
    the normal A4 type and Envelope sizes but it will not select 5x7
    Borderless when I click on it, which is what I wanted to use.

    I have used Gimp to print the photo now as I wanted but still cannot
    get it to allow that size either in the Print Assistant or just
    Print Images.

    Anyone any ideas please?

    Stuart
    --
    Website: http://www.stella-maris.org.uk
    or:      http://www.broadstairs.org
    _______________________________________________
    Digikam-users mailing list
    [hidden email] <mailto:[hidden email]>
    https://mail.kde.org/mailman/listinfo/digikam-users
    <https://mail.kde.org/mailman/listinfo/digikam-users>




_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
I have been doing some more on this. When I start the Print Assistant I
see two lines in the top left box, one saying Unsupported Paper Size and
a second line saying Custom and that's it, no templates at all.

I can see the templates.xml file in
/usr/share/kipiplugin_printimages/templates/ and it seems to contain
what it should and I've checked the permissions and all files are
publicly readable. I do not have my own templates file in my home
directory. Surely I should see the templates from this file when I start
the Print Assistant. I think I need to fix this before trying to
progress further.

Also found that I am unable to change orientation between portrait and
landscape, it changes on the dialog but when I OK it and go back into
the dialog portrait is still selected.

Stuart

On 06/08/16 06:42, Gilles Caulier wrote:

> Well the driver for Qt application pass through the Qt5Print interface.
> The problem must be located in Qt5...
>
> Gilles Caulier
>
> 2016-08-04 23:01 GMT+02:00 Stuart T Rogers <[hidden email]
> <mailto:[hidden email]>>:
>
>     Further testing shows that the printer driver works perfectly with
>     darktable and shotwell as well as Gimp. It only fails using digikam,
>     showfoto and gwenview.
>
>     Stuart
>
>
>     On 04/08/16 20:07, Stuart T Rogers wrote:
>
>         Gilles
>
>         I will check that out but all I can say is the driver works
>         perfectly in
>         V4.14 of digikam, and in other programs. It shows the papaer
>         sizes but
>         will not allow me to select them, it still leaves the previous
>         setting
>         when I click on the photo paper size I want.
>
>         Stuart
>
>         On 04/08/16 11:06, Gilles Caulier wrote:
>
>             In Print assistant, there are few config template files
>             which define
>             paper layout to use with printers (if i remember)...
>
>             Look here for details :
>
>             https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>
>             But, i feel that your printer driver is not complete and do
>             not provide
>             all device information to use in high level side.
>
>             Gilles Caulier
>
>
>             2016-08-03 18:46 GMT+02:00 Stuart T Rogers
>             <[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email]
>             <mailto:[hidden email]>>>:
>
>                 I have just tried to print a photo from digikam using
>             the Print
>                 Assistant and found that I am unable to select some of
>             the paper
>                 sizes supported by my printer, a Canon IP7250. I can
>             load most of
>                 the normal A4 type and Envelope sizes but it will not
>             select 5x7
>                 Borderless when I click on it, which is what I wanted to
>             use.
>
>                 I have used Gimp to print the photo now as I wanted but
>             still cannot
>                 get it to allow that size either in the Print Assistant
>             or just
>                 Print Images.
>
>                 Anyone any ideas please?
>
>                 Stuart
>                 --
>                 Website: http://www.stella-maris.org.uk
>                 or:      http://www.broadstairs.org
>                 _______________________________________________
>                 Digikam-users mailing list
>                 [hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>
>                 https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>                 <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>
>
>
>             _______________________________________________
>             Digikam-users mailing list
>             [hidden email] <mailto:[hidden email]>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>
>
>     --
>     Website: http://www.stella-maris.org.uk
>     or:      http://www.broadstairs.org
>     _______________________________________________
>     Digikam-users mailing list
>     [hidden email] <mailto:[hidden email]>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>     <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
Can anyone here please let me know whether or not they see this issue? I
am getting nowhere trying to figure out why this does not work for me in
V5 but does in 4.14 on the same openSUSE Tumbleweed system. I'd like to
try and work out if this is a bug in the Print Assistant or if it is
something to do with the openSUSE implementation/compilation. I must
point out that Print Images also fails

I assume the Print Assistant is part of the Kipi Plugins which are at
V5.1.0 and digiKam itself is 5.1.0.

Stuart

On 10/08/16 10:32, Stuart T Rogers wrote:

> I have been doing some more on this. When I start the Print Assistant I
> see two lines in the top left box, one saying Unsupported Paper Size and
> a second line saying Custom and that's it, no templates at all.
>
> I can see the templates.xml file in
> /usr/share/kipiplugin_printimages/templates/ and it seems to contain
> what it should and I've checked the permissions and all files are
> publicly readable. I do not have my own templates file in my home
> directory. Surely I should see the templates from this file when I start
> the Print Assistant. I think I need to fix this before trying to
> progress further.
>
> Also found that I am unable to change orientation between portrait and
> landscape, it changes on the dialog but when I OK it and go back into
> the dialog portrait is still selected.
>
> Stuart
>
> On 06/08/16 06:42, Gilles Caulier wrote:
>> Well the driver for Qt application pass through the Qt5Print interface.
>> The problem must be located in Qt5...
>>
>> Gilles Caulier
>>
>> 2016-08-04 23:01 GMT+02:00 Stuart T Rogers <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>     Further testing shows that the printer driver works perfectly with
>>     darktable and shotwell as well as Gimp. It only fails using digikam,
>>     showfoto and gwenview.
>>
>>     Stuart
>>
>>
>>     On 04/08/16 20:07, Stuart T Rogers wrote:
>>
>>         Gilles
>>
>>         I will check that out but all I can say is the driver works
>>         perfectly in
>>         V4.14 of digikam, and in other programs. It shows the papaer
>>         sizes but
>>         will not allow me to select them, it still leaves the previous
>>         setting
>>         when I click on the photo paper size I want.
>>
>>         Stuart
>>
>>         On 04/08/16 11:06, Gilles Caulier wrote:
>>
>>             In Print assistant, there are few config template files
>>             which define
>>             paper layout to use with printers (if i remember)...
>>
>>             Look here for details :
>>
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>>             But, i feel that your printer driver is not complete and do
>>             not provide
>>             all device information to use in high level side.
>>
>>             Gilles Caulier
>>
>>
>>             2016-08-03 18:46 GMT+02:00 Stuart T Rogers
>>             <[hidden email]
>> <mailto:[hidden email]>
>>             <mailto:[hidden email]
>>             <mailto:[hidden email]>>>:
>>
>>                 I have just tried to print a photo from digikam using
>>             the Print
>>                 Assistant and found that I am unable to select some of
>>             the paper
>>                 sizes supported by my printer, a Canon IP7250. I can
>>             load most of
>>                 the normal A4 type and Envelope sizes but it will not
>>             select 5x7
>>                 Borderless when I click on it, which is what I wanted to
>>             use.
>>
>>                 I have used Gimp to print the photo now as I wanted but
>>             still cannot
>>                 get it to allow that size either in the Print Assistant
>>             or just
>>                 Print Images.
>>
>>                 Anyone any ideas please?
>>
>>                 Stuart
>>                 --
>>                 Website: http://www.stella-maris.org.uk
>>                 or:      http://www.broadstairs.org
>>                 _______________________________________________
>>                 Digikam-users mailing list
>>                 [hidden email] <mailto:[hidden email]>
>>             <mailto:[hidden email] <mailto:[hidden email]>>
>>                 https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                 <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>
>>
>>
>>             _______________________________________________
>>             Digikam-users mailing list
>>             [hidden email] <mailto:[hidden email]>
>>             https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>
>>
>>     --
>>     Website: http://www.stella-maris.org.uk
>>     or:      http://www.broadstairs.org
>>     _______________________________________________
>>     Digikam-users mailing list
>>     [hidden email] <mailto:[hidden email]>
>>     https://mail.kde.org/mailman/listinfo/digikam-users
>>     <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4


2016-08-13 11:07 GMT+02:00 Stuart T Rogers <[hidden email]>:
Can anyone here please let me know whether or not they see this issue? I am getting nowhere trying to figure out why this does not work for me in V5 but does in 4.14 on the same openSUSE Tumbleweed system. I'd like to try and work out if this is a bug in the Print Assistant or if it is something to do with the openSUSE implementation/compilation. I must point out that Print Images also fails

No idea about OpenSuse.

If it work with 4.x and not 5.x, i suspect something different with Qt5 about Print interface and the way to handle printer features/configuration.

The tools have been ported as well from Qt4 to Qt5. Nothing have been removed especially.

 
I assume the Print Assistant is part of the Kipi Plugins which are at V5.1.0 and digiKam itself is 5.1.0.

yes it is...

Gilles Caulier


Stuart


On 10/08/16 10:32, Stuart T Rogers wrote:
I have been doing some more on this. When I start the Print Assistant I
see two lines in the top left box, one saying Unsupported Paper Size and
a second line saying Custom and that's it, no templates at all.

I can see the templates.xml file in
/usr/share/kipiplugin_printimages/templates/ and it seems to contain
what it should and I've checked the permissions and all files are
publicly readable. I do not have my own templates file in my home
directory. Surely I should see the templates from this file when I start
the Print Assistant. I think I need to fix this before trying to
progress further.

Also found that I am unable to change orientation between portrait and
landscape, it changes on the dialog but when I OK it and go back into
the dialog portrait is still selected.

Stuart

On 06/08/16 06:42, Gilles Caulier wrote:
Well the driver for Qt application pass through the Qt5Print interface.
The problem must be located in Qt5...

Gilles Caulier

2016-08-04 23:01 GMT+02:00 Stuart T Rogers <[hidden email]
<mailto:[hidden email]>>:

    Further testing shows that the printer driver works perfectly with
    darktable and shotwell as well as Gimp. It only fails using digikam,
    showfoto and gwenview.

    Stuart


    On 04/08/16 20:07, Stuart T Rogers wrote:

        Gilles

        I will check that out but all I can say is the driver works
        perfectly in
        V4.14 of digikam, and in other programs. It shows the papaer
        sizes but
        will not allow me to select them, it still leaves the previous
        setting
        when I click on the photo paper size I want.

        Stuart

        On 04/08/16 11:06, Gilles Caulier wrote:

            In Print assistant, there are few config template files
            which define
            paper layout to use with printers (if i remember)...

            Look here for details :


https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>



            But, i feel that your printer driver is not complete and do
            not provide
            all device information to use in high level side.

            Gilles Caulier


            2016-08-03 18:46 GMT+02:00 Stuart T Rogers
            <[hidden email]
<mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>>>:

                I have just tried to print a photo from digikam using
            the Print
                Assistant and found that I am unable to select some of
            the paper
                sizes supported by my printer, a Canon IP7250. I can
            load most of
                the normal A4 type and Envelope sizes but it will not
            select 5x7
                Borderless when I click on it, which is what I wanted to
            use.

                I have used Gimp to print the photo now as I wanted but
            still cannot
                get it to allow that size either in the Print Assistant
            or just
                Print Images.

                Anyone any ideas please?

                Stuart
                --
                Website: http://www.stella-maris.org.uk
                or:      http://www.broadstairs.org
                _______________________________________________
                Digikam-users mailing list
                [hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>
                https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>
                <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>




            _______________________________________________
            Digikam-users mailing list
            [hidden email] <mailto:[hidden email]>
            https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>



    --
    Website: http://www.stella-maris.org.uk
    or:      http://www.broadstairs.org
    _______________________________________________
    Digikam-users mailing list
    [hidden email] <mailto:[hidden email]>
    https://mail.kde.org/mailman/listinfo/digikam-users
    <https://mail.kde.org/mailman/listinfo/digikam-users>




--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org

Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Andrew Goodbody
I can see this bug on Debian Testing as well.

Messages from the console are:

kipi.plugins: 0x4c219d8
kipi.plugins:  printers:  1
kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
kipi.plugins:  current  "Select page layout"
kipi.plugins: "Select page layout"
kipi.plugins: New page size  QSizeF(210, 297) , old page size
QSizeF(-1, -1)
kipi.plugins: d->m_photoSizes.count()= 0
kipi.plugins: d->m_photoSizes.isEmpty()= true
kipi.plugins: Empty photoSize-list, create default size

I'm guessing that perhaps in parsing the templates.xml file it looks for
a paper size of 210x297 and fails to match against the A4 size of
210.0x297.0?

That does not explain why the selection of a different paper size or
orientation does not stick though.

Andrew

On 13/08/16 10:21, Gilles Caulier wrote:

>
>
> 2016-08-13 11:07 GMT+02:00 Stuart T Rogers <[hidden email]
> <mailto:[hidden email]>>:
>
>     Can anyone here please let me know whether or not they see this
>     issue? I am getting nowhere trying to figure out why this does not
>     work for me in V5 but does in 4.14 on the same openSUSE Tumbleweed
>     system. I'd like to try and work out if this is a bug in the Print
>     Assistant or if it is something to do with the openSUSE
>     implementation/compilation. I must point out that Print Images also
>     fails
>
> No idea about OpenSuse.
>
> If it work with 4.x and not 5.x, i suspect something different with Qt5
> about Print interface and the way to handle printer features/configuration.
>
> The tools have been ported as well from Qt4 to Qt5. Nothing have been
> removed especially.
>
>
>
>     I assume the Print Assistant is part of the Kipi Plugins which are
>     at V5.1.0 and digiKam itself is 5.1.0.
>
>
> yes it is...
>
> Gilles Caulier
>
>
>
>     Stuart
>
>
>     On 10/08/16 10:32, Stuart T Rogers wrote:
>
>         I have been doing some more on this. When I start the Print
>         Assistant I
>         see two lines in the top left box, one saying Unsupported Paper
>         Size and
>         a second line saying Custom and that's it, no templates at all.
>
>         I can see the templates.xml file in
>         /usr/share/kipiplugin_printimages/templates/ and it seems to contain
>         what it should and I've checked the permissions and all files are
>         publicly readable. I do not have my own templates file in my home
>         directory. Surely I should see the templates from this file when
>         I start
>         the Print Assistant. I think I need to fix this before trying to
>         progress further.
>
>         Also found that I am unable to change orientation between
>         portrait and
>         landscape, it changes on the dialog but when I OK it and go back
>         into
>         the dialog portrait is still selected.
>
>         Stuart
>
>         On 06/08/16 06:42, Gilles Caulier wrote:
>
>             Well the driver for Qt application pass through the Qt5Print
>             interface.
>             The problem must be located in Qt5...
>
>             Gilles Caulier
>
>             2016-08-04 23:01 GMT+02:00 Stuart T Rogers
>             <[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email]
>             <mailto:[hidden email]>>>:
>
>                 Further testing shows that the printer driver works
>             perfectly with
>                 darktable and shotwell as well as Gimp. It only fails
>             using digikam,
>                 showfoto and gwenview.
>
>                 Stuart
>
>
>                 On 04/08/16 20:07, Stuart T Rogers wrote:
>
>                     Gilles
>
>                     I will check that out but all I can say is the
>             driver works
>                     perfectly in
>                     V4.14 of digikam, and in other programs. It shows
>             the papaer
>                     sizes but
>                     will not allow me to select them, it still leaves
>             the previous
>                     setting
>                     when I click on the photo paper size I want.
>
>                     Stuart
>
>                     On 04/08/16 11:06, Gilles Caulier wrote:
>
>                         In Print assistant, there are few config
>             template files
>                         which define
>                         paper layout to use with printers (if i remember)...
>
>                         Look here for details :
>
>
>             https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>
>
>
>                         But, i feel that your printer driver is not
>             complete and do
>                         not provide
>                         all device information to use in high level side.
>
>                         Gilles Caulier
>
>
>                         2016-08-03 18:46 GMT+02:00 Stuart T Rogers
>                         <[hidden email]
>             <mailto:[hidden email]>
>             <mailto:[hidden email]
>             <mailto:[hidden email]>>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>>:
>
>                             I have just tried to print a photo from
>             digikam using
>                         the Print
>                             Assistant and found that I am unable to
>             select some of
>                         the paper
>                             sizes supported by my printer, a Canon
>             IP7250. I can
>                         load most of
>                             the normal A4 type and Envelope sizes but it
>             will not
>                         select 5x7
>                             Borderless when I click on it, which is what
>             I wanted to
>                         use.
>
>                             I have used Gimp to print the photo now as I
>             wanted but
>                         still cannot
>                             get it to allow that size either in the
>             Print Assistant
>                         or just
>                             Print Images.
>
>                             Anyone any ideas please?
>
>                             Stuart
>                             --
>                             Website: http://www.stella-maris.org.uk
>                             or:      http://www.broadstairs.org
>                             _______________________________________________
>                             Digikam-users mailing list
>                             [hidden email]
>             <mailto:[hidden email]> <mailto:[hidden email]
>             <mailto:[hidden email]>>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]> <mailto:[hidden email]
>             <mailto:[hidden email]>>>
>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>
>
>                         _______________________________________________
>                         Digikam-users mailing list
>                         [hidden email]
>             <mailto:[hidden email]> <mailto:[hidden email]
>             <mailto:[hidden email]>>
>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>
>
>                 --
>                 Website: http://www.stella-maris.org.uk
>                 or:      http://www.broadstairs.org
>                 _______________________________________________
>                 Digikam-users mailing list
>                 [hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email] <mailto:[hidden email]>>
>                 https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>                 <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>
>
>
>     --
>     Website: http://www.stella-maris.org.uk
>     or:      http://www.broadstairs.org
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
I have run digikam from a console and see these messages when trying to
use the Print Assistant. Can anyone here please help in fixing this? I
am more than happy to do some testing but need some advice on how to
proceed.

kipi.plugins:  printers:  1
kipi.plugins:  printer:  "iP7200series-TurboPrint"
kipi.plugins:  current  "Select page layout"
kipi.plugins: "Select page layout"
kipi.plugins: New page size  QSizeF(210, 297) , old page size
QSizeF(-1, -1)
kipi.plugins: d->m_photoSizes.count()= 0
kipi.plugins: d->m_photoSizes.isEmpty()= true
kipi.plugins: Empty photoSize-list, create default size

digikam.dimg:
"/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  : JPEG
file identified
digikam.metaengine: Loading image history  ""
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
QDateTime(2015-12-26 16:41:57.000 GMT Qt::TimeSpec(LocalTime))
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC
profile.
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
kipi.plugins: Creating new ImageListViewItem with url
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
  for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
kipi.plugins: New page size  QSizeF(210, 297) , old page size
QSizeF(210, 297)
kipi.plugins: "Select page layout"
kipi.plugins:  before  "Select page layout"
kipi.plugins:  current  "Select page layout"
kipi.plugins: Creating new ImageListViewItem with url
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
  for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
kipi.plugins: New page size  QSizeF(210, 297) , old page size
QSizeF(210, 297)
kipi.plugins: Request to update thumbnail for
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: Request to update thumbnail for
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: Update thumb in list for
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: Received new thumbnail for url
QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
  for view  KIPIPlugins::KPImagesListView(0x482c7b0)
kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
kipi.plugins: Dialog exit, new size  QSizeF(210, 297)  internal size
QSizeF(210, 297)
kipi.plugins: Dialog exit, new margins: left  0  right  0  top  0  bottom  0
kipi.plugins: New page size  QSizeF(210, 297) , old page size
QSizeF(210, 297)
kipi.plugins: New page size  QSizeF(210, 297) , old page size
QSizeF(210, 297)

Stuart

On 16/08/16 00:06, Andrew Goodbody wrote:

> I can see this bug on Debian Testing as well.
>
> Messages from the console are:
>
> kipi.plugins: 0x4c219d8
> kipi.plugins:  printers:  1
> kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
> kipi.plugins:  current  "Select page layout"
> kipi.plugins: "Select page layout"
> kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(-1,
> -1)
> kipi.plugins: d->m_photoSizes.count()= 0
> kipi.plugins: d->m_photoSizes.isEmpty()= true
> kipi.plugins: Empty photoSize-list, create default size
>
> I'm guessing that perhaps in parsing the templates.xml file it looks for
> a paper size of 210x297 and fails to match against the A4 size of
> 210.0x297.0?
>
> That does not explain why the selection of a different paper size or
> orientation does not stick though.
>
> Andrew
>
> On 13/08/16 10:21, Gilles Caulier wrote:
>>
>>
>> 2016-08-13 11:07 GMT+02:00 Stuart T Rogers <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>     Can anyone here please let me know whether or not they see this
>>     issue? I am getting nowhere trying to figure out why this does not
>>     work for me in V5 but does in 4.14 on the same openSUSE Tumbleweed
>>     system. I'd like to try and work out if this is a bug in the Print
>>     Assistant or if it is something to do with the openSUSE
>>     implementation/compilation. I must point out that Print Images also
>>     fails
>>
>> No idea about OpenSuse.
>>
>> If it work with 4.x and not 5.x, i suspect something different with Qt5
>> about Print interface and the way to handle printer
>> features/configuration.
>>
>> The tools have been ported as well from Qt4 to Qt5. Nothing have been
>> removed especially.
>>
>>
>>
>>     I assume the Print Assistant is part of the Kipi Plugins which are
>>     at V5.1.0 and digiKam itself is 5.1.0.
>>
>>
>> yes it is...
>>
>> Gilles Caulier
>>
>>
>>
>>     Stuart
>>
>>
>>     On 10/08/16 10:32, Stuart T Rogers wrote:
>>
>>         I have been doing some more on this. When I start the Print
>>         Assistant I
>>         see two lines in the top left box, one saying Unsupported Paper
>>         Size and
>>         a second line saying Custom and that's it, no templates at all.
>>
>>         I can see the templates.xml file in
>>         /usr/share/kipiplugin_printimages/templates/ and it seems to
>> contain
>>         what it should and I've checked the permissions and all files are
>>         publicly readable. I do not have my own templates file in my home
>>         directory. Surely I should see the templates from this file when
>>         I start
>>         the Print Assistant. I think I need to fix this before trying to
>>         progress further.
>>
>>         Also found that I am unable to change orientation between
>>         portrait and
>>         landscape, it changes on the dialog but when I OK it and go back
>>         into
>>         the dialog portrait is still selected.
>>
>>         Stuart
>>
>>         On 06/08/16 06:42, Gilles Caulier wrote:
>>
>>             Well the driver for Qt application pass through the Qt5Print
>>             interface.
>>             The problem must be located in Qt5...
>>
>>             Gilles Caulier
>>
>>             2016-08-04 23:01 GMT+02:00 Stuart T Rogers
>>             <[hidden email]
>> <mailto:[hidden email]>
>>             <mailto:[hidden email]
>>             <mailto:[hidden email]>>>:
>>
>>                 Further testing shows that the printer driver works
>>             perfectly with
>>                 darktable and shotwell as well as Gimp. It only fails
>>             using digikam,
>>                 showfoto and gwenview.
>>
>>                 Stuart
>>
>>
>>                 On 04/08/16 20:07, Stuart T Rogers wrote:
>>
>>                     Gilles
>>
>>                     I will check that out but all I can say is the
>>             driver works
>>                     perfectly in
>>                     V4.14 of digikam, and in other programs. It shows
>>             the papaer
>>                     sizes but
>>                     will not allow me to select them, it still leaves
>>             the previous
>>                     setting
>>                     when I click on the photo paper size I want.
>>
>>                     Stuart
>>
>>                     On 04/08/16 11:06, Gilles Caulier wrote:
>>
>>                         In Print assistant, there are few config
>>             template files
>>                         which define
>>                         paper layout to use with printers (if i
>> remember)...
>>
>>                         Look here for details :
>>
>>
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>
>>
>>
>>
>>                         But, i feel that your printer driver is not
>>             complete and do
>>                         not provide
>>                         all device information to use in high level side.
>>
>>                         Gilles Caulier
>>
>>
>>                         2016-08-03 18:46 GMT+02:00 Stuart T Rogers
>>                         <[hidden email]
>>             <mailto:[hidden email]>
>>             <mailto:[hidden email]
>>             <mailto:[hidden email]>>
>>                         <mailto:[hidden email]
>>             <mailto:[hidden email]>
>>                         <mailto:[hidden email]
>>             <mailto:[hidden email]>>>>:
>>
>>                             I have just tried to print a photo from
>>             digikam using
>>                         the Print
>>                             Assistant and found that I am unable to
>>             select some of
>>                         the paper
>>                             sizes supported by my printer, a Canon
>>             IP7250. I can
>>                         load most of
>>                             the normal A4 type and Envelope sizes but it
>>             will not
>>                         select 5x7
>>                             Borderless when I click on it, which is what
>>             I wanted to
>>                         use.
>>
>>                             I have used Gimp to print the photo now as I
>>             wanted but
>>                         still cannot
>>                             get it to allow that size either in the
>>             Print Assistant
>>                         or just
>>                             Print Images.
>>
>>                             Anyone any ideas please?
>>
>>                             Stuart
>>                             --
>>                             Website: http://www.stella-maris.org.uk
>>                             or:      http://www.broadstairs.org
>>
>> _______________________________________________
>>                             Digikam-users mailing list
>>                             [hidden email]
>>             <mailto:[hidden email]> <mailto:[hidden email]
>>             <mailto:[hidden email]>>
>>                         <mailto:[hidden email]
>>             <mailto:[hidden email]> <mailto:[hidden email]
>>             <mailto:[hidden email]>>>
>>
>>             https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>
>>
>>                         _______________________________________________
>>                         Digikam-users mailing list
>>                         [hidden email]
>>             <mailto:[hidden email]> <mailto:[hidden email]
>>             <mailto:[hidden email]>>
>>
>>             https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>
>>
>>                 --
>>                 Website: http://www.stella-maris.org.uk
>>                 or:      http://www.broadstairs.org
>>                 _______________________________________________
>>                 Digikam-users mailing list
>>                 [hidden email] <mailto:[hidden email]>
>>             <mailto:[hidden email] <mailto:[hidden email]>>
>>                 https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                 <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>
>>
>>
>>     --
>>     Website: http://www.stella-maris.org.uk
>>     or:      http://www.broadstairs.org
>>
>>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4
Where is the problem exactly in this debug trace from the console ?

Gilles Caulier

2016-08-19 11:18 GMT+02:00 Stuart T Rogers <[hidden email]>:
I have run digikam from a console and see these messages when trying to use the Print Assistant. Can anyone here please help in fixing this? I am more than happy to do some testing but need some advice on how to proceed.

kipi.plugins:  printers:  1
kipi.plugins:  printer:  "iP7200series-TurboPrint"
kipi.plugins:  current  "Select page layout"
kipi.plugins: "Select page layout"
kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(-1, -1)
kipi.plugins: d->m_photoSizes.count()= 0
kipi.plugins: d->m_photoSizes.isEmpty()= true
kipi.plugins: Empty photoSize-list, create default size

digikam.dimg: "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  : JPEG file identified
digikam.metaengine: Loading image history  ""
digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal => QDateTime(2015-12-26 16:41:57.000 GMT Qt::TimeSpec(LocalTime))
digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB ICC profile.
digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
kipi.plugins: Creating new ImageListViewItem with url QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")  for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(210, 297)
kipi.plugins: "Select page layout"
kipi.plugins:  before  "Select page layout"
kipi.plugins:  current  "Select page layout"
kipi.plugins: Creating new ImageListViewItem with url QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")  for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(210, 297)
kipi.plugins: Request to update thumbnail for QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: Request to update thumbnail for QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: Update thumb in list for QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
kipi.plugins: Received new thumbnail for url QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")  for view  KIPIPlugins::KPImagesListView(0x482c7b0)
kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
kipi.plugins: Dialog exit, new size  QSizeF(210, 297)  internal size QSizeF(210, 297)
kipi.plugins: Dialog exit, new margins: left  0  right  0  top  0  bottom  0
kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(210, 297)
kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(210, 297)

Stuart


On 16/08/16 00:06, Andrew Goodbody wrote:
I can see this bug on Debian Testing as well.

Messages from the console are:

kipi.plugins: 0x4c219d8
kipi.plugins:  printers:  1
kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
kipi.plugins:  current  "Select page layout"
kipi.plugins: "Select page layout"
kipi.plugins: New page size  QSizeF(210, 297) , old page size QSizeF(-1,
-1)
kipi.plugins: d->m_photoSizes.count()= 0
kipi.plugins: d->m_photoSizes.isEmpty()= true
kipi.plugins: Empty photoSize-list, create default size

I'm guessing that perhaps in parsing the templates.xml file it looks for
a paper size of 210x297 and fails to match against the A4 size of
210.0x297.0?

That does not explain why the selection of a different paper size or
orientation does not stick though.

Andrew

On 13/08/16 10:21, Gilles Caulier wrote:


2016-08-13 11:07 GMT+02:00 Stuart T Rogers <[hidden email]
<mailto:[hidden email]>>:

    Can anyone here please let me know whether or not they see this
    issue? I am getting nowhere trying to figure out why this does not
    work for me in V5 but does in 4.14 on the same openSUSE Tumbleweed
    system. I'd like to try and work out if this is a bug in the Print
    Assistant or if it is something to do with the openSUSE
    implementation/compilation. I must point out that Print Images also
    fails

No idea about OpenSuse.

If it work with 4.x and not 5.x, i suspect something different with Qt5
about Print interface and the way to handle printer
features/configuration.

The tools have been ported as well from Qt4 to Qt5. Nothing have been
removed especially.



    I assume the Print Assistant is part of the Kipi Plugins which are
    at V5.1.0 and digiKam itself is 5.1.0.


yes it is...

Gilles Caulier



    Stuart


    On 10/08/16 10:32, Stuart T Rogers wrote:

        I have been doing some more on this. When I start the Print
        Assistant I
        see two lines in the top left box, one saying Unsupported Paper
        Size and
        a second line saying Custom and that's it, no templates at all.

        I can see the templates.xml file in
        /usr/share/kipiplugin_printimages/templates/ and it seems to
contain
        what it should and I've checked the permissions and all files are
        publicly readable. I do not have my own templates file in my home
        directory. Surely I should see the templates from this file when
        I start
        the Print Assistant. I think I need to fix this before trying to
        progress further.

        Also found that I am unable to change orientation between
        portrait and
        landscape, it changes on the dialog but when I OK it and go back
        into
        the dialog portrait is still selected.

        Stuart

        On 06/08/16 06:42, Gilles Caulier wrote:

            Well the driver for Qt application pass through the Qt5Print
            interface.
            The problem must be located in Qt5...

            Gilles Caulier

            2016-08-04 23:01 GMT+02:00 Stuart T Rogers
            <[hidden email]
<mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>>>:

                Further testing shows that the printer driver works
            perfectly with
                darktable and shotwell as well as Gimp. It only fails
            using digikam,
                showfoto and gwenview.

                Stuart


                On 04/08/16 20:07, Stuart T Rogers wrote:

                    Gilles

                    I will check that out but all I can say is the
            driver works
                    perfectly in
                    V4.14 of digikam, and in other programs. It shows
            the papaer
                    sizes but
                    will not allow me to select them, it still leaves
            the previous
                    setting
                    when I click on the photo paper size I want.

                    Stuart

                    On 04/08/16 11:06, Gilles Caulier wrote:

                        In Print assistant, there are few config
            template files
                        which define
                        paper layout to use with printers (if i
remember)...

                        Look here for details :



https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>




<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>




                        But, i feel that your printer driver is not
            complete and do
                        not provide
                        all device information to use in high level side.

                        Gilles Caulier


                        2016-08-03 18:46 GMT+02:00 Stuart T Rogers
                        <[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>>
                        <mailto:[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>>:

                            I have just tried to print a photo from
            digikam using
                        the Print
                            Assistant and found that I am unable to
            select some of
                        the paper
                            sizes supported by my printer, a Canon
            IP7250. I can
                        load most of
                            the normal A4 type and Envelope sizes but it
            will not
                        select 5x7
                            Borderless when I click on it, which is what
            I wanted to
                        use.

                            I have used Gimp to print the photo now as I
            wanted but
                        still cannot
                            get it to allow that size either in the
            Print Assistant
                        or just
                            Print Images.

                            Anyone any ideas please?

                            Stuart
                            --
                            Website: http://www.stella-maris.org.uk
                            or:      http://www.broadstairs.org

_______________________________________________
                            Digikam-users mailing list
                            [hidden email]
            <mailto:[hidden email]> <mailto:[hidden email]
            <mailto:[hidden email]>>
                        <mailto:[hidden email]
            <mailto:[hidden email]> <mailto:[hidden email]
            <mailto:[hidden email]>>>

            https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>>




                        _______________________________________________
                        Digikam-users mailing list
                        [hidden email]
            <mailto:[hidden email]> <mailto:[hidden email]
            <mailto:[hidden email]>>

            https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>



                --
                Website: http://www.stella-maris.org.uk
                or:      http://www.broadstairs.org
                _______________________________________________
                Digikam-users mailing list
                [hidden email] <mailto:[hidden email]>
            <mailto:[hidden email] <mailto:[hidden email]>>
                https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>
                <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>




    --
    Website: http://www.stella-maris.org.uk
    or:      http://www.broadstairs.org




--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org

Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
This is the console messages from the point at which I start the Print
Assitant to the point at which I close the Assistant. I have the whole
trace from start to finish of running digikam but searching through it
all this is all the messages which come up while running the Assitant,
the only other mention of printing is where it loads the PrintImagesUI.
The last couple of lines appear when trying to change paper size from A4
to 6x4 which does not work.

On 19/08/16 10:22, Gilles Caulier wrote:

> Where is the problem exactly in this debug trace from the console ?
>
> Gilles Caulier
>
> 2016-08-19 11:18 GMT+02:00 Stuart T Rogers <[hidden email]
> <mailto:[hidden email]>>:
>
>     I have run digikam from a console and see these messages when trying
>     to use the Print Assistant. Can anyone here please help in fixing
>     this? I am more than happy to do some testing but need some advice
>     on how to proceed.
>
>     kipi.plugins:  printers:  1
>     kipi.plugins:  printer:  "iP7200series-TurboPrint"
>     kipi.plugins:  current  "Select page layout"
>     kipi.plugins: "Select page layout"
>     kipi.plugins: New page size  QSizeF(210, 297) , old page size
>     QSizeF(-1, -1)
>     kipi.plugins: d->m_photoSizes.count()= 0
>     kipi.plugins: d->m_photoSizes.isEmpty()= true
>     kipi.plugins: Empty photoSize-list, create default size
>
>     digikam.dimg:
>     "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
>     JPEG file identified
>     digikam.metaengine: Loading image history  ""
>     digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
>     QDateTime(2015-12-26 16:41:57.000 GMT Qt::TimeSpec(LocalTime))
>     digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB
>     ICC profile.
>     digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
>     kipi.plugins: Creating new ImageListViewItem with url
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>     kipi.plugins: New page size  QSizeF(210, 297) , old page size
>     QSizeF(210, 297)
>     kipi.plugins: "Select page layout"
>     kipi.plugins:  before  "Select page layout"
>     kipi.plugins:  current  "Select page layout"
>     kipi.plugins: Creating new ImageListViewItem with url
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>     kipi.plugins: New page size  QSizeF(210, 297) , old page size
>     QSizeF(210, 297)
>     kipi.plugins: Request to update thumbnail for
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     kipi.plugins: Request to update thumbnail for
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     kipi.plugins: Update thumb in list for
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     kipi.plugins: Received new thumbnail for url
>     QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>     for view  KIPIPlugins::KPImagesListView(0x482c7b0)
>     kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
>     kipi.plugins: Dialog exit, new size  QSizeF(210, 297)  internal size
>     QSizeF(210, 297)
>     kipi.plugins: Dialog exit, new margins: left  0  right  0  top  0
>     bottom  0
>     kipi.plugins: New page size  QSizeF(210, 297) , old page size
>     QSizeF(210, 297)
>     kipi.plugins: New page size  QSizeF(210, 297) , old page size
>     QSizeF(210, 297)
>
>     Stuart
>
>
>     On 16/08/16 00:06, Andrew Goodbody wrote:
>
>         I can see this bug on Debian Testing as well.
>
>         Messages from the console are:
>
>         kipi.plugins: 0x4c219d8
>         kipi.plugins:  printers:  1
>         kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
>         kipi.plugins:  current  "Select page layout"
>         kipi.plugins: "Select page layout"
>         kipi.plugins: New page size  QSizeF(210, 297) , old page size
>         QSizeF(-1,
>         -1)
>         kipi.plugins: d->m_photoSizes.count()= 0
>         kipi.plugins: d->m_photoSizes.isEmpty()= true
>         kipi.plugins: Empty photoSize-list, create default size
>
>         I'm guessing that perhaps in parsing the templates.xml file it
>         looks for
>         a paper size of 210x297 and fails to match against the A4 size of
>         210.0x297.0?
>
>         That does not explain why the selection of a different paper size or
>         orientation does not stick though.
>
>         Andrew
>
>         On 13/08/16 10:21, Gilles Caulier wrote:
>
>
>
>             2016-08-13 11:07 GMT+02:00 Stuart T Rogers
>             <[hidden email] <mailto:[hidden email]>
>             <mailto:[hidden email]
>             <mailto:[hidden email]>>>:
>
>                 Can anyone here please let me know whether or not they
>             see this
>                 issue? I am getting nowhere trying to figure out why
>             this does not
>                 work for me in V5 but does in 4.14 on the same openSUSE
>             Tumbleweed
>                 system. I'd like to try and work out if this is a bug in
>             the Print
>                 Assistant or if it is something to do with the openSUSE
>                 implementation/compilation. I must point out that Print
>             Images also
>                 fails
>
>             No idea about OpenSuse.
>
>             If it work with 4.x and not 5.x, i suspect something
>             different with Qt5
>             about Print interface and the way to handle printer
>             features/configuration.
>
>             The tools have been ported as well from Qt4 to Qt5. Nothing
>             have been
>             removed especially.
>
>
>
>                 I assume the Print Assistant is part of the Kipi Plugins
>             which are
>                 at V5.1.0 and digiKam itself is 5.1.0.
>
>
>             yes it is...
>
>             Gilles Caulier
>
>
>
>                 Stuart
>
>
>                 On 10/08/16 10:32, Stuart T Rogers wrote:
>
>                     I have been doing some more on this. When I start
>             the Print
>                     Assistant I
>                     see two lines in the top left box, one saying
>             Unsupported Paper
>                     Size and
>                     a second line saying Custom and that's it, no
>             templates at all.
>
>                     I can see the templates.xml file in
>                     /usr/share/kipiplugin_printimages/templates/ and it
>             seems to
>             contain
>                     what it should and I've checked the permissions and
>             all files are
>                     publicly readable. I do not have my own templates
>             file in my home
>                     directory. Surely I should see the templates from
>             this file when
>                     I start
>                     the Print Assistant. I think I need to fix this
>             before trying to
>                     progress further.
>
>                     Also found that I am unable to change orientation
>             between
>                     portrait and
>                     landscape, it changes on the dialog but when I OK it
>             and go back
>                     into
>                     the dialog portrait is still selected.
>
>                     Stuart
>
>                     On 06/08/16 06:42, Gilles Caulier wrote:
>
>                         Well the driver for Qt application pass through
>             the Qt5Print
>                         interface.
>                         The problem must be located in Qt5...
>
>                         Gilles Caulier
>
>                         2016-08-04 23:01 GMT+02:00 Stuart T Rogers
>                         <[hidden email]
>             <mailto:[hidden email]>
>             <mailto:[hidden email]
>             <mailto:[hidden email]>>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>>:
>
>                             Further testing shows that the printer
>             driver works
>                         perfectly with
>                             darktable and shotwell as well as Gimp. It
>             only fails
>                         using digikam,
>                             showfoto and gwenview.
>
>                             Stuart
>
>
>                             On 04/08/16 20:07, Stuart T Rogers wrote:
>
>                                 Gilles
>
>                                 I will check that out but all I can say
>             is the
>                         driver works
>                                 perfectly in
>                                 V4.14 of digikam, and in other programs.
>             It shows
>                         the papaer
>                                 sizes but
>                                 will not allow me to select them, it
>             still leaves
>                         the previous
>                                 setting
>                                 when I click on the photo paper size I want.
>
>                                 Stuart
>
>                                 On 04/08/16 11:06, Gilles Caulier wrote:
>
>                                     In Print assistant, there are few config
>                         template files
>                                     which define
>                                     paper layout to use with printers (if i
>             remember)...
>
>                                     Look here for details :
>
>
>
>             https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>
>
>
>
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>
>
>
>
>
>                                     But, i feel that your printer driver
>             is not
>                         complete and do
>                                     not provide
>                                     all device information to use in
>             high level side.
>
>                                     Gilles Caulier
>
>
>                                     2016-08-03 18:46 GMT+02:00 Stuart T
>             Rogers
>                                     <[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>
>                                     <mailto:[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>
>                                     <mailto:[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>>>:
>
>                                         I have just tried to print a
>             photo from
>                         digikam using
>                                     the Print
>                                         Assistant and found that I am
>             unable to
>                         select some of
>                                     the paper
>                                         sizes supported by my printer, a
>             Canon
>                         IP7250. I can
>                                     load most of
>                                         the normal A4 type and Envelope
>             sizes but it
>                         will not
>                                     select 5x7
>                                         Borderless when I click on it,
>             which is what
>                         I wanted to
>                                     use.
>
>                                         I have used Gimp to print the
>             photo now as I
>                         wanted but
>                                     still cannot
>                                         get it to allow that size either
>             in the
>                         Print Assistant
>                                     or just
>                                         Print Images.
>
>                                         Anyone any ideas please?
>
>                                         Stuart
>                                         --
>                                         Website:
>             http://www.stella-maris.org.uk
>                                         or:      http://www.broadstairs.org
>
>             _______________________________________________
>                                         Digikam-users mailing list
>                                         [hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>
>             <mailto:[hidden email] <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>
>                                     <mailto:[hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>
>             <mailto:[hidden email] <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>>
>
>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>
>
>
>             _______________________________________________
>                                     Digikam-users mailing list
>                                     [hidden email]
>             <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>
>             <mailto:[hidden email] <mailto:[hidden email]>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]>>>
>
>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>
>                             --
>                             Website: http://www.stella-maris.org.uk
>                             or:      http://www.broadstairs.org
>                             _______________________________________________
>                             Digikam-users mailing list
>                             [hidden email]
>             <mailto:[hidden email]> <mailto:[hidden email]
>             <mailto:[hidden email]>>
>                         <mailto:[hidden email]
>             <mailto:[hidden email]> <mailto:[hidden email]
>             <mailto:[hidden email]>>>
>
>             https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>
>             <https://mail.kde.org/mailman/listinfo/digikam-users
>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>
>
>                 --
>                 Website: http://www.stella-maris.org.uk
>                 or:      http://www.broadstairs.org
>
>
>
>
>     --
>     Website: http://www.stella-maris.org.uk
>     or:      http://www.broadstairs.org
>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4
yes sure. But what it expected to see in this trace as dysfonctions ?

The trace are generated by qCDebug in C++ source, located in kipiplugin tool. Code is here if you xant to take a look :


Gilles Caulier



2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]>:
This is the console messages from the point at which I start the Print Assitant to the point at which I close the Assistant. I have the whole trace from start to finish of running digikam but searching through it all this is all the messages which come up while running the Assitant, the only other mention of printing is where it loads the PrintImagesUI. The last couple of lines appear when trying to change paper size from A4 to 6x4 which does not work.

On 19/08/16 10:22, Gilles Caulier wrote:
Where is the problem exactly in this debug trace from the console ?

Gilles Caulier

2016-08-19 11:18 GMT+02:00 Stuart T Rogers <[hidden email]
<mailto:[hidden email]>>:


    I have run digikam from a console and see these messages when trying
    to use the Print Assistant. Can anyone here please help in fixing
    this? I am more than happy to do some testing but need some advice
    on how to proceed.

    kipi.plugins:  printers:  1
    kipi.plugins:  printer:  "iP7200series-TurboPrint"
    kipi.plugins:  current  "Select page layout"
    kipi.plugins: "Select page layout"
    kipi.plugins: New page size  QSizeF(210, 297) , old page size
    QSizeF(-1, -1)
    kipi.plugins: d->m_photoSizes.count()= 0
    kipi.plugins: d->m_photoSizes.isEmpty()= true
    kipi.plugins: Empty photoSize-list, create default size

    digikam.dimg:
    "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
    JPEG file identified
    digikam.metaengine: Loading image history  ""
    digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
    QDateTime(2015-12-26 16:41:57.000 GMT Qt::TimeSpec(LocalTime))
    digikam.metaengine: Exif color-space tag is sRGB. Using default sRGB
    ICC profile.
    digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
    kipi.plugins: Creating new ImageListViewItem with url
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
    kipi.plugins: New page size  QSizeF(210, 297) , old page size
    QSizeF(210, 297)
    kipi.plugins: "Select page layout"
    kipi.plugins:  before  "Select page layout"
    kipi.plugins:  current  "Select page layout"
    kipi.plugins: Creating new ImageListViewItem with url
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
    kipi.plugins: New page size  QSizeF(210, 297) , old page size
    QSizeF(210, 297)
    kipi.plugins: Request to update thumbnail for
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    kipi.plugins: Request to update thumbnail for
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    kipi.plugins: Update thumb in list for
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    kipi.plugins: Received new thumbnail for url
    QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
    for view  KIPIPlugins::KPImagesListView(0x482c7b0)
    kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
    kipi.plugins: Dialog exit, new size  QSizeF(210, 297)  internal size
    QSizeF(210, 297)
    kipi.plugins: Dialog exit, new margins: left  0  right  0  top  0
    bottom  0
    kipi.plugins: New page size  QSizeF(210, 297) , old page size
    QSizeF(210, 297)
    kipi.plugins: New page size  QSizeF(210, 297) , old page size
    QSizeF(210, 297)

    Stuart


    On 16/08/16 00:06, Andrew Goodbody wrote:

        I can see this bug on Debian Testing as well.

        Messages from the console are:

        kipi.plugins: 0x4c219d8
        kipi.plugins:  printers:  1
        kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
        kipi.plugins:  current  "Select page layout"
        kipi.plugins: "Select page layout"
        kipi.plugins: New page size  QSizeF(210, 297) , old page size
        QSizeF(-1,
        -1)
        kipi.plugins: d->m_photoSizes.count()= 0
        kipi.plugins: d->m_photoSizes.isEmpty()= true
        kipi.plugins: Empty photoSize-list, create default size

        I'm guessing that perhaps in parsing the templates.xml file it
        looks for
        a paper size of 210x297 and fails to match against the A4 size of
        210.0x297.0?

        That does not explain why the selection of a different paper size or
        orientation does not stick though.

        Andrew

        On 13/08/16 10:21, Gilles Caulier wrote:



            2016-08-13 11:07 GMT+02:00 Stuart T Rogers
            <[hidden email] <mailto:[hidden email]>
            <mailto:[hidden email]

            <mailto:[hidden email]>>>:

                Can anyone here please let me know whether or not they
            see this
                issue? I am getting nowhere trying to figure out why
            this does not
                work for me in V5 but does in 4.14 on the same openSUSE
            Tumbleweed
                system. I'd like to try and work out if this is a bug in
            the Print
                Assistant or if it is something to do with the openSUSE
                implementation/compilation. I must point out that Print
            Images also
                fails

            No idea about OpenSuse.

            If it work with 4.x and not 5.x, i suspect something
            different with Qt5
            about Print interface and the way to handle printer
            features/configuration.

            The tools have been ported as well from Qt4 to Qt5. Nothing
            have been
            removed especially.



                I assume the Print Assistant is part of the Kipi Plugins
            which are
                at V5.1.0 and digiKam itself is 5.1.0.


            yes it is...

            Gilles Caulier



                Stuart


                On 10/08/16 10:32, Stuart T Rogers wrote:

                    I have been doing some more on this. When I start
            the Print
                    Assistant I
                    see two lines in the top left box, one saying
            Unsupported Paper
                    Size and
                    a second line saying Custom and that's it, no
            templates at all.

                    I can see the templates.xml file in
                    /usr/share/kipiplugin_printimages/templates/ and it
            seems to
            contain
                    what it should and I've checked the permissions and
            all files are
                    publicly readable. I do not have my own templates
            file in my home
                    directory. Surely I should see the templates from
            this file when
                    I start
                    the Print Assistant. I think I need to fix this
            before trying to
                    progress further.

                    Also found that I am unable to change orientation
            between
                    portrait and
                    landscape, it changes on the dialog but when I OK it
            and go back
                    into
                    the dialog portrait is still selected.

                    Stuart

                    On 06/08/16 06:42, Gilles Caulier wrote:

                        Well the driver for Qt application pass through
            the Qt5Print
                        interface.
                        The problem must be located in Qt5...

                        Gilles Caulier

                        2016-08-04 23:01 GMT+02:00 Stuart T Rogers
                        <[hidden email]
            <mailto:[hidden email]>
            <mailto:[hidden email]
            <mailto:[hidden email]>>
                        <mailto:[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>>:

                            Further testing shows that the printer
            driver works
                        perfectly with
                            darktable and shotwell as well as Gimp. It
            only fails
                        using digikam,
                            showfoto and gwenview.

                            Stuart


                            On 04/08/16 20:07, Stuart T Rogers wrote:

                                Gilles

                                I will check that out but all I can say
            is the
                        driver works
                                perfectly in
                                V4.14 of digikam, and in other programs.
            It shows
                        the papaer
                                sizes but
                                will not allow me to select them, it
            still leaves
                        the previous
                                setting
                                when I click on the photo paper size I want.

                                Stuart

                                On 04/08/16 11:06, Gilles Caulier wrote:

                                    In Print assistant, there are few config
                        template files
                                    which define
                                    paper layout to use with printers (if i
            remember)...

                                    Look here for details :



            https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>


            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>




            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>


            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
            <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>




                                    But, i feel that your printer driver
            is not
                        complete and do
                                    not provide
                                    all device information to use in
            high level side.

                                    Gilles Caulier


                                    2016-08-03 18:46 GMT+02:00 Stuart T
            Rogers
                                    <[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>
                        <mailto:[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>
                                    <mailto:[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>
                                    <mailto:[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>>>:

                                        I have just tried to print a
            photo from
                        digikam using
                                    the Print
                                        Assistant and found that I am
            unable to
                        select some of
                                    the paper
                                        sizes supported by my printer, a
            Canon
                        IP7250. I can
                                    load most of
                                        the normal A4 type and Envelope
            sizes but it
                        will not
                                    select 5x7
                                        Borderless when I click on it,
            which is what
                        I wanted to
                                    use.

                                        I have used Gimp to print the
            photo now as I
                        wanted but
                                    still cannot
                                        get it to allow that size either
            in the
                        Print Assistant
                                    or just
                                        Print Images.

                                        Anyone any ideas please?

                                        Stuart
                                        --
                                        Website:
            http://www.stella-maris.org.uk
                                        or:      http://www.broadstairs.org

            _______________________________________________
                                        Digikam-users mailing list
                                        [hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>
            <mailto:[hidden email] <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>
                                    <mailto:[hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>
            <mailto:[hidden email] <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>>


            https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>


            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>>


            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>


            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>>>





            _______________________________________________
                                    Digikam-users mailing list
                                    [hidden email]
            <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>
            <mailto:[hidden email] <mailto:[hidden email]>
                        <mailto:[hidden email]
            <mailto:[hidden email]>>>


            https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>


            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>>



                            --
                            Website: http://www.stella-maris.org.uk
                            or:      http://www.broadstairs.org
                            _______________________________________________
                            Digikam-users mailing list
                            [hidden email]
            <mailto:[hidden email]> <mailto:[hidden email]
            <mailto:[hidden email]>>
                        <mailto:[hidden email]
            <mailto:[hidden email]> <mailto:[hidden email]
            <mailto:[hidden email]>>>

            https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>

            <https://mail.kde.org/mailman/listinfo/digikam-users
            <https://mail.kde.org/mailman/listinfo/digikam-users>>>




                --
                Website: http://www.stella-maris.org.uk
                or:      http://www.broadstairs.org




    --
    Website: http://www.stella-maris.org.uk
    or:      http://www.broadstairs.org



Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
That's my problem, these are all the messages seen in the console and
none of them seem to indicate what has gone wrong. There are no error
messages shown which I had hoped might happen. There is no indication as
to why the templates dont show up in the UI like they do in V4 and apart
from the last two messages saying the paper changed from A4 to A$ when
it should have changed to 4x6 there is nothing to explain it.

I was hoping someone with more knowledge of this code might be able to
re-create the problem.

Are you saying that when you open the Print Assistant that you see a
list of template sizes in V5 as I do in only V4?

Stuart

On 19/08/16 11:31, Gilles Caulier wrote:

> yes sure. But what it expected to see in this trace as dysfonctions ?
>
> The trace are generated by qCDebug in C++ source, located in kipiplugin
> tool. Code is here if you xant to take a look :
>
> https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages
>
> Gilles Caulier
>
>
>
> 2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
> <mailto:[hidden email]>>:
>
>     This is the console messages from the point at which I start the
>     Print Assitant to the point at which I close the Assistant. I have
>     the whole trace from start to finish of running digikam but
>     searching through it all this is all the messages which come up
>     while running the Assitant, the only other mention of printing is
>     where it loads the PrintImagesUI. The last couple of lines appear
>     when trying to change paper size from A4 to 6x4 which does not work.
>
>     On 19/08/16 10:22, Gilles Caulier wrote:
>
>         Where is the problem exactly in this debug trace from the console ?
>
>         Gilles Caulier
>
>         2016-08-19 11:18 GMT+02:00 Stuart T Rogers
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>>:
>
>
>             I have run digikam from a console and see these messages
>         when trying
>             to use the Print Assistant. Can anyone here please help in
>         fixing
>             this? I am more than happy to do some testing but need some
>         advice
>             on how to proceed.
>
>             kipi.plugins:  printers:  1
>             kipi.plugins:  printer:  "iP7200series-TurboPrint"
>             kipi.plugins:  current  "Select page layout"
>             kipi.plugins: "Select page layout"
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(-1, -1)
>             kipi.plugins: d->m_photoSizes.count()= 0
>             kipi.plugins: d->m_photoSizes.isEmpty()= true
>             kipi.plugins: Empty photoSize-list, create default size
>
>             digikam.dimg:
>             "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
>             JPEG file identified
>             digikam.metaengine: Loading image history  ""
>             digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
>             QDateTime(2015-12-26 16:41:57.000 GMT Qt::TimeSpec(LocalTime))
>             digikam.metaengine: Exif color-space tag is sRGB. Using
>         default sRGB
>             ICC profile.
>             digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
>             kipi.plugins: Creating new ImageListViewItem with url
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>             kipi.plugins: "Select page layout"
>             kipi.plugins:  before  "Select page layout"
>             kipi.plugins:  current  "Select page layout"
>             kipi.plugins: Creating new ImageListViewItem with url
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>             kipi.plugins: Request to update thumbnail for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: Request to update thumbnail for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: Update thumb in list for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: Received new thumbnail for url
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             for view  KIPIPlugins::KPImagesListView(0x482c7b0)
>             kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
>             kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
>         internal size
>             QSizeF(210, 297)
>             kipi.plugins: Dialog exit, new margins: left  0  right  0
>         top  0
>             bottom  0
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>
>             Stuart
>
>
>             On 16/08/16 00:06, Andrew Goodbody wrote:
>
>                 I can see this bug on Debian Testing as well.
>
>                 Messages from the console are:
>
>                 kipi.plugins: 0x4c219d8
>                 kipi.plugins:  printers:  1
>                 kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
>                 kipi.plugins:  current  "Select page layout"
>                 kipi.plugins: "Select page layout"
>                 kipi.plugins: New page size  QSizeF(210, 297) , old page
>         size
>                 QSizeF(-1,
>                 -1)
>                 kipi.plugins: d->m_photoSizes.count()= 0
>                 kipi.plugins: d->m_photoSizes.isEmpty()= true
>                 kipi.plugins: Empty photoSize-list, create default size
>
>                 I'm guessing that perhaps in parsing the templates.xml
>         file it
>                 looks for
>                 a paper size of 210x297 and fails to match against the
>         A4 size of
>                 210.0x297.0?
>
>                 That does not explain why the selection of a different
>         paper size or
>                 orientation does not stick though.
>
>                 Andrew
>
>                 On 13/08/16 10:21, Gilles Caulier wrote:
>
>
>
>                     2016-08-13 11:07 GMT+02:00 Stuart T Rogers
>                     <[hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>
>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>:
>
>                         Can anyone here please let me know whether or
>         not they
>                     see this
>                         issue? I am getting nowhere trying to figure out why
>                     this does not
>                         work for me in V5 but does in 4.14 on the same
>         openSUSE
>                     Tumbleweed
>                         system. I'd like to try and work out if this is
>         a bug in
>                     the Print
>                         Assistant or if it is something to do with the
>         openSUSE
>                         implementation/compilation. I must point out
>         that Print
>                     Images also
>                         fails
>
>                     No idea about OpenSuse.
>
>                     If it work with 4.x and not 5.x, i suspect something
>                     different with Qt5
>                     about Print interface and the way to handle printer
>                     features/configuration.
>
>                     The tools have been ported as well from Qt4 to Qt5.
>         Nothing
>                     have been
>                     removed especially.
>
>
>
>                         I assume the Print Assistant is part of the Kipi
>         Plugins
>                     which are
>                         at V5.1.0 and digiKam itself is 5.1.0.
>
>
>                     yes it is...
>
>                     Gilles Caulier
>
>
>
>                         Stuart
>
>
>                         On 10/08/16 10:32, Stuart T Rogers wrote:
>
>                             I have been doing some more on this. When I
>         start
>                     the Print
>                             Assistant I
>                             see two lines in the top left box, one saying
>                     Unsupported Paper
>                             Size and
>                             a second line saying Custom and that's it, no
>                     templates at all.
>
>                             I can see the templates.xml file in
>                             /usr/share/kipiplugin_printimages/templates/
>         and it
>                     seems to
>                     contain
>                             what it should and I've checked the
>         permissions and
>                     all files are
>                             publicly readable. I do not have my own
>         templates
>                     file in my home
>                             directory. Surely I should see the templates
>         from
>                     this file when
>                             I start
>                             the Print Assistant. I think I need to fix this
>                     before trying to
>                             progress further.
>
>                             Also found that I am unable to change
>         orientation
>                     between
>                             portrait and
>                             landscape, it changes on the dialog but when
>         I OK it
>                     and go back
>                             into
>                             the dialog portrait is still selected.
>
>                             Stuart
>
>                             On 06/08/16 06:42, Gilles Caulier wrote:
>
>                                 Well the driver for Qt application pass
>         through
>                     the Qt5Print
>                                 interface.
>                                 The problem must be located in Qt5...
>
>                                 Gilles Caulier
>
>                                 2016-08-04 23:01 GMT+02:00 Stuart T Rogers
>                                 <[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>>:
>
>                                     Further testing shows that the printer
>                     driver works
>                                 perfectly with
>                                     darktable and shotwell as well as
>         Gimp. It
>                     only fails
>                                 using digikam,
>                                     showfoto and gwenview.
>
>                                     Stuart
>
>
>                                     On 04/08/16 20:07, Stuart T Rogers
>         wrote:
>
>                                         Gilles
>
>                                         I will check that out but all I
>         can say
>                     is the
>                                 driver works
>                                         perfectly in
>                                         V4.14 of digikam, and in other
>         programs.
>                     It shows
>                                 the papaer
>                                         sizes but
>                                         will not allow me to select them, it
>                     still leaves
>                                 the previous
>                                         setting
>                                         when I click on the photo paper
>         size I want.
>
>                                         Stuart
>
>                                         On 04/08/16 11:06, Gilles
>         Caulier wrote:
>
>                                             In Print assistant, there
>         are few config
>                                 template files
>                                             which define
>                                             paper layout to use with
>         printers (if i
>                     remember)...
>
>                                             Look here for details :
>
>
>
>
>         https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>
>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>
>
>
>
>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>
>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>
>
>
>
>
>                                             But, i feel that your
>         printer driver
>                     is not
>                                 complete and do
>                                             not provide
>                                             all device information to use in
>                     high level side.
>
>                                             Gilles Caulier
>
>
>                                             2016-08-03 18:46 GMT+02:00
>         Stuart T
>                     Rogers
>                                             <[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>>>:
>
>                                                 I have just tried to print a
>                     photo from
>                                 digikam using
>                                             the Print
>                                                 Assistant and found that
>         I am
>                     unable to
>                                 select some of
>                                             the paper
>                                                 sizes supported by my
>         printer, a
>                     Canon
>                                 IP7250. I can
>                                             load most of
>                                                 the normal A4 type and
>         Envelope
>                     sizes but it
>                                 will not
>                                             select 5x7
>                                                 Borderless when I click
>         on it,
>                     which is what
>                                 I wanted to
>                                             use.
>
>                                                 I have used Gimp to
>         print the
>                     photo now as I
>                                 wanted but
>                                             still cannot
>                                                 get it to allow that
>         size either
>                     in the
>                                 Print Assistant
>                                             or just
>                                                 Print Images.
>
>                                                 Anyone any ideas please?
>
>                                                 Stuart
>                                                 --
>                                                 Website:
>                     http://www.stella-maris.org.uk
>                                                 or:
>         http://www.broadstairs.org
>
>                     _______________________________________________
>                                                 Digikam-users mailing list
>                                                 [hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>         <mailto:[hidden email] <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>>
>
>
>                     https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>
>
>
>
>
>
>                     _______________________________________________
>                                             Digikam-users mailing list
>                                             [hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>
>                     https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>
>                                     --
>                                     Website: http://www.stella-maris.org.uk
>                                     or:      http://www.broadstairs.org
>
>         _______________________________________________
>                                     Digikam-users mailing list
>                                     [hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>> <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>> <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>                     https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>
>
>                         --
>                         Website: http://www.stella-maris.org.uk
>                         or:      http://www.broadstairs.org
>
>
>
>
>             --
>             Website: http://www.stella-maris.org.uk
>             or:      http://www.broadstairs.org
>
>
>
>     --
>     Website: http://www.stella-maris.org.uk
>     or:      http://www.broadstairs.org
>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
I've been looking at the code pointed to and the message which appears
is in kipi-plugins/printimages/wizard/wizard.cpp and says Unsupported
Paper Size. This is in the code which sas // get template-files and
parse them. So the problem initially is that it cannot find the
templates. This is a start but not sure where to go from here as I'm not
a programmer! My templates are in
/usr/share/kipiplugin_printimages/templates.

Stuart

On 19/08/16 15:38, Stuart T Rogers wrote:

> That's my problem, these are all the messages seen in the console and
> none of them seem to indicate what has gone wrong. There are no error
> messages shown which I had hoped might happen. There is no indication as
> to why the templates dont show up in the UI like they do in V4 and apart
> from the last two messages saying the paper changed from A4 to A$ when
> it should have changed to 4x6 there is nothing to explain it.
>
> I was hoping someone with more knowledge of this code might be able to
> re-create the problem.
>
> Are you saying that when you open the Print Assistant that you see a
> list of template sizes in V5 as I do in only V4?
>
> Stuart
>
> On 19/08/16 11:31, Gilles Caulier wrote:
>> yes sure. But what it expected to see in this trace as dysfonctions ?
>>
>> The trace are generated by qCDebug in C++ source, located in kipiplugin
>> tool. Code is here if you xant to take a look :
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages
>>
>> Gilles Caulier
>>
>>
>>
>> 2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>     This is the console messages from the point at which I start the
>>     Print Assitant to the point at which I close the Assistant. I have
>>     the whole trace from start to finish of running digikam but
>>     searching through it all this is all the messages which come up
>>     while running the Assitant, the only other mention of printing is
>>     where it loads the PrintImagesUI. The last couple of lines appear
>>     when trying to change paper size from A4 to 6x4 which does not work.
>>
>>     On 19/08/16 10:22, Gilles Caulier wrote:
>>
>>         Where is the problem exactly in this debug trace from the
>> console ?
>>
>>         Gilles Caulier
>>
>>         2016-08-19 11:18 GMT+02:00 Stuart T Rogers
>>         <[hidden email] <mailto:[hidden email]>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>>>:
>>
>>
>>             I have run digikam from a console and see these messages
>>         when trying
>>             to use the Print Assistant. Can anyone here please help in
>>         fixing
>>             this? I am more than happy to do some testing but need some
>>         advice
>>             on how to proceed.
>>
>>             kipi.plugins:  printers:  1
>>             kipi.plugins:  printer:  "iP7200series-TurboPrint"
>>             kipi.plugins:  current  "Select page layout"
>>             kipi.plugins: "Select page layout"
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(-1, -1)
>>             kipi.plugins: d->m_photoSizes.count()= 0
>>             kipi.plugins: d->m_photoSizes.isEmpty()= true
>>             kipi.plugins: Empty photoSize-list, create default size
>>
>>             digikam.dimg:
>>
>> "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
>>             JPEG file identified
>>             digikam.metaengine: Loading image history  ""
>>             digikam.metaengine: DateTime =>
>> Exif.Photo.DateTimeOriginal =>
>>             QDateTime(2015-12-26 16:41:57.000 GMT
>> Qt::TimeSpec(LocalTime))
>>             digikam.metaengine: Exif color-space tag is sRGB. Using
>>         default sRGB
>>             ICC profile.
>>             digikam.metaengine: Orientation => Exif.Image.Orientation
>> =>  1
>>             kipi.plugins: Creating new ImageListViewItem with url
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>             kipi.plugins: "Select page layout"
>>             kipi.plugins:  before  "Select page layout"
>>             kipi.plugins:  current  "Select page layout"
>>             kipi.plugins: Creating new ImageListViewItem with url
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>             kipi.plugins: Request to update thumbnail for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: Request to update thumbnail for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: Update thumb in list for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: Received new thumbnail for url
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             for view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>             kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
>>             kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
>>         internal size
>>             QSizeF(210, 297)
>>             kipi.plugins: Dialog exit, new margins: left  0  right  0
>>         top  0
>>             bottom  0
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>
>>             Stuart
>>
>>
>>             On 16/08/16 00:06, Andrew Goodbody wrote:
>>
>>                 I can see this bug on Debian Testing as well.
>>
>>                 Messages from the console are:
>>
>>                 kipi.plugins: 0x4c219d8
>>                 kipi.plugins:  printers:  1
>>                 kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
>>                 kipi.plugins:  current  "Select page layout"
>>                 kipi.plugins: "Select page layout"
>>                 kipi.plugins: New page size  QSizeF(210, 297) , old page
>>         size
>>                 QSizeF(-1,
>>                 -1)
>>                 kipi.plugins: d->m_photoSizes.count()= 0
>>                 kipi.plugins: d->m_photoSizes.isEmpty()= true
>>                 kipi.plugins: Empty photoSize-list, create default size
>>
>>                 I'm guessing that perhaps in parsing the templates.xml
>>         file it
>>                 looks for
>>                 a paper size of 210x297 and fails to match against the
>>         A4 size of
>>                 210.0x297.0?
>>
>>                 That does not explain why the selection of a different
>>         paper size or
>>                 orientation does not stick though.
>>
>>                 Andrew
>>
>>                 On 13/08/16 10:21, Gilles Caulier wrote:
>>
>>
>>
>>                     2016-08-13 11:07 GMT+02:00 Stuart T Rogers
>>                     <[hidden email]
>>         <mailto:[hidden email]>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>:
>>
>>                         Can anyone here please let me know whether or
>>         not they
>>                     see this
>>                         issue? I am getting nowhere trying to figure
>> out why
>>                     this does not
>>                         work for me in V5 but does in 4.14 on the same
>>         openSUSE
>>                     Tumbleweed
>>                         system. I'd like to try and work out if this is
>>         a bug in
>>                     the Print
>>                         Assistant or if it is something to do with the
>>         openSUSE
>>                         implementation/compilation. I must point out
>>         that Print
>>                     Images also
>>                         fails
>>
>>                     No idea about OpenSuse.
>>
>>                     If it work with 4.x and not 5.x, i suspect something
>>                     different with Qt5
>>                     about Print interface and the way to handle printer
>>                     features/configuration.
>>
>>                     The tools have been ported as well from Qt4 to Qt5.
>>         Nothing
>>                     have been
>>                     removed especially.
>>
>>
>>
>>                         I assume the Print Assistant is part of the Kipi
>>         Plugins
>>                     which are
>>                         at V5.1.0 and digiKam itself is 5.1.0.
>>
>>
>>                     yes it is...
>>
>>                     Gilles Caulier
>>
>>
>>
>>                         Stuart
>>
>>
>>                         On 10/08/16 10:32, Stuart T Rogers wrote:
>>
>>                             I have been doing some more on this. When I
>>         start
>>                     the Print
>>                             Assistant I
>>                             see two lines in the top left box, one saying
>>                     Unsupported Paper
>>                             Size and
>>                             a second line saying Custom and that's it, no
>>                     templates at all.
>>
>>                             I can see the templates.xml file in
>>                             /usr/share/kipiplugin_printimages/templates/
>>         and it
>>                     seems to
>>                     contain
>>                             what it should and I've checked the
>>         permissions and
>>                     all files are
>>                             publicly readable. I do not have my own
>>         templates
>>                     file in my home
>>                             directory. Surely I should see the templates
>>         from
>>                     this file when
>>                             I start
>>                             the Print Assistant. I think I need to fix
>> this
>>                     before trying to
>>                             progress further.
>>
>>                             Also found that I am unable to change
>>         orientation
>>                     between
>>                             portrait and
>>                             landscape, it changes on the dialog but when
>>         I OK it
>>                     and go back
>>                             into
>>                             the dialog portrait is still selected.
>>
>>                             Stuart
>>
>>                             On 06/08/16 06:42, Gilles Caulier wrote:
>>
>>                                 Well the driver for Qt application pass
>>         through
>>                     the Qt5Print
>>                                 interface.
>>                                 The problem must be located in Qt5...
>>
>>                                 Gilles Caulier
>>
>>                                 2016-08-04 23:01 GMT+02:00 Stuart T
>> Rogers
>>                                 <[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>>:
>>
>>                                     Further testing shows that the
>> printer
>>                     driver works
>>                                 perfectly with
>>                                     darktable and shotwell as well as
>>         Gimp. It
>>                     only fails
>>                                 using digikam,
>>                                     showfoto and gwenview.
>>
>>                                     Stuart
>>
>>
>>                                     On 04/08/16 20:07, Stuart T Rogers
>>         wrote:
>>
>>                                         Gilles
>>
>>                                         I will check that out but all I
>>         can say
>>                     is the
>>                                 driver works
>>                                         perfectly in
>>                                         V4.14 of digikam, and in other
>>         programs.
>>                     It shows
>>                                 the papaer
>>                                         sizes but
>>                                         will not allow me to select
>> them, it
>>                     still leaves
>>                                 the previous
>>                                         setting
>>                                         when I click on the photo paper
>>         size I want.
>>
>>                                         Stuart
>>
>>                                         On 04/08/16 11:06, Gilles
>>         Caulier wrote:
>>
>>                                             In Print assistant, there
>>         are few config
>>                                 template files
>>                                             which define
>>                                             paper layout to use with
>>         printers (if i
>>                     remember)...
>>
>>                                             Look here for details :
>>
>>
>>
>>
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>
>>
>>
>>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>
>>
>>
>>
>>
>>
>>                                             But, i feel that your
>>         printer driver
>>                     is not
>>                                 complete and do
>>                                             not provide
>>                                             all device information to
>> use in
>>                     high level side.
>>
>>                                             Gilles Caulier
>>
>>
>>                                             2016-08-03 18:46 GMT+02:00
>>         Stuart T
>>                     Rogers
>>                                             <[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>>>:
>>
>>                                                 I have just tried to
>> print a
>>                     photo from
>>                                 digikam using
>>                                             the Print
>>                                                 Assistant and found that
>>         I am
>>                     unable to
>>                                 select some of
>>                                             the paper
>>                                                 sizes supported by my
>>         printer, a
>>                     Canon
>>                                 IP7250. I can
>>                                             load most of
>>                                                 the normal A4 type and
>>         Envelope
>>                     sizes but it
>>                                 will not
>>                                             select 5x7
>>                                                 Borderless when I click
>>         on it,
>>                     which is what
>>                                 I wanted to
>>                                             use.
>>
>>                                                 I have used Gimp to
>>         print the
>>                     photo now as I
>>                                 wanted but
>>                                             still cannot
>>                                                 get it to allow that
>>         size either
>>                     in the
>>                                 Print Assistant
>>                                             or just
>>                                                 Print Images.
>>
>>                                                 Anyone any ideas please?
>>
>>                                                 Stuart
>>                                                 --
>>                                                 Website:
>>                     http://www.stella-maris.org.uk
>>                                                 or:
>>         http://www.broadstairs.org
>>
>>                     _______________________________________________
>>                                                 Digikam-users mailing
>> list
>>                                                 [hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]> <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>         <mailto:[hidden email] <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]> <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>>
>>
>>
>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>
>>
>>
>>
>>
>>
>>                     _______________________________________________
>>                                             Digikam-users mailing list
>>                                             [hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]> <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>
>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>
>>
>>
>>                                     --
>>                                     Website:
>> http://www.stella-maris.org.uk
>>                                     or:      http://www.broadstairs.org
>>
>>         _______________________________________________
>>                                     Digikam-users mailing list
>>                                     [hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>> <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>> <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>
>>
>>
>>
>>                         --
>>                         Website: http://www.stella-maris.org.uk
>>                         or:      http://www.broadstairs.org
>>
>>
>>
>>
>>             --
>>             Website: http://www.stella-maris.org.uk
>>             or:      http://www.broadstairs.org
>>
>>
>>
>>     --
>>     Website: http://www.stella-maris.org.uk
>>     or:      http://www.broadstairs.org
>>
>>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Andrew Goodbody
In reply to this post by Gilles Caulier-4
(gdb) n
653    const QStringList list =
QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
QLatin1String("kipiplugin_printimages/templates/*.xml"));
(gdb) n
655    foreach(const QString& fn, list)
(gdb) p list
$4 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {static shared_null = {ref = {atomic = {
                _q_value = {<std::__atomic_base<int>> = {static
_S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
            begin = 0, end = 0, array = {0x0}}, d = 0x7fffe9ac3e00
<QListData::shared_null>},
        d = 0x7fffe9ac3e00 <QListData::shared_null>}}, <No data fields>}
(gdb)

So it is failing to find the templates file, however that exists at

$ find /usr/share/kipiplugin_printimages/templates/ -name templates.xml
/usr/share/kipiplugin_printimages/templates/templates.xml

So this is probably bad news

(gdb) p
QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)
$9 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {static shared_null = {ref = {atomic = {
               _q_value = {<std::__atomic_base<int>> = {static
_S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
           begin = 0, end = 0, array = {0x0}}, d = 0x5a4f660}, d =
0x5a4f660}}, <No data fields>}
(gdb)

It seems like QStandardPaths::GenericDataLocation is not returning the
paths that is should. However qtdiag shows the correct entries, so I
have no idea what is going on here.

Andrew

On 19/08/16 11:31, Gilles Caulier wrote:

> yes sure. But what it expected to see in this trace as dysfonctions ?
>
> The trace are generated by qCDebug in C++ source, located in kipiplugin
> tool. Code is here if you xant to take a look :
>
> https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages
>
> Gilles Caulier
>
>
>
> 2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
> <mailto:[hidden email]>>:
>
>     This is the console messages from the point at which I start the
>     Print Assitant to the point at which I close the Assistant. I have
>     the whole trace from start to finish of running digikam but
>     searching through it all this is all the messages which come up
>     while running the Assitant, the only other mention of printing is
>     where it loads the PrintImagesUI. The last couple of lines appear
>     when trying to change paper size from A4 to 6x4 which does not work.
>
>     On 19/08/16 10:22, Gilles Caulier wrote:
>
>         Where is the problem exactly in this debug trace from the console ?
>
>         Gilles Caulier
>
>         2016-08-19 11:18 GMT+02:00 Stuart T Rogers
>         <[hidden email] <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>>:
>
>
>             I have run digikam from a console and see these messages
>         when trying
>             to use the Print Assistant. Can anyone here please help in
>         fixing
>             this? I am more than happy to do some testing but need some
>         advice
>             on how to proceed.
>
>             kipi.plugins:  printers:  1
>             kipi.plugins:  printer:  "iP7200series-TurboPrint"
>             kipi.plugins:  current  "Select page layout"
>             kipi.plugins: "Select page layout"
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(-1, -1)
>             kipi.plugins: d->m_photoSizes.count()= 0
>             kipi.plugins: d->m_photoSizes.isEmpty()= true
>             kipi.plugins: Empty photoSize-list, create default size
>
>             digikam.dimg:
>             "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
>             JPEG file identified
>             digikam.metaengine: Loading image history  ""
>             digikam.metaengine: DateTime => Exif.Photo.DateTimeOriginal =>
>             QDateTime(2015-12-26 16:41:57.000 GMT Qt::TimeSpec(LocalTime))
>             digikam.metaengine: Exif color-space tag is sRGB. Using
>         default sRGB
>             ICC profile.
>             digikam.metaengine: Orientation => Exif.Image.Orientation =>  1
>             kipi.plugins: Creating new ImageListViewItem with url
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>             kipi.plugins: "Select page layout"
>             kipi.plugins:  before  "Select page layout"
>             kipi.plugins:  current  "Select page layout"
>             kipi.plugins: Creating new ImageListViewItem with url
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>             kipi.plugins: Request to update thumbnail for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: Request to update thumbnail for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: Update thumb in list for
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             kipi.plugins: Received new thumbnail for url
>
>         QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>             for view  KIPIPlugins::KPImagesListView(0x482c7b0)
>             kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
>             kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
>         internal size
>             QSizeF(210, 297)
>             kipi.plugins: Dialog exit, new margins: left  0  right  0
>         top  0
>             bottom  0
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>             QSizeF(210, 297)
>
>             Stuart
>
>
>             On 16/08/16 00:06, Andrew Goodbody wrote:
>
>                 I can see this bug on Debian Testing as well.
>
>                 Messages from the console are:
>
>                 kipi.plugins: 0x4c219d8
>                 kipi.plugins:  printers:  1
>                 kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
>                 kipi.plugins:  current  "Select page layout"
>                 kipi.plugins: "Select page layout"
>                 kipi.plugins: New page size  QSizeF(210, 297) , old page
>         size
>                 QSizeF(-1,
>                 -1)
>                 kipi.plugins: d->m_photoSizes.count()= 0
>                 kipi.plugins: d->m_photoSizes.isEmpty()= true
>                 kipi.plugins: Empty photoSize-list, create default size
>
>                 I'm guessing that perhaps in parsing the templates.xml
>         file it
>                 looks for
>                 a paper size of 210x297 and fails to match against the
>         A4 size of
>                 210.0x297.0?
>
>                 That does not explain why the selection of a different
>         paper size or
>                 orientation does not stick though.
>
>                 Andrew
>
>                 On 13/08/16 10:21, Gilles Caulier wrote:
>
>
>
>                     2016-08-13 11:07 GMT+02:00 Stuart T Rogers
>                     <[hidden email]
>         <mailto:[hidden email]>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>
>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>:
>
>                         Can anyone here please let me know whether or
>         not they
>                     see this
>                         issue? I am getting nowhere trying to figure out why
>                     this does not
>                         work for me in V5 but does in 4.14 on the same
>         openSUSE
>                     Tumbleweed
>                         system. I'd like to try and work out if this is
>         a bug in
>                     the Print
>                         Assistant or if it is something to do with the
>         openSUSE
>                         implementation/compilation. I must point out
>         that Print
>                     Images also
>                         fails
>
>                     No idea about OpenSuse.
>
>                     If it work with 4.x and not 5.x, i suspect something
>                     different with Qt5
>                     about Print interface and the way to handle printer
>                     features/configuration.
>
>                     The tools have been ported as well from Qt4 to Qt5.
>         Nothing
>                     have been
>                     removed especially.
>
>
>
>                         I assume the Print Assistant is part of the Kipi
>         Plugins
>                     which are
>                         at V5.1.0 and digiKam itself is 5.1.0.
>
>
>                     yes it is...
>
>                     Gilles Caulier
>
>
>
>                         Stuart
>
>
>                         On 10/08/16 10:32, Stuart T Rogers wrote:
>
>                             I have been doing some more on this. When I
>         start
>                     the Print
>                             Assistant I
>                             see two lines in the top left box, one saying
>                     Unsupported Paper
>                             Size and
>                             a second line saying Custom and that's it, no
>                     templates at all.
>
>                             I can see the templates.xml file in
>                             /usr/share/kipiplugin_printimages/templates/
>         and it
>                     seems to
>                     contain
>                             what it should and I've checked the
>         permissions and
>                     all files are
>                             publicly readable. I do not have my own
>         templates
>                     file in my home
>                             directory. Surely I should see the templates
>         from
>                     this file when
>                             I start
>                             the Print Assistant. I think I need to fix this
>                     before trying to
>                             progress further.
>
>                             Also found that I am unable to change
>         orientation
>                     between
>                             portrait and
>                             landscape, it changes on the dialog but when
>         I OK it
>                     and go back
>                             into
>                             the dialog portrait is still selected.
>
>                             Stuart
>
>                             On 06/08/16 06:42, Gilles Caulier wrote:
>
>                                 Well the driver for Qt application pass
>         through
>                     the Qt5Print
>                                 interface.
>                                 The problem must be located in Qt5...
>
>                                 Gilles Caulier
>
>                                 2016-08-04 23:01 GMT+02:00 Stuart T Rogers
>                                 <[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>>:
>
>                                     Further testing shows that the printer
>                     driver works
>                                 perfectly with
>                                     darktable and shotwell as well as
>         Gimp. It
>                     only fails
>                                 using digikam,
>                                     showfoto and gwenview.
>
>                                     Stuart
>
>
>                                     On 04/08/16 20:07, Stuart T Rogers
>         wrote:
>
>                                         Gilles
>
>                                         I will check that out but all I
>         can say
>                     is the
>                                 driver works
>                                         perfectly in
>                                         V4.14 of digikam, and in other
>         programs.
>                     It shows
>                                 the papaer
>                                         sizes but
>                                         will not allow me to select them, it
>                     still leaves
>                                 the previous
>                                         setting
>                                         when I click on the photo paper
>         size I want.
>
>                                         Stuart
>
>                                         On 04/08/16 11:06, Gilles
>         Caulier wrote:
>
>                                             In Print assistant, there
>         are few config
>                                 template files
>                                             which define
>                                             paper layout to use with
>         printers (if i
>                     remember)...
>
>                                             Look here for details :
>
>
>
>
>         https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>
>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>
>
>
>
>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>
>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>         <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>
>
>
>
>
>                                             But, i feel that your
>         printer driver
>                     is not
>                                 complete and do
>                                             not provide
>                                             all device information to use in
>                     high level side.
>
>                                             Gilles Caulier
>
>
>                                             2016-08-03 18:46 GMT+02:00
>         Stuart T
>                     Rogers
>                                             <[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>
>         <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>>>:
>
>                                                 I have just tried to print a
>                     photo from
>                                 digikam using
>                                             the Print
>                                                 Assistant and found that
>         I am
>                     unable to
>                                 select some of
>                                             the paper
>                                                 sizes supported by my
>         printer, a
>                     Canon
>                                 IP7250. I can
>                                             load most of
>                                                 the normal A4 type and
>         Envelope
>                     sizes but it
>                                 will not
>                                             select 5x7
>                                                 Borderless when I click
>         on it,
>                     which is what
>                                 I wanted to
>                                             use.
>
>                                                 I have used Gimp to
>         print the
>                     photo now as I
>                                 wanted but
>                                             still cannot
>                                                 get it to allow that
>         size either
>                     in the
>                                 Print Assistant
>                                             or just
>                                                 Print Images.
>
>                                                 Anyone any ideas please?
>
>                                                 Stuart
>                                                 --
>                                                 Website:
>                     http://www.stella-maris.org.uk
>                                                 or:
>         http://www.broadstairs.org
>
>                     _______________________________________________
>                                                 Digikam-users mailing list
>                                                 [hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>         <mailto:[hidden email] <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>>
>
>
>                     https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>
>
>
>
>
>
>                     _______________________________________________
>                                             Digikam-users mailing list
>                                             [hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]> <mailto:[hidden email]
>         <mailto:[hidden email]>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>
>                     https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>
>                                     --
>                                     Website: http://www.stella-maris.org.uk
>                                     or:      http://www.broadstairs.org
>
>         _______________________________________________
>                                     Digikam-users mailing list
>                                     [hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>> <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>
>                                 <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>> <mailto:[hidden email]
>         <mailto:[hidden email]>
>                     <mailto:[hidden email]
>         <mailto:[hidden email]>>>>
>
>                     https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>
>
>
>
>                         --
>                         Website: http://www.stella-maris.org.uk
>                         or:      http://www.broadstairs.org
>
>
>
>
>             --
>             Website: http://www.stella-maris.org.uk
>             or:      http://www.broadstairs.org
>
>
>
>     --
>     Website: http://www.stella-maris.org.uk
>     or:      http://www.broadstairs.org
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
Having done some more testing I now find that I am unable to select all
paper sizes using the Kate editor which also uses QT5 printing, so this
is starting to look very much like a QT5 issue. In my case QT5 is V5.6.1
on openSUSE Tumbleweed.

Stuart

On 20/08/16 00:06, Andrew Goodbody wrote:

> (gdb) n
> 653        const QStringList list =
> QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
> QLatin1String("kipiplugin_printimages/templates/*.xml"));
> (gdb) n
> 655        foreach(const QString& fn, list)
> (gdb) p list
> $4 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
> fields>}, {p = {static shared_null = {ref = {atomic = {
>                _q_value = {<std::__atomic_base<int>> = {static
> _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
>            begin = 0, end = 0, array = {0x0}}, d = 0x7fffe9ac3e00
> <QListData::shared_null>},
>        d = 0x7fffe9ac3e00 <QListData::shared_null>}}, <No data fields>}
> (gdb)
>
> So it is failing to find the templates file, however that exists at
>
> $ find /usr/share/kipiplugin_printimages/templates/ -name templates.xml
> /usr/share/kipiplugin_printimages/templates/templates.xml
>
> So this is probably bad news
>
> (gdb) p
> QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)
> $9 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
> fields>}, {p = {static shared_null = {ref = {atomic = {
>               _q_value = {<std::__atomic_base<int>> = {static
> _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
>           begin = 0, end = 0, array = {0x0}}, d = 0x5a4f660}, d =
> 0x5a4f660}}, <No data fields>}
> (gdb)
>
> It seems like QStandardPaths::GenericDataLocation is not returning the
> paths that is should. However qtdiag shows the correct entries, so I
> have no idea what is going on here.
>
> Andrew
>
> On 19/08/16 11:31, Gilles Caulier wrote:
>> yes sure. But what it expected to see in this trace as dysfonctions ?
>>
>> The trace are generated by qCDebug in C++ source, located in kipiplugin
>> tool. Code is here if you xant to take a look :
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages
>>
>> Gilles Caulier
>>
>>
>>
>> 2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
>> <mailto:[hidden email]>>:
>>
>>     This is the console messages from the point at which I start the
>>     Print Assitant to the point at which I close the Assistant. I have
>>     the whole trace from start to finish of running digikam but
>>     searching through it all this is all the messages which come up
>>     while running the Assitant, the only other mention of printing is
>>     where it loads the PrintImagesUI. The last couple of lines appear
>>     when trying to change paper size from A4 to 6x4 which does not work.
>>
>>     On 19/08/16 10:22, Gilles Caulier wrote:
>>
>>         Where is the problem exactly in this debug trace from the
>> console ?
>>
>>         Gilles Caulier
>>
>>         2016-08-19 11:18 GMT+02:00 Stuart T Rogers
>>         <[hidden email] <mailto:[hidden email]>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>>>:
>>
>>
>>             I have run digikam from a console and see these messages
>>         when trying
>>             to use the Print Assistant. Can anyone here please help in
>>         fixing
>>             this? I am more than happy to do some testing but need some
>>         advice
>>             on how to proceed.
>>
>>             kipi.plugins:  printers:  1
>>             kipi.plugins:  printer:  "iP7200series-TurboPrint"
>>             kipi.plugins:  current  "Select page layout"
>>             kipi.plugins: "Select page layout"
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(-1, -1)
>>             kipi.plugins: d->m_photoSizes.count()= 0
>>             kipi.plugins: d->m_photoSizes.isEmpty()= true
>>             kipi.plugins: Empty photoSize-list, create default size
>>
>>             digikam.dimg:
>>
>> "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
>>             JPEG file identified
>>             digikam.metaengine: Loading image history  ""
>>             digikam.metaengine: DateTime =>
>> Exif.Photo.DateTimeOriginal =>
>>             QDateTime(2015-12-26 16:41:57.000 GMT
>> Qt::TimeSpec(LocalTime))
>>             digikam.metaengine: Exif color-space tag is sRGB. Using
>>         default sRGB
>>             ICC profile.
>>             digikam.metaengine: Orientation => Exif.Image.Orientation
>> =>  1
>>             kipi.plugins: Creating new ImageListViewItem with url
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>             kipi.plugins: "Select page layout"
>>             kipi.plugins:  before  "Select page layout"
>>             kipi.plugins:  current  "Select page layout"
>>             kipi.plugins: Creating new ImageListViewItem with url
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>             kipi.plugins: Request to update thumbnail for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: Request to update thumbnail for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: Update thumb in list for
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             kipi.plugins: Received new thumbnail for url
>>
>>
>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>
>>             for view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>             kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
>>             kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
>>         internal size
>>             QSizeF(210, 297)
>>             kipi.plugins: Dialog exit, new margins: left  0  right  0
>>         top  0
>>             bottom  0
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>             kipi.plugins: New page size  QSizeF(210, 297) , old page size
>>             QSizeF(210, 297)
>>
>>             Stuart
>>
>>
>>             On 16/08/16 00:06, Andrew Goodbody wrote:
>>
>>                 I can see this bug on Debian Testing as well.
>>
>>                 Messages from the console are:
>>
>>                 kipi.plugins: 0x4c219d8
>>                 kipi.plugins:  printers:  1
>>                 kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
>>                 kipi.plugins:  current  "Select page layout"
>>                 kipi.plugins: "Select page layout"
>>                 kipi.plugins: New page size  QSizeF(210, 297) , old page
>>         size
>>                 QSizeF(-1,
>>                 -1)
>>                 kipi.plugins: d->m_photoSizes.count()= 0
>>                 kipi.plugins: d->m_photoSizes.isEmpty()= true
>>                 kipi.plugins: Empty photoSize-list, create default size
>>
>>                 I'm guessing that perhaps in parsing the templates.xml
>>         file it
>>                 looks for
>>                 a paper size of 210x297 and fails to match against the
>>         A4 size of
>>                 210.0x297.0?
>>
>>                 That does not explain why the selection of a different
>>         paper size or
>>                 orientation does not stick though.
>>
>>                 Andrew
>>
>>                 On 13/08/16 10:21, Gilles Caulier wrote:
>>
>>
>>
>>                     2016-08-13 11:07 GMT+02:00 Stuart T Rogers
>>                     <[hidden email]
>>         <mailto:[hidden email]>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>:
>>
>>                         Can anyone here please let me know whether or
>>         not they
>>                     see this
>>                         issue? I am getting nowhere trying to figure
>> out why
>>                     this does not
>>                         work for me in V5 but does in 4.14 on the same
>>         openSUSE
>>                     Tumbleweed
>>                         system. I'd like to try and work out if this is
>>         a bug in
>>                     the Print
>>                         Assistant or if it is something to do with the
>>         openSUSE
>>                         implementation/compilation. I must point out
>>         that Print
>>                     Images also
>>                         fails
>>
>>                     No idea about OpenSuse.
>>
>>                     If it work with 4.x and not 5.x, i suspect something
>>                     different with Qt5
>>                     about Print interface and the way to handle printer
>>                     features/configuration.
>>
>>                     The tools have been ported as well from Qt4 to Qt5.
>>         Nothing
>>                     have been
>>                     removed especially.
>>
>>
>>
>>                         I assume the Print Assistant is part of the Kipi
>>         Plugins
>>                     which are
>>                         at V5.1.0 and digiKam itself is 5.1.0.
>>
>>
>>                     yes it is...
>>
>>                     Gilles Caulier
>>
>>
>>
>>                         Stuart
>>
>>
>>                         On 10/08/16 10:32, Stuart T Rogers wrote:
>>
>>                             I have been doing some more on this. When I
>>         start
>>                     the Print
>>                             Assistant I
>>                             see two lines in the top left box, one saying
>>                     Unsupported Paper
>>                             Size and
>>                             a second line saying Custom and that's it, no
>>                     templates at all.
>>
>>                             I can see the templates.xml file in
>>                             /usr/share/kipiplugin_printimages/templates/
>>         and it
>>                     seems to
>>                     contain
>>                             what it should and I've checked the
>>         permissions and
>>                     all files are
>>                             publicly readable. I do not have my own
>>         templates
>>                     file in my home
>>                             directory. Surely I should see the templates
>>         from
>>                     this file when
>>                             I start
>>                             the Print Assistant. I think I need to fix
>> this
>>                     before trying to
>>                             progress further.
>>
>>                             Also found that I am unable to change
>>         orientation
>>                     between
>>                             portrait and
>>                             landscape, it changes on the dialog but when
>>         I OK it
>>                     and go back
>>                             into
>>                             the dialog portrait is still selected.
>>
>>                             Stuart
>>
>>                             On 06/08/16 06:42, Gilles Caulier wrote:
>>
>>                                 Well the driver for Qt application pass
>>         through
>>                     the Qt5Print
>>                                 interface.
>>                                 The problem must be located in Qt5...
>>
>>                                 Gilles Caulier
>>
>>                                 2016-08-04 23:01 GMT+02:00 Stuart T
>> Rogers
>>                                 <[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>>:
>>
>>                                     Further testing shows that the
>> printer
>>                     driver works
>>                                 perfectly with
>>                                     darktable and shotwell as well as
>>         Gimp. It
>>                     only fails
>>                                 using digikam,
>>                                     showfoto and gwenview.
>>
>>                                     Stuart
>>
>>
>>                                     On 04/08/16 20:07, Stuart T Rogers
>>         wrote:
>>
>>                                         Gilles
>>
>>                                         I will check that out but all I
>>         can say
>>                     is the
>>                                 driver works
>>                                         perfectly in
>>                                         V4.14 of digikam, and in other
>>         programs.
>>                     It shows
>>                                 the papaer
>>                                         sizes but
>>                                         will not allow me to select
>> them, it
>>                     still leaves
>>                                 the previous
>>                                         setting
>>                                         when I click on the photo paper
>>         size I want.
>>
>>                                         Stuart
>>
>>                                         On 04/08/16 11:06, Gilles
>>         Caulier wrote:
>>
>>                                             In Print assistant, there
>>         are few config
>>                                 template files
>>                                             which define
>>                                             paper layout to use with
>>         printers (if i
>>                     remember)...
>>
>>                                             Look here for details :
>>
>>
>>
>>
>>
>> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>
>>
>>
>>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>
>>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>
>>
>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>
>>
>>
>>
>>
>>
>>                                             But, i feel that your
>>         printer driver
>>                     is not
>>                                 complete and do
>>                                             not provide
>>                                             all device information to
>> use in
>>                     high level side.
>>
>>                                             Gilles Caulier
>>
>>
>>                                             2016-08-03 18:46 GMT+02:00
>>         Stuart T
>>                     Rogers
>>                                             <[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>
>>         <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>>>:
>>
>>                                                 I have just tried to
>> print a
>>                     photo from
>>                                 digikam using
>>                                             the Print
>>                                                 Assistant and found that
>>         I am
>>                     unable to
>>                                 select some of
>>                                             the paper
>>                                                 sizes supported by my
>>         printer, a
>>                     Canon
>>                                 IP7250. I can
>>                                             load most of
>>                                                 the normal A4 type and
>>         Envelope
>>                     sizes but it
>>                                 will not
>>                                             select 5x7
>>                                                 Borderless when I click
>>         on it,
>>                     which is what
>>                                 I wanted to
>>                                             use.
>>
>>                                                 I have used Gimp to
>>         print the
>>                     photo now as I
>>                                 wanted but
>>                                             still cannot
>>                                                 get it to allow that
>>         size either
>>                     in the
>>                                 Print Assistant
>>                                             or just
>>                                                 Print Images.
>>
>>                                                 Anyone any ideas please?
>>
>>                                                 Stuart
>>                                                 --
>>                                                 Website:
>>                     http://www.stella-maris.org.uk
>>                                                 or:
>>         http://www.broadstairs.org
>>
>>                     _______________________________________________
>>                                                 Digikam-users mailing
>> list
>>                                                 [hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]> <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>         <mailto:[hidden email] <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]> <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>>
>>
>>
>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>
>>
>>
>>
>>
>>
>>                     _______________________________________________
>>                                             Digikam-users mailing list
>>                                             [hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]> <mailto:[hidden email]
>>         <mailto:[hidden email]>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>
>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>
>>
>>
>>                                     --
>>                                     Website:
>> http://www.stella-maris.org.uk
>>                                     or:      http://www.broadstairs.org
>>
>>         _______________________________________________
>>                                     Digikam-users mailing list
>>                                     [hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>> <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>
>>                                 <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>> <mailto:[hidden email]
>>         <mailto:[hidden email]>
>>                     <mailto:[hidden email]
>>         <mailto:[hidden email]>>>>
>>
>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>
>>
>>
>>
>>                         --
>>                         Website: http://www.stella-maris.org.uk
>>                         or:      http://www.broadstairs.org
>>
>>
>>
>>
>>             --
>>             Website: http://www.stella-maris.org.uk
>>             or:      http://www.broadstairs.org
>>
>>
>>
>>     --
>>     Website: http://www.stella-maris.org.uk
>>     or:      http://www.broadstairs.org
>>
>>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4
There is 2 parts in print assistant where template files are parsed in system :


Line 545 and line 653

Both use QStandardPaths::GenericDataLocation to find templates files.

With this commit, i print on the console the result of search :


Please git pull and recompile. Let's me see the results printed on the console.

Gilles Caulier 

2016-08-21 8:43 GMT+02:00 Stuart T Rogers <[hidden email]>:
Having done some more testing I now find that I am unable to select all paper sizes using the Kate editor which also uses QT5 printing, so this is starting to look very much like a QT5 issue. In my case QT5 is V5.6.1 on openSUSE Tumbleweed.

Stuart


On 20/08/16 00:06, Andrew Goodbody wrote:
(gdb) n
653        const QStringList list =
QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
QLatin1String("kipiplugin_printimages/templates/*.xml"));
(gdb) n
655        foreach(const QString& fn, list)
(gdb) p list
$4 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {static shared_null = {ref = {atomic = {
               _q_value = {<std::__atomic_base<int>> = {static
_S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
           begin = 0, end = 0, array = {0x0}}, d = 0x7fffe9ac3e00
<QListData::shared_null>},
       d = 0x7fffe9ac3e00 <QListData::shared_null>}}, <No data fields>}
(gdb)

So it is failing to find the templates file, however that exists at

$ find /usr/share/kipiplugin_printimages/templates/ -name templates.xml
/usr/share/kipiplugin_printimages/templates/templates.xml

So this is probably bad news

(gdb) p
QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)
$9 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {static shared_null = {ref = {atomic = {
              _q_value = {<std::__atomic_base<int>> = {static
_S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
          begin = 0, end = 0, array = {0x0}}, d = 0x5a4f660}, d =
0x5a4f660}}, <No data fields>}
(gdb)

It seems like QStandardPaths::GenericDataLocation is not returning the
paths that is should. However qtdiag shows the correct entries, so I
have no idea what is going on here.

Andrew

On 19/08/16 11:31, Gilles Caulier wrote:
yes sure. But what it expected to see in this trace as dysfonctions ?

The trace are generated by qCDebug in C++ source, located in kipiplugin
tool. Code is here if you xant to take a look :

https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages

Gilles Caulier



2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
<mailto:[hidden email]>>:

    This is the console messages from the point at which I start the
    Print Assitant to the point at which I close the Assistant. I have
    the whole trace from start to finish of running digikam but
    searching through it all this is all the messages which come up
    while running the Assitant, the only other mention of printing is
    where it loads the PrintImagesUI. The last couple of lines appear
    when trying to change paper size from A4 to 6x4 which does not work.

    On 19/08/16 10:22, Gilles Caulier wrote:

        Where is the problem exactly in this debug trace from the
console ?

        Gilles Caulier

        2016-08-19 11:18 GMT+02:00 Stuart T Rogers
        <[hidden email] <mailto:[hidden email]>
        <mailto:[hidden email]
        <mailto:[hidden email]>>>:


            I have run digikam from a console and see these messages
        when trying
            to use the Print Assistant. Can anyone here please help in
        fixing
            this? I am more than happy to do some testing but need some
        advice
            on how to proceed.

            kipi.plugins:  printers:  1
            kipi.plugins:  printer:  "iP7200series-TurboPrint"
            kipi.plugins:  current  "Select page layout"
            kipi.plugins: "Select page layout"
            kipi.plugins: New page size  QSizeF(210, 297) , old page size
            QSizeF(-1, -1)
            kipi.plugins: d->m_photoSizes.count()= 0
            kipi.plugins: d->m_photoSizes.isEmpty()= true
            kipi.plugins: Empty photoSize-list, create default size

            digikam.dimg:

"/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
            JPEG file identified
            digikam.metaengine: Loading image history  ""
            digikam.metaengine: DateTime =>
Exif.Photo.DateTimeOriginal =>
            QDateTime(2015-12-26 16:41:57.000 GMT
Qt::TimeSpec(LocalTime))
            digikam.metaengine: Exif color-space tag is sRGB. Using
        default sRGB
            ICC profile.
            digikam.metaengine: Orientation => Exif.Image.Orientation
=>  1
            kipi.plugins: Creating new ImageListViewItem with url


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
            kipi.plugins: New page size  QSizeF(210, 297) , old page size
            QSizeF(210, 297)
            kipi.plugins: "Select page layout"
            kipi.plugins:  before  "Select page layout"
            kipi.plugins:  current  "Select page layout"
            kipi.plugins: Creating new ImageListViewItem with url


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
            kipi.plugins: New page size  QSizeF(210, 297) , old page size
            QSizeF(210, 297)
            kipi.plugins: Request to update thumbnail for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            kipi.plugins: Request to update thumbnail for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            kipi.plugins: Update thumb in list for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            kipi.plugins: Received new thumbnail for url


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")

            for view  KIPIPlugins::KPImagesListView(0x482c7b0)
            kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
            kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
        internal size
            QSizeF(210, 297)
            kipi.plugins: Dialog exit, new margins: left  0  right  0
        top  0
            bottom  0
            kipi.plugins: New page size  QSizeF(210, 297) , old page size
            QSizeF(210, 297)
            kipi.plugins: New page size  QSizeF(210, 297) , old page size
            QSizeF(210, 297)

            Stuart


            On 16/08/16 00:06, Andrew Goodbody wrote:

                I can see this bug on Debian Testing as well.

                Messages from the console are:

                kipi.plugins: 0x4c219d8
                kipi.plugins:  printers:  1
                kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
                kipi.plugins:  current  "Select page layout"
                kipi.plugins: "Select page layout"
                kipi.plugins: New page size  QSizeF(210, 297) , old page
        size
                QSizeF(-1,
                -1)
                kipi.plugins: d->m_photoSizes.count()= 0
                kipi.plugins: d->m_photoSizes.isEmpty()= true
                kipi.plugins: Empty photoSize-list, create default size

                I'm guessing that perhaps in parsing the templates.xml
        file it
                looks for
                a paper size of 210x297 and fails to match against the
        A4 size of
                210.0x297.0?

                That does not explain why the selection of a different
        paper size or
                orientation does not stick though.

                Andrew

                On 13/08/16 10:21, Gilles Caulier wrote:



                    2016-08-13 11:07 GMT+02:00 Stuart T Rogers
                    <[hidden email]
        <mailto:[hidden email]>
        <mailto:[hidden email]
        <mailto:[hidden email]>>
                    <mailto:[hidden email]
        <mailto:[hidden email]>

                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>:

                        Can anyone here please let me know whether or
        not they
                    see this
                        issue? I am getting nowhere trying to figure
out why
                    this does not
                        work for me in V5 but does in 4.14 on the same
        openSUSE
                    Tumbleweed
                        system. I'd like to try and work out if this is
        a bug in
                    the Print
                        Assistant or if it is something to do with the
        openSUSE
                        implementation/compilation. I must point out
        that Print
                    Images also
                        fails

                    No idea about OpenSuse.

                    If it work with 4.x and not 5.x, i suspect something
                    different with Qt5
                    about Print interface and the way to handle printer
                    features/configuration.

                    The tools have been ported as well from Qt4 to Qt5.
        Nothing
                    have been
                    removed especially.



                        I assume the Print Assistant is part of the Kipi
        Plugins
                    which are
                        at V5.1.0 and digiKam itself is 5.1.0.


                    yes it is...

                    Gilles Caulier



                        Stuart


                        On 10/08/16 10:32, Stuart T Rogers wrote:

                            I have been doing some more on this. When I
        start
                    the Print
                            Assistant I
                            see two lines in the top left box, one saying
                    Unsupported Paper
                            Size and
                            a second line saying Custom and that's it, no
                    templates at all.

                            I can see the templates.xml file in
                            /usr/share/kipiplugin_printimages/templates/
        and it
                    seems to
                    contain
                            what it should and I've checked the
        permissions and
                    all files are
                            publicly readable. I do not have my own
        templates
                    file in my home
                            directory. Surely I should see the templates
        from
                    this file when
                            I start
                            the Print Assistant. I think I need to fix
this
                    before trying to
                            progress further.

                            Also found that I am unable to change
        orientation
                    between
                            portrait and
                            landscape, it changes on the dialog but when
        I OK it
                    and go back
                            into
                            the dialog portrait is still selected.

                            Stuart

                            On 06/08/16 06:42, Gilles Caulier wrote:

                                Well the driver for Qt application pass
        through
                    the Qt5Print
                                interface.
                                The problem must be located in Qt5...

                                Gilles Caulier

                                2016-08-04 23:01 GMT+02:00 Stuart T
Rogers
                                <[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                    <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>>:

                                    Further testing shows that the
printer
                    driver works
                                perfectly with
                                    darktable and shotwell as well as
        Gimp. It
                    only fails
                                using digikam,
                                    showfoto and gwenview.

                                    Stuart


                                    On 04/08/16 20:07, Stuart T Rogers
        wrote:

                                        Gilles

                                        I will check that out but all I
        can say
                    is the
                                driver works
                                        perfectly in
                                        V4.14 of digikam, and in other
        programs.
                    It shows
                                the papaer
                                        sizes but
                                        will not allow me to select
them, it
                    still leaves
                                the previous
                                        setting
                                        when I click on the photo paper
        size I want.

                                        Stuart

                                        On 04/08/16 11:06, Gilles
        Caulier wrote:

                                            In Print assistant, there
        are few config
                                template files
                                            which define
                                            paper layout to use with
        printers (if i
                    remember)...

                                            Look here for details :





https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>





<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>







<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>





<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO


<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>





                                            But, i feel that your
        printer driver
                    is not
                                complete and do
                                            not provide
                                            all device information to
use in
                    high level side.

                                            Gilles Caulier


                                            2016-08-03 18:46 GMT+02:00
        Stuart T
                    Rogers
                                            <[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>

        <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>

        <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>>>:

                                                I have just tried to
print a
                    photo from
                                digikam using
                                            the Print
                                                Assistant and found that
        I am
                    unable to
                                select some of
                                            the paper
                                                sizes supported by my
        printer, a
                    Canon
                                IP7250. I can
                                            load most of
                                                the normal A4 type and
        Envelope
                    sizes but it
                                will not
                                            select 5x7
                                                Borderless when I click
        on it,
                    which is what
                                I wanted to
                                            use.

                                                I have used Gimp to
        print the
                    photo now as I
                                wanted but
                                            still cannot
                                                get it to allow that
        size either
                    in the
                                Print Assistant
                                            or just
                                                Print Images.

                                                Anyone any ideas please?

                                                Stuart
                                                --
                                                Website:
                    http://www.stella-maris.org.uk
                                                or:
        http://www.broadstairs.org

                    _______________________________________________
                                                Digikam-users mailing
list
                                                [hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                    <mailto:[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>

        <mailto:[hidden email] <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                    <mailto:[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>>


                    https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>





                    _______________________________________________
                                            Digikam-users mailing list
                                            [hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                    <mailto:[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>


                    https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>



                                    --
                                    Website:
http://www.stella-maris.org.uk
                                    or:      http://www.broadstairs.org

        _______________________________________________
                                    Digikam-users mailing list
                                    [hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>> <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>> <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>

                    https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>




                        --
                        Website: http://www.stella-maris.org.uk
                        or:      http://www.broadstairs.org




            --
            Website: http://www.stella-maris.org.uk
            or:      http://www.broadstairs.org



    --
    Website: http://www.stella-maris.org.uk
    or:      http://www.broadstairs.org




--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org

Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Stuart T Rogers
In reply to this post by Stuart T Rogers
I have today reported a bug to openSUSE (#994809 in bugzilla) for the
issue of paper sizes not being selectable as this issue does affect more
than just digikam.

However I am not yet convinced that the issue of the missing templates
in the Print Assistant is clear enough yet and I'm hoping Andrew
Goodbody may be able to progress this issue and help decide whether this
is a programming error in the Print Assistant of another QT5 bug.

Stuart

On 21/08/16 07:43, Stuart T Rogers wrote:

> Having done some more testing I now find that I am unable to select all
> paper sizes using the Kate editor which also uses QT5 printing, so this
> is starting to look very much like a QT5 issue. In my case QT5 is V5.6.1
> on openSUSE Tumbleweed.
>
> Stuart
>
> On 20/08/16 00:06, Andrew Goodbody wrote:
>> (gdb) n
>> 653        const QStringList list =
>> QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
>> QLatin1String("kipiplugin_printimages/templates/*.xml"));
>> (gdb) n
>> 655        foreach(const QString& fn, list)
>> (gdb) p list
>> $4 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
>> fields>}, {p = {static shared_null = {ref = {atomic = {
>>                _q_value = {<std::__atomic_base<int>> = {static
>> _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
>>            begin = 0, end = 0, array = {0x0}}, d = 0x7fffe9ac3e00
>> <QListData::shared_null>},
>>        d = 0x7fffe9ac3e00 <QListData::shared_null>}}, <No data fields>}
>> (gdb)
>>
>> So it is failing to find the templates file, however that exists at
>>
>> $ find /usr/share/kipiplugin_printimages/templates/ -name templates.xml
>> /usr/share/kipiplugin_printimages/templates/templates.xml
>>
>> So this is probably bad news
>>
>> (gdb) p
>> QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)
>> $9 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
>> fields>}, {p = {static shared_null = {ref = {atomic = {
>>               _q_value = {<std::__atomic_base<int>> = {static
>> _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
>>           begin = 0, end = 0, array = {0x0}}, d = 0x5a4f660}, d =
>> 0x5a4f660}}, <No data fields>}
>> (gdb)
>>
>> It seems like QStandardPaths::GenericDataLocation is not returning the
>> paths that is should. However qtdiag shows the correct entries, so I
>> have no idea what is going on here.
>>
>> Andrew
>>
>> On 19/08/16 11:31, Gilles Caulier wrote:
>>> yes sure. But what it expected to see in this trace as dysfonctions ?
>>>
>>> The trace are generated by qCDebug in C++ source, located in kipiplugin
>>> tool. Code is here if you xant to take a look :
>>>
>>> https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages
>>>
>>> Gilles Caulier
>>>
>>>
>>>
>>> 2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
>>> <mailto:[hidden email]>>:
>>>
>>>     This is the console messages from the point at which I start the
>>>     Print Assitant to the point at which I close the Assistant. I have
>>>     the whole trace from start to finish of running digikam but
>>>     searching through it all this is all the messages which come up
>>>     while running the Assitant, the only other mention of printing is
>>>     where it loads the PrintImagesUI. The last couple of lines appear
>>>     when trying to change paper size from A4 to 6x4 which does not work.
>>>
>>>     On 19/08/16 10:22, Gilles Caulier wrote:
>>>
>>>         Where is the problem exactly in this debug trace from the
>>> console ?
>>>
>>>         Gilles Caulier
>>>
>>>         2016-08-19 11:18 GMT+02:00 Stuart T Rogers
>>>         <[hidden email] <mailto:[hidden email]>
>>>         <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>:
>>>
>>>
>>>             I have run digikam from a console and see these messages
>>>         when trying
>>>             to use the Print Assistant. Can anyone here please help in
>>>         fixing
>>>             this? I am more than happy to do some testing but need some
>>>         advice
>>>             on how to proceed.
>>>
>>>             kipi.plugins:  printers:  1
>>>             kipi.plugins:  printer:  "iP7200series-TurboPrint"
>>>             kipi.plugins:  current  "Select page layout"
>>>             kipi.plugins: "Select page layout"
>>>             kipi.plugins: New page size  QSizeF(210, 297) , old page
>>> size
>>>             QSizeF(-1, -1)
>>>             kipi.plugins: d->m_photoSizes.count()= 0
>>>             kipi.plugins: d->m_photoSizes.isEmpty()= true
>>>             kipi.plugins: Empty photoSize-list, create default size
>>>
>>>             digikam.dimg:
>>>
>>> "/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
>>>             JPEG file identified
>>>             digikam.metaengine: Loading image history  ""
>>>             digikam.metaengine: DateTime =>
>>> Exif.Photo.DateTimeOriginal =>
>>>             QDateTime(2015-12-26 16:41:57.000 GMT
>>> Qt::TimeSpec(LocalTime))
>>>             digikam.metaengine: Exif color-space tag is sRGB. Using
>>>         default sRGB
>>>             ICC profile.
>>>             digikam.metaengine: Orientation => Exif.Image.Orientation
>>> =>  1
>>>             kipi.plugins: Creating new ImageListViewItem with url
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>>             kipi.plugins: New page size  QSizeF(210, 297) , old page
>>> size
>>>             QSizeF(210, 297)
>>>             kipi.plugins: "Select page layout"
>>>             kipi.plugins:  before  "Select page layout"
>>>             kipi.plugins:  current  "Select page layout"
>>>             kipi.plugins: Creating new ImageListViewItem with url
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>>             kipi.plugins: New page size  QSizeF(210, 297) , old page
>>> size
>>>             QSizeF(210, 297)
>>>             kipi.plugins: Request to update thumbnail for
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             kipi.plugins: Request to update thumbnail for
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             kipi.plugins: Update thumb in list for
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             kipi.plugins: Received new thumbnail for url
>>>
>>>
>>> QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")
>>>
>>>
>>>             for view  KIPIPlugins::KPImagesListView(0x482c7b0)
>>>             kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
>>>             kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
>>>         internal size
>>>             QSizeF(210, 297)
>>>             kipi.plugins: Dialog exit, new margins: left  0  right  0
>>>         top  0
>>>             bottom  0
>>>             kipi.plugins: New page size  QSizeF(210, 297) , old page
>>> size
>>>             QSizeF(210, 297)
>>>             kipi.plugins: New page size  QSizeF(210, 297) , old page
>>> size
>>>             QSizeF(210, 297)
>>>
>>>             Stuart
>>>
>>>
>>>             On 16/08/16 00:06, Andrew Goodbody wrote:
>>>
>>>                 I can see this bug on Debian Testing as well.
>>>
>>>                 Messages from the console are:
>>>
>>>                 kipi.plugins: 0x4c219d8
>>>                 kipi.plugins:  printers:  1
>>>                 kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
>>>                 kipi.plugins:  current  "Select page layout"
>>>                 kipi.plugins: "Select page layout"
>>>                 kipi.plugins: New page size  QSizeF(210, 297) , old page
>>>         size
>>>                 QSizeF(-1,
>>>                 -1)
>>>                 kipi.plugins: d->m_photoSizes.count()= 0
>>>                 kipi.plugins: d->m_photoSizes.isEmpty()= true
>>>                 kipi.plugins: Empty photoSize-list, create default size
>>>
>>>                 I'm guessing that perhaps in parsing the templates.xml
>>>         file it
>>>                 looks for
>>>                 a paper size of 210x297 and fails to match against the
>>>         A4 size of
>>>                 210.0x297.0?
>>>
>>>                 That does not explain why the selection of a different
>>>         paper size or
>>>                 orientation does not stick though.
>>>
>>>                 Andrew
>>>
>>>                 On 13/08/16 10:21, Gilles Caulier wrote:
>>>
>>>
>>>
>>>                     2016-08-13 11:07 GMT+02:00 Stuart T Rogers
>>>                     <[hidden email]
>>>         <mailto:[hidden email]>
>>>         <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>:
>>>
>>>                         Can anyone here please let me know whether or
>>>         not they
>>>                     see this
>>>                         issue? I am getting nowhere trying to figure
>>> out why
>>>                     this does not
>>>                         work for me in V5 but does in 4.14 on the same
>>>         openSUSE
>>>                     Tumbleweed
>>>                         system. I'd like to try and work out if this is
>>>         a bug in
>>>                     the Print
>>>                         Assistant or if it is something to do with the
>>>         openSUSE
>>>                         implementation/compilation. I must point out
>>>         that Print
>>>                     Images also
>>>                         fails
>>>
>>>                     No idea about OpenSuse.
>>>
>>>                     If it work with 4.x and not 5.x, i suspect something
>>>                     different with Qt5
>>>                     about Print interface and the way to handle printer
>>>                     features/configuration.
>>>
>>>                     The tools have been ported as well from Qt4 to Qt5.
>>>         Nothing
>>>                     have been
>>>                     removed especially.
>>>
>>>
>>>
>>>                         I assume the Print Assistant is part of the Kipi
>>>         Plugins
>>>                     which are
>>>                         at V5.1.0 and digiKam itself is 5.1.0.
>>>
>>>
>>>                     yes it is...
>>>
>>>                     Gilles Caulier
>>>
>>>
>>>
>>>                         Stuart
>>>
>>>
>>>                         On 10/08/16 10:32, Stuart T Rogers wrote:
>>>
>>>                             I have been doing some more on this. When I
>>>         start
>>>                     the Print
>>>                             Assistant I
>>>                             see two lines in the top left box, one
>>> saying
>>>                     Unsupported Paper
>>>                             Size and
>>>                             a second line saying Custom and that's
>>> it, no
>>>                     templates at all.
>>>
>>>                             I can see the templates.xml file in
>>>                             /usr/share/kipiplugin_printimages/templates/
>>>         and it
>>>                     seems to
>>>                     contain
>>>                             what it should and I've checked the
>>>         permissions and
>>>                     all files are
>>>                             publicly readable. I do not have my own
>>>         templates
>>>                     file in my home
>>>                             directory. Surely I should see the templates
>>>         from
>>>                     this file when
>>>                             I start
>>>                             the Print Assistant. I think I need to fix
>>> this
>>>                     before trying to
>>>                             progress further.
>>>
>>>                             Also found that I am unable to change
>>>         orientation
>>>                     between
>>>                             portrait and
>>>                             landscape, it changes on the dialog but when
>>>         I OK it
>>>                     and go back
>>>                             into
>>>                             the dialog portrait is still selected.
>>>
>>>                             Stuart
>>>
>>>                             On 06/08/16 06:42, Gilles Caulier wrote:
>>>
>>>                                 Well the driver for Qt application pass
>>>         through
>>>                     the Qt5Print
>>>                                 interface.
>>>                                 The problem must be located in Qt5...
>>>
>>>                                 Gilles Caulier
>>>
>>>                                 2016-08-04 23:01 GMT+02:00 Stuart T
>>> Rogers
>>>                                 <[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>>:
>>>
>>>                                     Further testing shows that the
>>> printer
>>>                     driver works
>>>                                 perfectly with
>>>                                     darktable and shotwell as well as
>>>         Gimp. It
>>>                     only fails
>>>                                 using digikam,
>>>                                     showfoto and gwenview.
>>>
>>>                                     Stuart
>>>
>>>
>>>                                     On 04/08/16 20:07, Stuart T Rogers
>>>         wrote:
>>>
>>>                                         Gilles
>>>
>>>                                         I will check that out but all I
>>>         can say
>>>                     is the
>>>                                 driver works
>>>                                         perfectly in
>>>                                         V4.14 of digikam, and in other
>>>         programs.
>>>                     It shows
>>>                                 the papaer
>>>                                         sizes but
>>>                                         will not allow me to select
>>> them, it
>>>                     still leaves
>>>                                 the previous
>>>                                         setting
>>>                                         when I click on the photo paper
>>>         size I want.
>>>
>>>                                         Stuart
>>>
>>>                                         On 04/08/16 11:06, Gilles
>>>         Caulier wrote:
>>>
>>>                                             In Print assistant, there
>>>         are few config
>>>                                 template files
>>>                                             which define
>>>                                             paper layout to use with
>>>         printers (if i
>>>                     remember)...
>>>
>>>                                             Look here for details :
>>>
>>>
>>>
>>>
>>>
>>> https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>>
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>>
>>>
>>>
>>> <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>                                             But, i feel that your
>>>         printer driver
>>>                     is not
>>>                                 complete and do
>>>                                             not provide
>>>                                             all device information to
>>> use in
>>>                     high level side.
>>>
>>>                                             Gilles Caulier
>>>
>>>
>>>                                             2016-08-03 18:46 GMT+02:00
>>>         Stuart T
>>>                     Rogers
>>>                                             <[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>
>>>
>>>         <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>
>>>         <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>>>:
>>>
>>>                                                 I have just tried to
>>> print a
>>>                     photo from
>>>                                 digikam using
>>>                                             the Print
>>>                                                 Assistant and found that
>>>         I am
>>>                     unable to
>>>                                 select some of
>>>                                             the paper
>>>                                                 sizes supported by my
>>>         printer, a
>>>                     Canon
>>>                                 IP7250. I can
>>>                                             load most of
>>>                                                 the normal A4 type and
>>>         Envelope
>>>                     sizes but it
>>>                                 will not
>>>                                             select 5x7
>>>                                                 Borderless when I click
>>>         on it,
>>>                     which is what
>>>                                 I wanted to
>>>                                             use.
>>>
>>>                                                 I have used Gimp to
>>>         print the
>>>                     photo now as I
>>>                                 wanted but
>>>                                             still cannot
>>>                                                 get it to allow that
>>>         size either
>>>                     in the
>>>                                 Print Assistant
>>>                                             or just
>>>                                                 Print Images.
>>>
>>>                                                 Anyone any ideas please?
>>>
>>>                                                 Stuart
>>>                                                 --
>>>                                                 Website:
>>>                     http://www.stella-maris.org.uk
>>>                                                 or:
>>>         http://www.broadstairs.org
>>>
>>>                     _______________________________________________
>>>                                                 Digikam-users mailing
>>> list
>>>                                                 [hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]> <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>
>>>
>>>         <mailto:[hidden email] <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]> <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>>
>>>
>>>
>>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>
>>>
>>>
>>>
>>>
>>>
>>>                     _______________________________________________
>>>                                             Digikam-users mailing list
>>>                                             [hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]> <mailto:[hidden email]
>>>         <mailto:[hidden email]>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>
>>>
>>>
>>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>>
>>>
>>>
>>>                                     --
>>>                                     Website:
>>> http://www.stella-maris.org.uk
>>>                                     or:      http://www.broadstairs.org
>>>
>>>         _______________________________________________
>>>                                     Digikam-users mailing list
>>>                                     [hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>> <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>
>>>                                 <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>> <mailto:[hidden email]
>>>         <mailto:[hidden email]>
>>>                     <mailto:[hidden email]
>>>         <mailto:[hidden email]>>>>
>>>
>>>                     https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>
>>>                     <https://mail.kde.org/mailman/listinfo/digikam-users
>>>         <https://mail.kde.org/mailman/listinfo/digikam-users>>>>
>>>
>>>
>>>
>>>
>>>                         --
>>>                         Website: http://www.stella-maris.org.uk
>>>                         or:      http://www.broadstairs.org
>>>
>>>
>>>
>>>
>>>             --
>>>             Website: http://www.stella-maris.org.uk
>>>             or:      http://www.broadstairs.org
>>>
>>>
>>>
>>>     --
>>>     Website: http://www.stella-maris.org.uk
>>>     or:      http://www.broadstairs.org
>>>
>>>
>>
>

--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org
Reply | Threaded
Open this post in threaded view
|

Re: Print Assistant

Gilles Caulier-4
I can confirm that template files are not found on my computer :

kipi.plugins: Template files list:  ()  

Gilles Caulier

2016-08-22 10:39 GMT+02:00 Stuart T Rogers <[hidden email]>:
I have today reported a bug to openSUSE (#994809 in bugzilla) for the issue of paper sizes not being selectable as this issue does affect more than just digikam.

However I am not yet convinced that the issue of the missing templates in the Print Assistant is clear enough yet and I'm hoping Andrew Goodbody may be able to progress this issue and help decide whether this is a programming error in the Print Assistant of another QT5 bug.

Stuart


On 21/08/16 07:43, Stuart T Rogers wrote:
Having done some more testing I now find that I am unable to select all
paper sizes using the Kate editor which also uses QT5 printing, so this
is starting to look very much like a QT5 issue. In my case QT5 is V5.6.1
on openSUSE Tumbleweed.

Stuart

On 20/08/16 00:06, Andrew Goodbody wrote:
(gdb) n
653        const QStringList list =
QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,
QLatin1String("kipiplugin_printimages/templates/*.xml"));
(gdb) n
655        foreach(const QString& fn, list)
(gdb) p list
$4 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {static shared_null = {ref = {atomic = {
               _q_value = {<std::__atomic_base<int>> = {static
_S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
           begin = 0, end = 0, array = {0x0}}, d = 0x7fffe9ac3e00
<QListData::shared_null>},
       d = 0x7fffe9ac3e00 <QListData::shared_null>}}, <No data fields>}
(gdb)

So it is failing to find the templates file, however that exists at

$ find /usr/share/kipiplugin_printimages/templates/ -name templates.xml
/usr/share/kipiplugin_printimages/templates/templates.xml

So this is probably bad news

(gdb) p
QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)
$9 = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data
fields>}, {p = {static shared_null = {ref = {atomic = {
              _q_value = {<std::__atomic_base<int>> = {static
_S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0,
          begin = 0, end = 0, array = {0x0}}, d = 0x5a4f660}, d =
0x5a4f660}}, <No data fields>}
(gdb)

It seems like QStandardPaths::GenericDataLocation is not returning the
paths that is should. However qtdiag shows the correct entries, so I
have no idea what is going on here.

Andrew

On 19/08/16 11:31, Gilles Caulier wrote:
yes sure. But what it expected to see in this trace as dysfonctions ?

The trace are generated by qCDebug in C++ source, located in kipiplugin
tool. Code is here if you xant to take a look :

https://quickgit.kde.org/?p=kipi-plugins.git&a=tree&f=printimages

Gilles Caulier



2016-08-19 11:48 GMT+02:00 Stuart T Rogers <[hidden email]
<mailto:[hidden email]>>:

    This is the console messages from the point at which I start the
    Print Assitant to the point at which I close the Assistant. I have
    the whole trace from start to finish of running digikam but
    searching through it all this is all the messages which come up
    while running the Assitant, the only other mention of printing is
    where it loads the PrintImagesUI. The last couple of lines appear
    when trying to change paper size from A4 to 6x4 which does not work.

    On 19/08/16 10:22, Gilles Caulier wrote:

        Where is the problem exactly in this debug trace from the
console ?

        Gilles Caulier

        2016-08-19 11:18 GMT+02:00 Stuart T Rogers
        <[hidden email] <mailto:[hidden email]>
        <mailto:[hidden email]
        <mailto:[hidden email]>>>:


            I have run digikam from a console and see these messages
        when trying
            to use the Print Assistant. Can anyone here please help in
        fixing
            this? I am more than happy to do some testing but need some
        advice
            on how to proceed.

            kipi.plugins:  printers:  1
            kipi.plugins:  printer:  "iP7200series-TurboPrint"
            kipi.plugins:  current  "Select page layout"
            kipi.plugins: "Select page layout"
            kipi.plugins: New page size  QSizeF(210, 297) , old page
size
            QSizeF(-1, -1)
            kipi.plugins: d->m_photoSizes.count()= 0
            kipi.plugins: d->m_photoSizes.isEmpty()= true
            kipi.plugins: Empty photoSize-list, create default size

            digikam.dimg:

"/home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG"  :
            JPEG file identified
            digikam.metaengine: Loading image history  ""
            digikam.metaengine: DateTime =>
Exif.Photo.DateTimeOriginal =>
            QDateTime(2015-12-26 16:41:57.000 GMT
Qt::TimeSpec(LocalTime))
            digikam.metaengine: Exif color-space tag is sRGB. Using
        default sRGB
            ICC profile.
            digikam.metaengine: Orientation => Exif.Image.Orientation
=>  1
            kipi.plugins: Creating new ImageListViewItem with url


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
            kipi.plugins: New page size  QSizeF(210, 297) , old page
size
            QSizeF(210, 297)
            kipi.plugins: "Select page layout"
            kipi.plugins:  before  "Select page layout"
            kipi.plugins:  current  "Select page layout"
            kipi.plugins: Creating new ImageListViewItem with url


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            for list view  KIPIPlugins::KPImagesListView(0x482c7b0)
            kipi.plugins: New page size  QSizeF(210, 297) , old page
size
            QSizeF(210, 297)
            kipi.plugins: Request to update thumbnail for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            kipi.plugins: Request to update thumbnail for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            kipi.plugins: KIPI host send thumb ( QSize(169, 256) ) for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            kipi.plugins: Update thumb in list for


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            kipi.plugins: Received new thumbnail for url


QUrl("file:///home/stuart/Work/Graphics/Pentax-K500/2015/12/IMGP7556.JPG")


            for view  KIPIPlugins::KPImagesListView(0x482c7b0)
            kipi.plugins: Chosen printer:  "iP7200series-TurboPrint"
            kipi.plugins: Dialog exit, new size  QSizeF(210, 297)
        internal size
            QSizeF(210, 297)
            kipi.plugins: Dialog exit, new margins: left  0  right  0
        top  0
            bottom  0
            kipi.plugins: New page size  QSizeF(210, 297) , old page
size
            QSizeF(210, 297)
            kipi.plugins: New page size  QSizeF(210, 297) , old page
size
            QSizeF(210, 297)

            Stuart


            On 16/08/16 00:06, Andrew Goodbody wrote:

                I can see this bug on Debian Testing as well.

                Messages from the console are:

                kipi.plugins: 0x4c219d8
                kipi.plugins:  printers:  1
                kipi.plugins:  printer:  "EPSON-Epson-Stylus-SX420W"
                kipi.plugins:  current  "Select page layout"
                kipi.plugins: "Select page layout"
                kipi.plugins: New page size  QSizeF(210, 297) , old page
        size
                QSizeF(-1,
                -1)
                kipi.plugins: d->m_photoSizes.count()= 0
                kipi.plugins: d->m_photoSizes.isEmpty()= true
                kipi.plugins: Empty photoSize-list, create default size

                I'm guessing that perhaps in parsing the templates.xml
        file it
                looks for
                a paper size of 210x297 and fails to match against the
        A4 size of
                210.0x297.0?

                That does not explain why the selection of a different
        paper size or
                orientation does not stick though.

                Andrew

                On 13/08/16 10:21, Gilles Caulier wrote:



                    2016-08-13 11:07 GMT+02:00 Stuart T Rogers
                    <[hidden email]
        <mailto:[hidden email]>
        <mailto:[hidden email]
        <mailto:[hidden email]>>
                    <mailto:[hidden email]
        <mailto:[hidden email]>

                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>:

                        Can anyone here please let me know whether or
        not they
                    see this
                        issue? I am getting nowhere trying to figure
out why
                    this does not
                        work for me in V5 but does in 4.14 on the same
        openSUSE
                    Tumbleweed
                        system. I'd like to try and work out if this is
        a bug in
                    the Print
                        Assistant or if it is something to do with the
        openSUSE
                        implementation/compilation. I must point out
        that Print
                    Images also
                        fails

                    No idea about OpenSuse.

                    If it work with 4.x and not 5.x, i suspect something
                    different with Qt5
                    about Print interface and the way to handle printer
                    features/configuration.

                    The tools have been ported as well from Qt4 to Qt5.
        Nothing
                    have been
                    removed especially.



                        I assume the Print Assistant is part of the Kipi
        Plugins
                    which are
                        at V5.1.0 and digiKam itself is 5.1.0.


                    yes it is...

                    Gilles Caulier



                        Stuart


                        On 10/08/16 10:32, Stuart T Rogers wrote:

                            I have been doing some more on this. When I
        start
                    the Print
                            Assistant I
                            see two lines in the top left box, one
saying
                    Unsupported Paper
                            Size and
                            a second line saying Custom and that's
it, no
                    templates at all.

                            I can see the templates.xml file in
                            /usr/share/kipiplugin_printimages/templates/
        and it
                    seems to
                    contain
                            what it should and I've checked the
        permissions and
                    all files are
                            publicly readable. I do not have my own
        templates
                    file in my home
                            directory. Surely I should see the templates
        from
                    this file when
                            I start
                            the Print Assistant. I think I need to fix
this
                    before trying to
                            progress further.

                            Also found that I am unable to change
        orientation
                    between
                            portrait and
                            landscape, it changes on the dialog but when
        I OK it
                    and go back
                            into
                            the dialog portrait is still selected.

                            Stuart

                            On 06/08/16 06:42, Gilles Caulier wrote:

                                Well the driver for Qt application pass
        through
                    the Qt5Print
                                interface.
                                The problem must be located in Qt5...

                                Gilles Caulier

                                2016-08-04 23:01 GMT+02:00 Stuart T
Rogers
                                <[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                    <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>>:

                                    Further testing shows that the
printer
                    driver works
                                perfectly with
                                    darktable and shotwell as well as
        Gimp. It
                    only fails
                                using digikam,
                                    showfoto and gwenview.

                                    Stuart


                                    On 04/08/16 20:07, Stuart T Rogers
        wrote:

                                        Gilles

                                        I will check that out but all I
        can say
                    is the
                                driver works
                                        perfectly in
                                        V4.14 of digikam, and in other
        programs.
                    It shows
                                the papaer
                                        sizes but
                                        will not allow me to select
them, it
                    still leaves
                                the previous
                                        setting
                                        when I click on the photo paper
        size I want.

                                        Stuart

                                        On 04/08/16 11:06, Gilles
        Caulier wrote:

                                            In Print assistant, there
        are few config
                                template files
                                            which define
                                            paper layout to use with
        printers (if i
                    remember)...

                                            Look here for details :





https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>




<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>






<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>




<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>








<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>




<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>






<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>




<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO



<https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062af87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598bebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>>>






                                            But, i feel that your
        printer driver
                    is not
                                complete and do
                                            not provide
                                            all device information to
use in
                    high level side.

                                            Gilles Caulier


                                            2016-08-03 18:46 GMT+02:00
        Stuart T
                    Rogers
                                            <[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>

        <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>

        <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>>>:

                                                I have just tried to
print a
                    photo from
                                digikam using
                                            the Print
                                                Assistant and found that
        I am
                    unable to
                                select some of
                                            the paper
                                                sizes supported by my
        printer, a
                    Canon
                                IP7250. I can
                                            load most of
                                                the normal A4 type and
        Envelope
                    sizes but it
                                will not
                                            select 5x7
                                                Borderless when I click
        on it,
                    which is what
                                I wanted to
                                            use.

                                                I have used Gimp to
        print the
                    photo now as I
                                wanted but
                                            still cannot
                                                get it to allow that
        size either
                    in the
                                Print Assistant
                                            or just
                                                Print Images.

                                                Anyone any ideas please?

                                                Stuart
                                                --
                                                Website:
                    http://www.stella-maris.org.uk
                                                or:
        http://www.broadstairs.org

                    _______________________________________________
                                                Digikam-users mailing
list
                                                [hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                    <mailto:[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>

        <mailto:[hidden email] <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                    <mailto:[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>>


                    https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>>





                    _______________________________________________
                                            Digikam-users mailing list
                                            [hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                    <mailto:[hidden email]
        <mailto:[hidden email]> <mailto:[hidden email]
        <mailto:[hidden email]>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>


                    https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>


                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>



                                    --
                                    Website:
http://www.stella-maris.org.uk
                                    or:      http://www.broadstairs.org

        _______________________________________________
                                    Digikam-users mailing list
                                    [hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>> <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>
                                <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>> <mailto:[hidden email]
        <mailto:[hidden email]>
                    <mailto:[hidden email]
        <mailto:[hidden email]>>>>

                    https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>

                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>
                    <https://mail.kde.org/mailman/listinfo/digikam-users
        <https://mail.kde.org/mailman/listinfo/digikam-users>>>>




                        --
                        Website: http://www.stella-maris.org.uk
                        or:      http://www.broadstairs.org




            --
            Website: http://www.stella-maris.org.uk
            or:      http://www.broadstairs.org



    --
    Website: http://www.stella-maris.org.uk
    or:      http://www.broadstairs.org





--
Website: http://www.stella-maris.org.uk
or:      http://www.broadstairs.org

12