https://bugs.winehq.org/show_bug.cgi?id=43679
Bug ID: 43679 Summary: PDF-XChange's typewriter tool works only once Product: Wine Version: 2.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: matteo.guglielmi@gmail.com Distribution: ---
When using the 'typewriter' tool of pdf-xchange, which is used to add text on pdf pages, it works only the first time it is used (typewriter box appears and text can be typed in).
From the second time on, the typewriter box appears but it is not possible to
type in any text.
Also editing the first typewriter box does not work either.
https://bugs.winehq.org/show_bug.cgi?id=43679
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Not a major bug.
Is it this program: https://www.tracker-software.com/product/pdf-xchange-viewer ?
From the second time on, the typewriter box appears but it is not possible to type in any text.
What do you mean by second time? Second box you create, or second time you select the tool itself, or what?
Also editing the first typewriter box does not work either.
Can't confirm, works for me.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #2 from Matteo Guglielmi matteo.guglielmi@gmail.com --- I'm using a licensed version of pdf-exchange editor (V 6.0 build 322.7 or any other previous build).
Load a pdf file and select the typewriter tool.
Click somewhere on the page... a box will appear with a blinking cursor inside it ready to accept your text from the keyboard.
Type something.
Now, click somewhere else on the page... a new box will appear but this time without the blinking cursor inside it.
From now on, any text you type on the keyboard (or paste from the clipboard)
won't make it to that box... or any other box if you create newer ones... or even inside the first box, if you select it again.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- So then it's https://www.tracker-software.com/product/pdf-xchange-editor/ ?
Please tell me if the download is correct
Using pdf-exchange editor (V 6.0 build 322.7), can't reproduce the problem. Need more information.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #4 from Matteo Guglielmi matteo.guglielmi@gmail.com --- Yes, the link is correct.
I have an arch linux box and installed the following two packages (wine/pdf-xchange):
[root@pulsar:~]# pacsearch pdf-xchange local/pdf-xchange 6.0.322.7-1 [installed] Feature-rich PDF editor/viewer. Create, view, edit and annotate plus much more.
[root@pulsar:~]# pacsearch wine community/python2-twine 1.9.1-1 Collection of utilities for interacting with PyPI community/twine 1.9.1-1 Collection of utilities for interacting with PyPI community/wine-mono 4.7.1-1 Wine's built-in replacement for Microsoft's .NET Framework community/winetricks 20170823-1 Script to install various redistributable runtime libraries in Wine. multilib/q4wine 1.3.5-2 A Qt4 GUI for Wine multilib/wine 2.16-1 [installed] A compatibility layer for running Windows programs multilib/wine-staging 2.15-2 A compatibility layer for running Windows programs - Staging branch multilib/wine-staging-nine 2.15-1 A compatibility layer for running Windows programs - Staging branch with the gallium-nine patches multilib/wine_gecko 2.47-1 Wine's built-in replacement for Microsoft's Internet Explorer
Let me know if you want me to run any particular command.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #5 from Matteo Guglielmi matteo.guglielmi@gmail.com --- This is the console output of pdf-xchange doing the following:
open pdf file select typewriter tool click on a spot of the page (box appears with blinking cursor) type random text click on a different spot of the page (box appears without blinking cursor) type random text (nothing happens, box remains empty) close program
### LOG ###
fixme:process:RegisterApplicationRestart (L"/Recover",0) fixme:imm:ImmGetOpenStatus (0x1dba750): semi-stub fixme:imm:ImmReleaseContext (0x10076, 0x1dba750): stub fixme:ver:GetCurrentPackageId (0x332e560 (nil)): stub err:ole:CoGetContextToken apartment not initialised fixme:resource:GetGuiResources (0xffffffffffffffff,0): stub fixme:heap:RtlCompactHeap (0x10000, 0x0) stub fixme:font:GetCharacterPlacementW flags 0x00000032 ignored fixme:win:RegisterTouchWindow (0x10090 00000000): stub fixme:win:RegisterTouchWindow (0x100b2 00000000): stub fixme:win:RegisterTouchWindow (0x1008e 00000000): stub fixme:msg:ChangeWindowMessageFilter 4a 00000001 fixme:msg:ChangeWindowMessageFilter c061 00000001 fixme:ole:CoGetApartmentType (0x2bae520, 0x2bae3d4): semi-stub fixme:ole:CoGetApartmentType (0x2bae528, 0x2bae3d4): semi-stub fixme:win:RegisterTouchWindow (0x100bc 00000000): stub fixme:win:RegisterTouchWindow (0x100be 00000000): stub fixme:win:RegisterTouchWindow (0x100c0 00000000): stub fixme:win:RegisterTouchWindow (0x100c2 00000000): stub fixme:win:RegisterTouchWindow (0x100c4 00000000): stub fixme:win:RegisterTouchWindow (0x100c6 00000000): stub fixme:win:RegisterTouchWindow (0x100c8 00000000): stub fixme:win:RegisterTouchWindow (0x100ca 00000000): stub fixme:win:RegisterTouchWindow (0x100d2 00000000): stub fixme:win:RegisterTouchWindow (0x100d4 00000000): stub fixme:win:RegisterTouchWindow (0x100d6 00000000): stub fixme:ole:CoGetApartmentType (0x80de520, 0x80de3d4): semi-stub fixme:ole:CoGetApartmentType (0x80de528, 0x80de3d4): semi-stub fixme:ole:CoGetApartmentType (0x72de520, 0x72de3d4): semi-stub fixme:ole:CoGetApartmentType (0x72de528, 0x72de3d4): semi-stub fixme:ver:GetCurrentPackageId (0x9b0e560 (nil)): stub fixme:msxml:domdoc_setProperty Ignoring property L"NewParser", value 0x22da70 {VT_BOOL: ffffffff} fixme:msxml:domdoc_setProperty Unknown property L"NormalizeAttributeValues" fixme:msxml:domdoc_get_parseError (0xcfa5300)->(0x22dac8): creating a dummy parseError fixme:msxml:domdoc_setProperty Ignoring property L"NewParser", value 0x22d970 {VT_BOOL: ffffffff} fixme:msxml:domdoc_get_parseError (0xcf641f0)->(0x22d9c8): creating a dummy parseError fixme:ole:CoGetApartmentType (0x75de520, 0x75de3d4): semi-stub fixme:ole:CoGetApartmentType (0x75de528, 0x75de3d4): semi-stub fixme:ole:CoGetApartmentType (0x76de520, 0x76de3d4): semi-stub fixme:ole:CoGetApartmentType (0x76de528, 0x76de3d4): semi-stub fixme:ole:CoGetApartmentType (0x76de560, 0x76de404): semi-stub fixme:ole:CoGetApartmentType (0x75de560, 0x75de404): semi-stub fixme:ole:CoGetApartmentType (0x2bae560, 0x2bae404): semi-stub fixme:ole:CoGetApartmentType (0x79de560, 0x79de404): semi-stub fixme:ole:CoGetApartmentType (0x7bde560, 0x7bde404): semi-stub fixme:ole:CoGetApartmentType (0x78de560, 0x78de404): semi-stub fixme:ole:CoGetApartmentType (0x77de560, 0x77de404): semi-stub fixme:ole:CoGetApartmentType (0x74de560, 0x74de404): semi-stub fixme:ole:CoGetApartmentType (0x7cde560, 0x7cde404): semi-stub fixme:ole:CoGetApartmentType (0x73de560, 0x73de404): semi-stub fixme:ole:CoGetApartmentType (0x72de560, 0x72de404): semi-stub fixme:ole:CoGetApartmentType (0x7dde560, 0x7dde404): semi-stub fixme:ole:CoGetApartmentType (0x7ede560, 0x7ede404): semi-stub fixme:ole:CoGetApartmentType (0x7fde560, 0x7fde404): semi-stub fixme:ole:CoGetApartmentType (0x7ade560, 0x7ade404): semi-stub fixme:ole:CoGetApartmentType (0x80de560, 0x80de404): semi-stub fixme:ole:CoGetApartmentType (0x332e560, 0x332e404): semi-stub fixme:ver:GetCurrentPackageId (0x22fcd0 (nil)): stub
https://bugs.winehq.org/show_bug.cgi?id=43679
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.tracker-softwar | |e.com/product/pdf-xchange-e | |ditor/ Ever confirmed|0 |1 Keywords| |download, win64 Distribution|--- |ArchLinux Status|UNCONFIRMED |NEW
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Ah I see, now I can reproduce the error. The problem seems to be that the 32bit version works fine, the 64bit version does not. Doesn't matter whether the 32bit version is installed in a 32bit prefix or a 64bit prefix. Can you/someone confirm that?
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #7 from Matteo Guglielmi matteo.guglielmi@gmail.com --- I could manage to create the 32 bit version package of pdf-xchange for arch linux tweaking the package configuration file 'PKGBUILD' that is available here:
https://aur.archlinux.org/packages/pdf-xchange/
But when I try to install the i686 package, I get this error message:
[root@pulsar:pdf-xchange]$ pacman -U ./pdf-xchange-6.0.322.7-1-i686.pkg.tar.xz loading packages... error: failed to prepare transaction (package architecture is not valid) :: package pdf-xchange-6.0.322.7-1-i686 does not have a valid architecture
since I have a 64bit box.
I'm stuck here.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- This edited version should work: https://gist.github.com/DarkShadow44/3fe055a4371ec41f92fd2f38d28974e4
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #9 from Matteo Guglielmi matteo.guglielmi@gmail.com --- And in fact it does!
I've been reporting on this forum numerous times about this bug and never got a proper answer in almost a year.
Then I decided to open my own bug report for the same bug again thinking well... they will close it because it's a duplicate of the other reports.
Instead, you came out of thin air and solved it in one day.
Thank you Fabian!
I can finally trash my virtual machines and use the editor directly on linux!
If you can push that fix to AUR as well, that would be great... I believe many other users are having exactly the same problem.
Wow, thanks again!
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #10 from Fabian Maurer dark.shadow4@web.de --- No problem, glad I could help. That's what I'm here for, after all.
because it's a duplicate of the other reports
Of what reports? I didn't notice a duplicate.
If you can push that fix to AUR as well, that would be great... I believe many other users are having exactly the same problem.
I left a comment on the AUR page, but I still hope we can get it fixed in wine.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #11 from Matteo Guglielmi matteo.guglielmi@gmail.com --- Bug 41354.
Probably your fix is gonna get that bug solved as well.
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #12 from Matteo Guglielmi matteo.guglielmi@gmail.com --- AUR maintainers did apply your patch to pdf-xchange package!
It finally works out of the box.
Awesome!
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #13 from Matteo Guglielmi matteo.guglielmi@gmail.com --- Typewriter tool stopped working again.
Now, it just doesn't work at all.
### LOG ###
fixme:winediag:start_process Wine Staging 2.18 is a testing version containing experimental patches. fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. fixme:process:RegisterApplicationRestart (L"/Recover",0) err:winediag:gnutls_initialize failed to load libgnutls, no support for encryption fixme:imm:ImmGetOpenStatus (0x9d7000): semi-stub fixme:imm:ImmReleaseContext (0x10082, 0x9d7000): stub fixme:ver:GetCurrentPackageId (0x224e998 (nil)): stub err:ole:CoGetContextToken apartment not initialised fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:heap:RtlCompactHeap (0x110000, 0x0) stub fixme:font:GetCharacterPlacementW flags 0x00000032 ignored fixme:win:RegisterTouchWindow (0x3004e 00000000): stub fixme:win:RegisterTouchWindow (0x100b8 00000000): stub fixme:win:RegisterTouchWindow (0x100a0 00000000): stub fixme:msg:ChangeWindowMessageFilter 4a 00000001 fixme:msg:ChangeWindowMessageFilter c061 00000001 fixme:ole:CoGetApartmentType (0x47de98c, 0x47de918): semi-stub fixme:ole:CoGetApartmentType (0x47de96c, 0x47de8f8): semi-stub fixme:win:RegisterTouchWindow (0x100be 00000000): stub fixme:win:RegisterTouchWindow (0x100c0 00000000): stub fixme:win:RegisterTouchWindow (0x100c2 00000000): stub fixme:win:RegisterTouchWindow (0x100c4 00000000): stub fixme:win:RegisterTouchWindow (0x100c6 00000000): stub fixme:win:RegisterTouchWindow (0x100c8 00000000): stub fixme:win:RegisterTouchWindow (0x100ca 00000000): stub fixme:win:RegisterTouchWindow (0x100cc 00000000): stub fixme:win:RegisterTouchWindow (0x100d4 00000000): stub fixme:win:RegisterTouchWindow (0x100d6 00000000): stub fixme:win:RegisterTouchWindow (0x100d8 00000000): stub fixme:ole:CoGetApartmentType (0x585e98c, 0x585e918): semi-stub fixme:ole:CoGetApartmentType (0x585e96c, 0x585e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4b5e98c, 0x4b5e918): semi-stub fixme:ole:CoGetApartmentType (0x4b5e96c, 0x4b5e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4d5e98c, 0x4d5e918): semi-stub fixme:ole:CoGetApartmentType (0x4d5e96c, 0x4d5e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4c5e98c, 0x4c5e918): semi-stub fixme:ole:CoGetApartmentType (0x4c5e96c, 0x4c5e8f8): semi-stub fixme:ole:CoGetApartmentType (0x575e98c, 0x575e918): semi-stub fixme:ole:CoGetApartmentType (0x575e96c, 0x575e8f8): semi-stub fixme:ole:CoGetApartmentType (0x515e98c, 0x515e918): semi-stub fixme:ole:CoGetApartmentType (0x515e96c, 0x515e8f8): semi-stub fixme:ole:CoGetApartmentType (0x555e98c, 0x555e918): semi-stub fixme:ole:CoGetApartmentType (0x555e96c, 0x555e8f8): semi-stub fixme:ole:CoGetApartmentType (0x525e98c, 0x525e918): semi-stub fixme:ole:CoGetApartmentType (0x525e96c, 0x525e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4e5e98c, 0x4e5e918): semi-stub fixme:ole:CoGetApartmentType (0x4e5e96c, 0x4e5e8f8): semi-stub fixme:ole:CoGetApartmentType (0x545e98c, 0x545e918): semi-stub fixme:ole:CoGetApartmentType (0x545e96c, 0x545e8f8): semi-stub fixme:ole:CoGetApartmentType (0x535e98c, 0x535e918): semi-stub fixme:ole:CoGetApartmentType (0x535e96c, 0x535e8f8): semi-stub fixme:ole:CoGetApartmentType (0x565e98c, 0x565e918): semi-stub fixme:ole:CoGetApartmentType (0x565e96c, 0x565e8f8): semi-stub fixme:ole:CoGetApartmentType (0x505e98c, 0x505e918): semi-stub fixme:ole:CoGetApartmentType (0x505e96c, 0x505e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4a5e98c, 0x4a5e918): semi-stub fixme:ole:CoGetApartmentType (0x4a5e96c, 0x4a5e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4f5e98c, 0x4f5e918): semi-stub fixme:ole:CoGetApartmentType (0x4f5e96c, 0x4f5e8f8): semi-stub fixme:ole:CoGetApartmentType (0x4e5e9a4, 0x4e5e938): semi-stub fixme:ole:CoGetApartmentType (0x515e9a4, 0x515e938): semi-stub fixme:ole:CoGetApartmentType (0x505e9a4, 0x505e938): semi-stub fixme:ole:CoGetApartmentType (0x575e9a4, 0x575e938): semi-stub fixme:ole:CoGetApartmentType (0x535e9a4, 0x535e938): semi-stub fixme:ole:CoGetApartmentType (0x4b5e9a4, 0x4b5e938): semi-stub fixme:ole:CoGetApartmentType (0x525e9a4, 0x525e938): semi-stub fixme:ole:CoGetApartmentType (0x585e9a4, 0x585e938): semi-stub fixme:ole:CoGetApartmentType (0x4d5e9a4, 0x4d5e938): semi-stub fixme:ole:CoGetApartmentType (0x545e9a4, 0x545e938): semi-stub fixme:ole:CoGetApartmentType (0x565e9a4, 0x565e938): semi-stub fixme:ole:CoGetApartmentType (0x4f5e9a4, 0x4f5e938): semi-stub fixme:ole:CoGetApartmentType (0x555e9a4, 0x555e938): semi-stub fixme:ole:CoGetApartmentType (0x47de9a4, 0x47de938): semi-stub fixme:ole:CoGetApartmentType (0x4a5e9a4, 0x4a5e938): semi-stub fixme:ole:CoGetApartmentType (0x4c5e9a4, 0x4c5e938): semi-stub fixme:ole:CoGetApartmentType (0x224e9a4, 0x224e938): semi-stub fixme:ver:GetCurrentPackageId (0x32fda4 (nil)): stub
https://bugs.winehq.org/show_bug.cgi?id=43679
Tommaso tommaso.cucinotta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tommaso.cucinotta@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #14 from Tommaso tommaso.cucinotta@gmail.com --- I face this bug as well, just found out the wine32 trick, so wiped out my wine64 ~/.wine and reinstalled with wine32, at a glance seems to work nicely around the problem, but doesn't feel like an optimal setup. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #15 from Matteo Guglielmi matteo.guglielmi@gmail.com --- Could you please post a little howto (suppose wine is not even installed) to get it working on a 64bit system?
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #16 from Tommaso tommaso.cucinotta@gmail.com --- Ubuntu way:
0) [optional] ensure wine64 is out of the way, cleanup ~/.wine (64-bit and 32-bit ~/.wine seem incompatible with each other) sudo apt-get remove wine64 mv ~/.wine ~/.wine-bak
1) install wine32 sudo apt-get install wine32 2) download the Zip Installer from Tracker Software
https://www.tracker-software.com/product/downloads/enduser/pdf-xchange-edito... 3) unzip it, to exctract PDFXVE7.exe: unzip PDFXVE7.zip 4) launch the installer: wine PDFXVE7.exe 5) add to your ~/.bashrc: alias pdfxedit='wine ~/.wine/drive_c/Program\ Files/Tracker\ Software/PDF\ Editor/PDFXEdit.exe 2> /dev/null'
6) spawn a new shell, and enjoy your new alias: pdfxedit /path/to/file.pdf
Note: after step 1), steps 2), 3) and 4) might be automatically doable through the web browser (when u download the zip, choose Open with Archive, then double click on the .exe, and it should be picked up by wine automatically)
Note: with the 32-bit wine, most of the times this bug cannot be seen, but occasionally it pops out anyway. With wine64 instead, it is basically impossible to annotate PDFs with the text tool.
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #17 from Matteo Guglielmi matteo.guglielmi@gmail.com --- Yep, that works. Thx!
https://bugs.winehq.org/show_bug.cgi?id=43679
--- Comment #18 from Tommaso tommaso.cucinotta@gmail.com --- These simple instructions have also been made available here: https://www.instructables.com/id/Effective-PDF-Annotations-on-Linux/