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