Bug 32256 - No reasonable default in Imagemagick for printing images
Summary: No reasonable default in Imagemagick for printing images
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-09-07 04:51 CEST by Ken Arromdee
Modified: 2023-09-15 23:33 CEST (History)
4 users (show)

See Also:
Source RPM: imagemagick-7.1.1.11-2.mga9.tainted.src.rpm
CVE:
Status comment:


Attachments

Description Ken Arromdee 2023-09-07 04:51:31 CEST
Description of problem:


Version-Release number of selected component (if applicable): 7.1.1.11-2


How reproducible:
Always

Steps to Reproduce:
1. Install ImageMagick (I assume that it isn't dependent on being tainted)
2. use "display" to display an image.
3. Roght-click to print the image.

This produces a weird error message about @LPRDelegateDefault@.

If you edit /etc/ImageMagick-7/delegates.xml and replace "@LPRDelegateDefault@" with "lpr" it will print an image.  I have no idea whether something was supposed to be substituted for @LPRDelegateDefault@ on installation, or if it's something compiled into ImageMagick, or in a config file, or what, but something's gone wrong here.
Comment 1 Jani Välimaa 2023-09-10 15:31:38 CEST
Please test imagemagick-7.1.1.11-2.1.mga9 from core/updates_testing and tainted/updates_testing.

SRPMS:
imagemagick-7.1.1.11-2.1.mga9

RPMS:
imagemagick-7.1.1.11-2.1.mga9
imagemagick-desktop-7.1.1.11-2.1.mga9
imagemagick-doc-7.1.1.11-2.1.mga9
lib(64)magick-devel-7.1.1.11-2.1.mga9
lib(64)magick-7Q16HDRI_10-7.1.1.11-2.1.mga9
lib(64)magick++-7Q16HDRI_5-7.1.1.11-2.1.mga9
perl-Image-Magick-7.1.1.11-2.1.mga9

Assignee: bugsquad => qa-bugs
CC: (none) => jani.valimaa

Comment 2 Morgan Leijström 2023-09-10 18:36:12 CEST
mga9-64 OK for me, tested tainted version on Plasma, nvidia-current, i7 CPU.

With mga9 release version imagemagick (from tainted):

   $ display

Then it pops up a window with a default image, 
and I right click and select print, select A4 format,
then comes a popup message + commandline output:

   display: delegate failed `@LPRDelegateDefault@ '%i'' @ error/delegate.c/InvokeDelegate/1924.


Repeating above after installing the update (tainted version), prints that image on my default printer (Boomaga)

CC: (none) => fri

Comment 3 Ken Arromdee 2023-09-12 22:09:26 CEST
It appears to work with -2.1 from updates.
Comment 4 Morgan Leijström 2023-09-12 22:40:18 CEST
Thanks.
I think this is enough testing for this minor update.

Whiteboard: (none) => MGA9-OK
CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Dave Hodgins 2023-09-14 20:33:16 CEST

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 5 Mageia Robot 2023-09-15 23:33:35 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0070.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.