Problem with text entry fields (Mac OS X Snow leopard)

Questions about Wine on macOS.
Locked
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Problem with text entry fields (Mac OS X Snow leopard)

Post by monochromevision »

I use Wine for the windows programs I created with Clarion (Topspeed) environment. After upgrade from Mac OS X Tiger to Snow Leopard, I can't input any text in entry fields, using English keyboard layout. When I type something, I hear the beep sound, no letters appers on the screen. I even can't paste latin letters text using shortcuts, and the context dropdown menu doesn't appear anymore. However, russian keyboard layout works fine. I can type when I switch to russian keyboard layout. Also, this problem is only for the single line entry fields. The multi-lined textareas are working ok.
Please help if you have any suggestions. Thanks in advance!
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Problem with text entry fields (Mac OS X Snow leopard)

Post by doh123 »

monochromevision wrote:I use Wine for the windows programs I created with Clarion (Topspeed) environment. After upgrade from Mac OS X Tiger to Snow Leopard, I can't input any text in entry fields, using English keyboard layout. When I type something, I hear the beep sound, no letters appers on the screen. I even can't paste latin letters text using shortcuts, and the context dropdown menu doesn't appear anymore. However, russian keyboard layout works fine. I can type when I switch to russian keyboard layout. Also, this problem is only for the single line entry fields. The multi-lined textareas are working ok.
Please help if you have any suggestions. Thanks in advance!
first I'd suggest not using Apple's X11 with Snow Leopard. Go to http://xquartz.macosforge.org/ and get Xquartz 2.5.2 and use that as your X11... then make sure your using Wine 1.2
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

doh123, thank you very much for the reply.
I have Mac OS 10.6.4
I downloaded the latest Wine 1.2
Then I downloaded Xquartz 2.5.2 and installed it. But when I start my application, I see that the old version of XQuartz (2.3.5) starts instead of the new one. I logged off and on, but nothing changed.
If I manually delete the old version from my programs (utilities), the application don't start at all. I tried to start new Xquartz manually, reinstall it, but nothing helps.
James McKenzie

Problem with text entry fields (Mac OS X Snow leopard)

Post by James McKenzie »

monochromevision wrote:
doh123, thank you very much for the reply.
I have Mac OS 10.6.4
I downloaded the latest Wine 1.2
Then I downloaded Xquartz 2.5.2 and installed it.
May sound like a stupid question, but did you download the Snow Leopard
version? I know that you should not be able to install the Leopard
version on Snow Leopard and vice-versa. If you did install the Snow
Leopard version, try restarting your Mac.

James McKenzie
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

No, I installed Snow Leopard from the DVD on the blank harddisc. I restarted it several times with no result.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

monochromevision wrote:No, I installed Snow Leopard from the DVD on the blank harddisc. I restarted it several times with no result.
you'll have to ask Xquartz people, or look at their documentation...

basically when you install it, it should make a app called Xquartz.app in your utilities folder. Manually you can run this and use its xterm to launch wine.

By default, after rebooting it should have set itself to be the main X11 to launch, not Apple's X11 ... if it didn't I'm not sure what to say.. look for the directions to do a complete uninstall and reinstall on Xquartz website... there are some plists that handle what the main X11 launch is, but I don't recall which ones.
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

Yes, manually it worked as you say. In xterm console, I see the message that Wine cannot find the FreeType font library. To install that, I need to install macports etc. But I think the solution may be somewhere else, because even with the newest versions of Xquartz and Wine it's still the same problem. When I tried also to use Crossover, there are the same bugs in win programs.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

I think it's pretty clear now that you'll have to install FreeType. ;)
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

When I press any key, I hear the beep sound and the message in console:
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4190419, 0000: semi-stub!
Actually I discovered that I can type only russian letters and symbols "±" and "§". No dots, colons, digits, even no spacebar! Really strange.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

monochromevision wrote:When I press any key, I hear the beep sound and the message in console:
fixme:keyboard:X11DRV_ActivateKeyboardLayout 0x4190419, 0000: semi-stub!
Actually I discovered that I can type only russian letters and symbols "±" and "§". No dots, colons, digits, even no spacebar! Really strange.
hmm...

when you launch from Xterm in Xquartz 2.5.2 type in on a line before...

export DYLD_FALLBACK_LIBRARY_PATH=/opt/X11/lib

then try running and see if any of the same error are present.

You said you tried Crossover and it has the same problems, or different problems? Crossover uses its own built in X11, so if it breaks in theirs, its unlikely to be anything with X11.
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

With Crossover the problems are absolutely the same, yes.

After I typed what you said, the application failed to start at all.
Here is the log.

Application tried to create a window, but no driver could be loaded.
Unknown error (998).
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Unknown error (998).
wine: Unhandled division by zero at address 0x45005c (thread 0034), starting debugger...
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c000013a
err:module:DelayLoadFailureHook failed to delay load user32.dll.DialogBoxParamW
wine: Call from 0x7b82867f to unimplemented function user32.dll.DialogBoxParamW, aborting
wine: Unimplemented function user32.dll.DialogBoxParamW called at address 0x7b82867f (thread 0038), starting debugger...
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c000013a
err:module:DelayLoadFailureHook failed to delay load user32.dll.DialogBoxParamW
wine: Call from 0x7b82867f to unimplemented function user32.dll.DialogBoxParamW, aborting
...
PE 9549f000-95711000 Deferred corefoundation
PE 9561a000-95644000 Deferred libresolv.9.dylib
PE 9561a000-95644000 Deferred libresolv.9.dylib
PE 9563b000-95a9f000 Deferred hitoolbox
PE 9563b000-95a9f000 Deferred hitoolbox
PE 9563b000-95a9f000 Deferred hitoolbox
PE 95a1a000-95adf000 Deferred printcore
PE 95bc3000-95c08000 Deferred libcups.2.dylib
PE 95d97000-95dc2000 Deferred imagecapture
PE 95de8000-95f0d000 Deferred libxml2.2.dylib
PE 95f15000-95f1e000 Deferred libgif.dylib
PE 96075000-9610e000 Deferred coretext
PE 96075000-9610e000 Deferred coretext
PE 960d8000-960de000 Deferred audiounit
PE 960d8000-960de000 Deferred audiounit
PE 960e1000-9610b000 Deferred opencl
PE 96114000-961cd000 Deferred securityfoundation
PE 96114000-961cd000 Deferred securityfoundation
PE 9626c000-962a2000 Deferred corevideo
PE 96656000-9670d000 Deferred kerberos
PE 96656000-9670d000 Deferred kerberos
PE 96656000-9670d000 Deferred kerberos
PE 96918000-9696c000 Deferred libtiff.dylib
PE 96a65000-96a98000 Deferred libxslt.1.dylib
PE 96a8e000-96c20000 Deferred audiotoolbox
PE 96a8e000-96c20000 Deferred audiotoolbox
PE 97122000-97128000 Deferred libradiance.dylib
PE 97301000-9732d000 Deferred openscripting
PE 9737d000-975a4000 Deferred libsystem.b.dylib
PE 97530000-97656000 Deferred desktopservicespriv
PE 98749000-98810000 Deferred libsqlite3.dylib
PE 98a7e000-98b65000 Deferred colorsync
PE 98b2f000-98c1a000 Deferred vimage
PE 99145000-991f9000 Deferred searchkit
PE 99290000-9929f000 Deferred print
PE 99298000-992bd000 Deferred libexpat.1.dylib
PE 992ed000-992f0000 Deferred veclib
PE 993fd000-99448000 Deferred libvdsp.dylib
PE 993fd000-99448000 Deferred libvdsp.dylib
PE 994aa000-99522000 Deferred libvmisc.dylib
PE 99553000-99699000 Deferred libfontparser.dylib
PE 9960a000-99633000 Deferred cfopendirectory
PE 99742000-9974a000 Deferred libcorevmclient.dylib
PE 99742000-9974a000 Deferred libcorevmclient.dylib
PE 99746000-9988a000 Deferred libcrypto.0.9.8.dylib
Threads:
process tid prio (all id:s are in hex)
00000008 ntdll.dll
00000009 0
0000000e services.exe
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000018 0
00000017 0
00000013 0
00000012 0
00000019 (D) Z:\Applications\CrossOver\Trades\trades.exe
0000001a 0 <==
0000001b explorer.exe
0000001c 0
Backtrace:
=>0 0x0045005c in trades (+0x5005c) (0x003a63ef)
James Mckenzie

Problem with text entry fields (Mac OS X Snow leopard)

Post by James Mckenzie »

monochromevision <[email protected]> wrote:
Sent: Jul 27, 2010 2:50 AM
To: [email protected]
Subject: [Wine] Re: Problem with text entry fields (Mac OS X Snow leopard)

Yes, manually it worked as you say. In xterm console, I see the message that Wine cannot find the FreeType font
library. To install that, I need to install macports etc. But I think the solution may be somewhere else, because
even with the newest versions of Xquartz and Wine it's still the same problem. When I tried also to use Crossover,
there are the same bugs in win programs.
I get that, even with a package that I'm working with. That is because the dynamic library path has to be set to point to the location where the Freetype libraries are located.

However, I've seen where fuctionality provided by the Richedit program that is lacking in Wine has caused the inability to put information into Text fields.

Has anyone recommended using winetricks riched20 or winetricks riched30 and then trying to run your program again?

James McKenzie
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

I installed macports, riched20 and 30. But nothing changed at all - neither in Wine, neither in Crossover.


188:~ iMac$ sh winetricks.sh
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 32-bit
fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 32-bit
fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 32-bit
fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 32-bit
fixme:menubuilder:SaveIconResAsXPM Unsupported color depth 32-bit
Warning: Missing charsets in String to FontSet conversion
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
X connection to /tmp/launch-xtVcyZ/org.x:0 broken (explicit kill or server shutdown).
Wine cannot find the FreeType font library. To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Executing /usr/local/bin/cabextract --directory=/Users/iMac/.wine/dosdevices/c:/winetrickstmp /Users/iMac/.winetrickscache/InstMsiA.exe
Extracting cabinet: /Users/iMac/.winetrickscache/InstMsiA.exe
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msi.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msiexec.exe
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msihnd.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msisip.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msimsg.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msimain.sdb
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msiinst.exe
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/riched20.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/usp10.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/msls31.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/shfolder.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/instmsi.msi
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/imagehlp.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/cabinet.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/mspatcha.dll
extracting /Users/iMac/.wine/dosdevices/c:/winetrickstmp/sdbapi.dll

All done, no errors.
Executing cp -f /Users/iMac/.wine/dosdevices/c:/winetrickstmp/riched20.dll /Users/iMac/.wine/dosdevices/c:/windows/system32
Using native,builtin override for following DLLs: riched20
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*riched20"="native,builtin"
Install of riched30 done
winetricks done.
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

what program is this exactly? Is it anything I'd be able to test out?
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

Yes, sure. Please download here: http://monochromevision.ru/trades.zip
(executable + 3 files needed to display information in text fields)
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Post by doh123 »

monochromevision wrote:Yes, sure. Please download here: http://monochromevision.ru/trades.zip
(executable + 3 files needed to display information in text fields)
definitely not working very well... I can type in some areas.. it wont type when entering a new record.. the scroll bar up and down doesn't work right... and the email just shows up as lines... everything else seems to work right.. I can edit fields about people. This was working right on 10.4? What Wine version? Did you install anything special like via Winetricks.
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

The scrollbar was not working originally, but it's not a problem.
The problem is entry fields, they neither wont show the text, nor allow type text. The multiline entry (people) is another class which works ok. Seems to be that the entry field is a special ctrl class, not the standard windows ctrl.
But anyway, in 10.4 it was working well, both under Wine (can't remember exactly version) and Crossover (version 7). Seems that something is lacking in 10.6 functionality. Did you tried it on 10.6 or 10.5? I installed winetricks riched20 and riched30, but it didn't help.
P-AV
Newbie
Newbie
Posts: 1
Joined: Sat Oct 30, 2010 12:30 pm

Post by P-AV »

I have the same problem with the Clarion in ubuntu 10.04. How to fix it?
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

Impossible to fix. The only program working fine with Clarion is Crossover 7. All Wine versions and all later Crossover versions don't work.
You can easily install Crossover 7.0 - it's working with Xandros/Debian well at least.
monochromevision
Level 2
Level 2
Posts: 11
Joined: Thu Jul 22, 2010 7:33 am

Post by monochromevision »

For Mac users who want to run their old Clarion programs under Snow Leopard: use Crossover 7, running it as described here:
http://www.codeweavers.com/support/wiki ... 7underSnow
- seems that its' only way to make them work.

All newer versions of Crossover and all versions of Wine will not work with Clarion properly.
Locked