[Digikam-users] Print Assistant

Gilles Caulier caulier.gilles at gmail.com
Fri Aug 19 11:31:42 BST 2016


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 <stuart at stella-maris.org.uk>:

> 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 <stuart at stella-maris.org.uk
>> <mailto:stuart at stella-maris.org.uk>>:
>>
>>
>>     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
>>             <stuart at stella-maris.org.uk <mailto:stuart at stella-maris.or
>> g.uk>
>>             <mailto:stuart at stella-maris.org.uk
>>
>>             <mailto:stuart at stella-maris.org.uk>>>:
>>
>>                 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
>>                         <stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>
>>             <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>>>>:
>>
>>                             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=9062af
>> 87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598be
>> bf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>>
>>
>>
>>
>>
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO>
>>
>>
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&f=printimages%2Ftemplates%2FTEMPLATE_HOWTO
>>             <https://quickgit.kde.org/?p=kipi-plugins.git&a=blob&h=9062a
>> f87c03cd646299aa35c6e644df21ce7024b&hb=9e52b5a0f27360750598b
>> ebf7ac927b0e832a07b&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
>>                                     <stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>>>
>>                                     <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>>
>>                                     <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>
>>                         <mailto:stuart at stella-maris.org.uk
>>             <mailto:stuart at stella-maris.org.uk>>>>>:
>>
>>                                         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
>>                                         Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>
>>             <mailto:Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>>
>>                                     <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>
>>             <mailto:Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>>>
>>
>>
>>             https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>>
>>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <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
>>                                     Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>
>>             <mailto:Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>>
>>
>>
>>             https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <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
>>                             Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org> <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>
>>                         <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org> <mailto:Digikam-users at kde.org
>>             <mailto:Digikam-users at kde.org>>>
>>
>>             https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <https://mail.kde.org/mailman/listinfo/digikam-users>>
>>
>>             <https://mail.kde.org/mailman/listinfo/digikam-users
>>             <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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20160819/6dbee9a1/attachment.html>


More information about the Digikam-users mailing list