RubyOnRails - chartkick - no tooltip in firefox - ruby-on-rails

I have some trouble to show tooltips on Chartkick graph in my RubyOnRails application. It appears only with Firefox and Windows 10. Any ideas ?
Firefox 100.0.2 (64 bits) Linux : OK
Firefox 90 - Windows 10 : KO
Firefox 101 - Windows 10 : KO
Firefox 104 - Windows 10 : KO
Firefox 104 - Windows 7 : OK
Chrome - Windows 10 : OK
firefox 100.0.2 (64 bits) MacOs : OK
firefox 102.0.1 (64 bits) MacOs : OK
Safari 14.1.1 (64 bits) MacOs : OK
Chrome 103.0.5060.114 (64 bits) MacOs : OK
Even on the Chartkick website there is no tooltips, so it's certainly my computer's problem but I don't know where....
Tanks in advance.
screenshot chartkick homepage

Related

Delphi RadStudio 10.2 running on VMWare Fusion : Keyboard shortcuts?

I'm trying to work on a personal project at home using the free Delphi RADstudio 10.2 on my Mac thru VMware Fusion running Windows 8
I can't access any of the most used keyboard shortcuts :
CTRL + mouseClick : to go to the signature of the method
CTRL + Shift + C : to create/insert the implementation part of a method's signature
CTRL + Shift + F : to search within my project | a directory
I've tried Malcom Groves' advice: disabling keyboard shortcuts from mac OS host ('RAD Studio/AppMethod keystrokes vs VMWare Fusion Unity View', http://www.malcolmgroves.com/blog/?p=1716) to no avail ...
thanks for your inputs : solving this minor annoyance will speed up the project

DirectX 11/12 without UWP possible?

I've haven't looked at DirectX since the DX9 era. Is it possible to make DX11/12 applications without having to also make them UWP applications?
I'm a little concerned about the overhead of UWP-- for fun, I made an empty application, and I noticed it uses ~30MB just to draw a blank window.
I'm guessing by "WUP" you mean the Universal Windows Platform (UWP). Direct3D 11 is supported for Win32 classic desktop apps on Windows 7, Windows Vista SP2, Windows 8.x, and Windows 10. Direct3D 12 is supported for Win32 classic desktop apps on Windows 10. Both are also supported for UWP and Xbox One.
To catch up on the modern story for DirectX, you should see: MSDN, Where is the DirectX SDK (2015 Edition)?, and Getting Started with Direct3D 11, as well as the DirectX Tool Kit tutorials tutorials
There are three basic appmodels for UWP: XAML, XAML+DirectX, and DirectX (i.e. no XAML). A basic DirectX app for Direct3D 11 with just a swap chain and device has an EXE of about 100 KB as an x86 application in Release mode. A DirectX+XAML 'empty' app is around 347 KB.
UPDATED: The basic DirectX app for Direct3D 11 as Release mode for x86 has a RAM footprint of around 6.1 MB in full-screen mode. A DirectX+XAML 'empty' app in Release mode for x86 is 11.2 MB. That's pretty good since a 1920 x 1080 BGRA32 render target texture is 8 MB of VRAM.

ActiveX support in IE10 on windows 8

Is ActiveX support is available in IE-10 on windows 8 . Because ActiveX is not working on IE-10. I did find the problem i had done all the settings ?
i solved the problem by doing Following steps.
-Following Registry entry should be Added in order to run ActiveX on Windows 8 64 bit.
1. open Regedit .
2.Path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework
3. Add a new DWORD 32 bit value
4. Set its name “EnableIEHosting”
5. Set its value “1”.
ActiveX works fine on IE10 in windows 8, as long as you aren't in Metro / Windows RT mode. You can only use activex controls in desktop mode.
(our plugin works fine; https://downloads.gradecam.com)

Microsoft speech api 5.1 GetVoices returns voices that don't exist on Windows 7

I'm migrating from XP to Windows 7 64 bit. My app which I compiled on my XP machine works properly on XP. However when I run the exe on my W7 machine, the list of voices returned by GetVoices is as follows:
Microsoft Anna
Microsoft Mary
Microsoft Mike
Sample TTS Voice.
Checking the W7 Speech Properties dialog shows that only Microsoft Anna is loaded on the machine. Checking the registry at HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Speech/Voices confirms this.
Recompiling my app on my new Windows 7 development machine creates an exe that duplicate the above behavior. (The XP compiled code and the W7 compiled code reproduce the same error when executed under W7)
I'm developing in Delphi 7 on Windows 7 64 bit and I'm using the Microsoft Speech Object Library (Version 5.4) (note: 5.4 is what shows in the Import Type Library list).
I installed SpeechSDK51.exe onto my W7 machine. This came from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=5e86ec97-40a7-453f-b0ee-6583171b4530&DisplayLang=en
The following code produces the list of 4 voices on Windows 7 even though there should only be one voice:
procedure TForm1.FormCreate(Sender: TObject);
var
i: integer;
SOToken: ISpeechObjectToken;
SOTokens: ISpeechObjectTokens;
begin
cbbVoices.Clear;
SOTokens := SpVoice1.GetVoices('', '');
for i := 0 to SOTokens.Count - 1 do begin
SOToken := SOTokens.Item(i);
cbbVoices.AddItem( SOToken.GetDescription(0), TObject(SOToken) );
SOToken._AddRef;
end;
end;
Any suggestions on how to deal with this problem?
thanks,
shawnh
Microsoft Anna is the only 64-bit voice you have
the other ones are 32-bit engines.
Your system can only use the 64-bit engine(Anna) so only this one can be selected in the panel. But the other ones are installed as well. If you open this file: /%Windows%/SystemWOW64/Speech/SpeechUX/sapi.cpl you will see a dialog similar to the one for the control panel but now you will be able to select any one of those voices as the standart voice.
Unconfirmed yet, but I think that Microsoft Sam, Microsoft Mike and Microsoft Mary do not work on Windows Vista and later.
I guess you could install them with the 5.1 SDK, so they are reported back when you query the voices, but being possibly not compatible with the 5.4 engine, they cannot be used.
You may want to filter GetVoices with the EngineProperties attribute to limit what is returned.
Disclaimer: all this is untested/guesswork/doc-reading....

Delphi issues on windows 7 x64?

I searched around but I couldn't find a straight answer to these questions, only bits and pieces: if I install windows seven x64,
1 - will I be able to use delphi 2007+ as I'm used to aka start it, code in it, debug in it, compile in it ? I've seen the debugger issue and the hex edit workaround.
2 - will my application compiled in that environnement work on 32 bit versions of windows ?
3 - will my application I compiled with delphi on 32 bit windows work this 64 bit version ?
(of course all this is assuming "normal" applications as-in I don't expect things to work if I'm playing with pointers expecting them to be 32 bits long, obviously)
The overall question of this would be, as someone who is moving to windows seven 64 bits, will I be able to/should I use this as my main delphi developpement platform or will i be better off keeping a 32 bit boot for delphi dev ?
Thanks to anyone who can give me a clue about this
As Mason Wheeler stated, there's a problem with the 2007/2009 debugger and 64-bit platforms but it can easily be fixed.
I'm using D2007 (with this fix) on Windows 7 64-bit on a daily basis and it works just great.
There is now a hotfix for this.
No idea about Windows 7 64 bit version, but I have been using Delphi 4, 5, 2007 and 2009 for nearly a year now on Windows XP 64 bit, and given the effort Microsoft spends on backwards compatibility I don't see why things should be very different on Windows 7. This answers your last question - no need to keep a separate partition. Use virtualization for running things on a 32 bit system. Windows 7 does AFAIK offer you a virtualized Windows XP subsystem - at no cost, but you may need to download it separately.
Re 2. and 3.: The OS an application is compiled on does not matter for the deployment, as long as the compilation itself works. I have only ever been compiling 16 bit Delphi programs on 32 bit Windows versions, without problems. You should however always test on clean installations of your target OS versions, as a developer PC is sufficiently different from a user PC to not assume that everything will just work. This however is general advise, and has nothing to do with a 64 bit OS.
Your Delphi programs will run on a 32 bit layer (WOW64 - Windows on Windows 64) of Windows 64 bit which is close enough to the real 32 bit OS that you do not need to care about it, unless you work very closely with the lower system level.
I was doing some work on Delphi 2007 under Windows 7 64-bit yesterday, and it was a disaster. Every time I'd leave the program while debugging, either by quitting out normally or by stopping the debugger, it would raise an assertion failure that I couldn't get out of, bringing down the entire IDE. (This never happened under XP.) Apparently the WOW64 emulator isn't quite as stable as it ought to be... :(
If you're going to try to work on Windows 7 64-bit, I'd strongly recommend upgrading to Delphi 2010, which was built specifically with Windows 7 compliance in mind. If that's not an option, then at least install a VM with XP on it for your dev work.
Answers are:
1. Yes - With the workaround for the debugger issue
2. Yes - Delphi 2007 (native) will only build 32 bit applications
3. Yes - Unless it's a Device Driver or low-level service
First apply the patch as mentioned on Olaf's Blog. This fixes the debugger exit error.
Second, Install Windows XP Mode, which is a fully clean (and legal) windows XP 32bit virtual machine.
Compile application on Windows 7 64bit. Install onto the virtual machine. It should just work. Rinse, lather and repeat for other applications you are developing.
XP Mode is available to all owners of Windows 7 Professional and Ultimate editions. Don't know about corporate editions.
This is what I'm currently using for development as I had to perform an emergency OSectomy of a Macbook Pro
I run Delphi 2007 on Windows 7 Professional 64 bit and it was fine for a bit until a patch Tuesday a while ago. The IDE would die after throwing the debug error (SetThreadContext failed). I applied the patch found at http://cc.embarcadero.com/item/27521 and no more problems.
HTH. YMMV.
Doug
FYI, I am running Delphi 7 on Win7 64-bit. The trick to run this version is to NOT install to the Program Files(x86) folder - instead, install to something like C:\Delphi7. Been working with it this way for about a month now with a pretty heavy development load and it works great!

Resources