https://bugs.winehq.org/show_bug.cgi?id=57028
Bug ID: 57028 Summary: LTSpice will not print with WINE 9.xx on Ubuntu 24.04 Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: spooler Assignee: wine-bugs@winehq.org Reporter: dpalmer035@gmail.com Distribution: ---
I had been using Ubuntu 22.04 with wine version 6 and LTspice would run and print without issue. I recently upgraded to the new Ubuntu 24.04 and in doing so wine had been upgraded to version 9.0
LTspice will run without issue but printing no longer works. The printout is marked as stopped in the print manager and can not be restarted so it must be deleted. In addition, if I use the CUPS pdf driver, the only thing that is generated is a blank page.
To troubleshoot further and make sure that I could figure out exactly what is causing the issue, I went back and loaded up a new copy of Ubuntu 22.04 into a virtual machine and then installed the default version of wine-6.0.3 that is part of that releases repro. Installed LTspice 17 and 24 both ran/printed without issue.
I then removed the stock wine-6.0.3 release repro version, added the WineHQ repository and installed winehq-stable 9.0. Now both LTspice 17 or 24 both ran but neither would print.
I then removed winehq-stable and installed winehq-dev 9.14. Same result in that both LTspice 17 or 24 both ran but neither would print.
Next I installed Ubuntu 24.04 in a virtual machine. I then installed the default repository version of wine-9.0, LTspice 24 and again it would not print. I added the WineHQ repository and installed winehq-devel 9.14 and again it would not print.
https://bugs.winehq.org/show_bug.cgi?id=57028
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |7034fc297bf730427c6c808cb3f | |574b56f50b60f CC| |piotr@codeweavers.com URL| |https://web.archive.org/web | |/20240804044518/https://lts | |pice.analog.com/software/LT | |spice64.msi Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com --- I can confirm the issue with LTspice in wine-9.0 and wine-9.14. Printing works in wine-8.0, so I performed a regression test, which yields the following result:
7034fc297bf730427c6c808cb3f574b56f50b60f is the first bad commit commit 7034fc297bf730427c6c808cb3f574b56f50b60f Author: Piotr Caban piotr@codeweavers.com Date: Mon May 1 13:11:42 2023 +0200
winspool: Change CUPS printers print processor to wineps.
To reproduce the problem, I installed LTspice using the available installer with default settings specified. Because it performs a user installation by default, LTspice needs to be launched from "C:\users<user>\AppData\Local\Programs\ADI\LTspice\LTspice.exe".
With the demo circuit file 3072_dc1938a.asc extracted from the collection of circuit files available at https://www.analog.com/en/resources/design-tools-and-calculators/ltspice-sim..., I opened it in LTspice and attempted to print to the CUPS PDF printer.
With wine-8.0, printing generates a new "3072_dc1938a-job_<number>.pdf" output file with what appears to be a good rendering of the circuit. With wine-9.0, printing yields a new "_-job_<number>.pdf" output file with no rendered content in the document.
https://bugs.winehq.org/show_bug.cgi?id=57028
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, printing, | |regression
https://bugs.winehq.org/show_bug.cgi?id=57028
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |8.8
https://bugs.winehq.org/show_bug.cgi?id=57028
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #2 from Piotr Caban piotr.caban@gmail.com --- It's fixed in development branch. Please retest.
https://bugs.winehq.org/show_bug.cgi?id=57028
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |a09ad757caab295f471ac6db0e1 | |a12aecccb9194 Status|NEW |RESOLVED
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com --- I confirm this is fixed by https://gitlab.winehq.org/wine/wine/-/commit/a09ad757caab295f471ac6db0e1a12a...
https://bugs.winehq.org/show_bug.cgi?id=57028
--- Comment #4 from dpalmer035@gmail.com --- How can I test?
It seems that the winehq-dev package from the winhq repository has not changed as I do not see any updates available.
Also, when I install the winehq-dev package it removes vuescan. I think that this is in error as the vuescan program I have is a licensed linux program and has nothing to do with windows.
https://bugs.winehq.org/show_bug.cgi?id=57028
--- Comment #5 from Andrew Nguyen arethusa26@gmail.com --- (In reply to dpalmer035 from comment #4)
How can I test?
It seems that the winehq-dev package from the winhq repository has not changed as I do not see any updates available.
The fix will be available in the next release. If you are interested in building the latest Wine from master to test the latest changes more immediately, please take a look at https://wiki.winehq.org/Building_Wine for instructions.
https://bugs.winehq.org/show_bug.cgi?id=57028
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.15.