https://bugs.winehq.org/show_bug.cgi?id=43840
Bug ID: 43840 Summary: Sketchup 2017 does not print Product: Wine Version: 2.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: Reinhard.Scheck@team-scheck.de Distribution: ---
Created attachment 59396 --> https://bugs.winehq.org/attachment.cgi?id=59396 wine log output for selected print option
Sketchup 2017 runs quite well. But neither "Print Preview" nor "Print" does work. When clicking "OK" on the print popup screen, nothing happens. When clicking "Properties" - same thing. "Use high accuracy HLR" checkbox doesn't change things.
Running on Linux <hostname> 4.12.11-200.fc25.x86_64 #1 SMP
https://bugs.winehq.org/show_bug.cgi?id=43840
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |3c1ebfdf82242e28ef697c139e0 | |e94cb5ceb3fcd CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20181031064046/https://www | |.sketchup.com/sketchup/2017 | |/en/sketchuppro-2017-2-2555 | |-90782-en-x64-exe Component|-unknown |kernel32 Keywords| |download, printing Summary|Sketchup 2017 does not |Sketchup 2017: clicking |print |'Ok' in 'Print Preview' or | |'Print' dialog doesn't do | |anything | |(err:commdlg:PRINTDLG_Chang | |ePrinterW | |DocumentProperties fails on | |'<printer>')
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. This was fixed by commit series:
* https://source.winehq.org/git/wine.git/commitdiff/6e9d3d2014145930f688f4c5c9... ("kernel32: Implement deleting mapped sections.")
* https://source.winehq.org/git/wine.git/commitdiff/d2b83336c7b219b3267035bd6a... ("kernel32: Implement registry mapping in WritePrivateProfileSection().")
* https://source.winehq.org/git/wine.git/commitdiff/3c1ebfdf82242e28ef697c139e... ("kernel32: Implement registry mapping in GetPrivateProfileSectionNames().")
* https://source.winehq.org/git/wine.git/commitdiff/9ed6d24ed83d20796e2c519036... ("kernel32: Implement retrieving mapped sections.")
* https://source.winehq.org/git/wine.git/commitdiff/73fc0a18a693c179d676d38fe8... ("kernel32: Implement registry mapping in WritePrivateProfileStringW().")
* https://source.winehq.org/git/wine.git/commitdiff/7c4f2d5342a8673af994077ed2... ("kernel32: Implement registry mapping in GetPrivateProfileStringW().")
Meta bug 4096 ("IniFileMapping not Implemented (ini on win9x => Registry on NT)").
Part of Wine 5.13 release
Thanks Zeb.
NOTE: The print output on paper is garbage but that's another problem.
Stable download link via Internet Archive.
https://web.archive.org/web/20181031064046/https://www.sketchup.com/sketchup...
Before:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/SketchUp/SketchUp 2017
$ WINEDEBUG=+seh,+relay,+commdlg,+winspool,+spooler wine ./SketchUp.exe
log.txt 2>&1
... 00cc:Call winspool.drv.DocumentPropertiesW(00000000,00000000,0b1652c0 L"Xerox-WorkCentre-470cx",00000000,00000000,00000000) ret=02183484 ... 00cc:trace:winspool:DocumentPropertiesW ((nil),(nil),L"Xerox-WorkCentre-470cx",(nil),(nil),0) 00cc:trace:winspool:DocumentPropertiesA ((nil),(nil),Xerox-WorkCentre-470cx,(nil),(nil),0) 00cc:Call gdi32.102(00000000,00000000,0b212390 "Xerox-WorkCentre-470cx",ca183a60 "LPT1:",00000000,00000000,00000000) ret=ca14821a ... 00cc:Call ntdll.wcsncmp(0021bf90 L"C:\windows\win.ini",7b06c282 L"\\.\",00000004) ret=7b014138 00cc:Ret ntdll.wcsncmp() retval=ffffffe7 ret=7b014138 ... 00cc:Call ntdll.NtCreateFile(0021be58,80100080,0021be98,0021be88,00000000,00000080,00000007,00000001,00000060,00000000,00000000) ret=7b0143bf 00cc:Ret ntdll.NtCreateFile() retval=00000000 ret=7b0143bf ... 00cc:Call ntdll.NtQueryInformationFile(0000040c,0021bf10,0021bee8,00000028,00000004) ret=7b01a63e 00cc:Ret ntdll.NtQueryInformationFile() retval=00000000 ret=7b01a63e
00cc:Ret gdi32.102() retval=ffffffff ret=ca14821a ... 00cc:Ret winspool.drv.DocumentPropertiesW() retval=ffffffff ret=02183484 ... 00cc:err:commdlg:PRINTDLG_ChangePrinterW DocumentProperties fails on L"Xerox-WorkCentre-470cx" --- snip ---
After:
--- snip --- ... 00cc:trace:winspool:DocumentPropertiesW ((nil),0x1,(null),(nil),(nil),0) 00cc:trace:winspool:DocumentPropertiesA ((nil),0x1,(null),(nil),(nil),0) ... 00cc:Call gdi32.102(00000000,00000000,0b4109c0 "Xerox-WorkCentre-470cx",7f50fce0aa60 "LPT1:",00000000,00000000,00000000) ret=7f50fcdcf21a ... 00cc:Call ntdll.RtlInitUnicodeString(0021d608,07ef1468 L"Software\Microsoft\Windows NT\CurrentVersion\Devices") ret=7b0404b0 00cc:Ret ntdll.RtlInitUnicodeString() retval=0000006a ret=7b0404b0 00cc:Call ntdll.NtOpenKeyEx(0021d688,00020019,0021d5d8,00000000) ret=7b040552 00cc:Ret ntdll.NtOpenKeyEx() retval=00000000 ret=7b040552 ... 00cc:Ret gdi32.102() retval=000000a4 ret=7f50fcdcf21a ... 00cc:Ret advapi32.RegCloseKey() retval=00000000 ret=7f50fcddc032 00cc:trace:winspool:OpenPrinterW returning 1 with 0 and 0x1 00cc:Ret winspool.drv.OpenPrinterW() retval=00000001 ret=0217f7ad 00cc:Call winspool.drv.GetPrinterW(00000001,00000002,00000000,00000000,0021e574) ret=0217f7da 00cc:trace:winspool:GetPrinterW (0x1,2,(nil),0,0x21e574) 00cc:Call advapi32.RegCreateKeyW(ffffffff80000002,7f50fcdea900 L"System\CurrentControlSet\Control\Print\Printers",0021e338) ret=7f50fcdc8fae --- snip ---
$ sha1sum sketchuppro-2017-2-2555-90782-en-x64.exe a96ea815a3e86ab180d22d7751940de8892d479d sketchuppro-2017-2-2555-90782-en-x64.exe
$ du -sh sketchuppro-2017-2-2555-90782-en-x64.exe 148M sketchuppro-2017-2-2555-90782-en-x64.exe
$ wine --version wine-6.1
Regards
https://bugs.winehq.org/show_bug.cgi?id=43840
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.2.