Latin Capital I with dot above

Latin Capital I with dot above - Messages

#1 Posted: 2/7/2014 7:44:32 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

When I press on right arrow key to navigate through smath, I am getting RİGHT word written, and it is so annoying.
For example, if I wrote sin(x) and press right arrow key in the middle of it, it is shown as siRİGHTn(x).
I am trying to convince all my friends to use smath instead of mathcad, but when they see this, there is no words for me to say anymore.
I am using a Turkish Keyboard, even changing the input language from Windows Control Panel is not a solution.

So please, maybe I am asking to much but could you please change at next release, code below;

        Protected Overrides Function ProcessDialogKey(ByVal keys1 As Keys) As Boolean
            If (((keys1 = Keys.Left) OrElse (keys1 = Keys.Right)) OrElse (((keys1 = Keys.Up) OrElse (keys1 = Keys.Down)) OrElse (keys1 = Keys.Delete))) Then
                Me..Insert(keys1.ToString.ToUpper)
            ElseIf (keys1 = (Keys.Control Or Keys.Left)) Then
                Me..Insert("CLEFT"
            ElseIf (keys1 = (Keys.Control Or Keys.Right)) Then
                Me..Insert("CRIGHT"
            ElseIf ((keys1 = (Keys.Shift Or Keys.Left)) OrElse (keys1 = (Keys.Control Or (Keys.Shift Or Keys.Left)))) Then
                Me..Insert("SLEFT"
            ElseIf ((keys1 = (Keys.Shift Or Keys.Right)) OrElse (keys1 = (Keys.Control Or (Keys.Shift Or Keys.Right)))) Then
                Me..Insert("SRIGHT"
            ElseIf (keys1 = (Keys.Shift Or Keys.Tab)) Then
                Me..Insert("BTAB"
            ElseIf (keys1 = Keys.Tab) Then
                Me..Insert("TAB"
            End If
            Return False
        End Function

'--with this:

        Protected Overrides Function ProcessDialogKey(ByVal keys1 As Keys) As Boolean
            If ((keys1 = Keys.Left) OrElse (((keys1 = Keys.Up) OrElse (keys1 = Keys.Down)) OrElse (keys1 = Keys.Delete))) Then
                Me..Insert(keys1.ToString.ToUpper)
            ElseIf (keys1 = (Keys.Right)) Then
                Me..Insert("RIGHT"                              'changed code
            ElseIf (keys1 = (Keys.Control Or Keys.Left)) Then
                Me..Insert("CLEFT"
            ElseIf (keys1 = (Keys.Control Or Keys.Left)) Then
                Me..Insert("CLEFT"
            ElseIf (keys1 = (Keys.Control Or Keys.Right)) Then
                Me..Insert("CRIGHT"
            ElseIf ((keys1 = (Keys.Shift Or Keys.Left)) OrElse (keys1 = (Keys.Control Or (Keys.Shift Or Keys.Left)))) Then
                Me..Insert("SLEFT"
            ElseIf ((keys1 = (Keys.Shift Or Keys.Right)) OrElse (keys1 = (Keys.Control Or (Keys.Shift Or Keys.Right)))) Then
                Me..Insert("SRIGHT"
            ElseIf (keys1 = (Keys.Shift Or Keys.Tab)) Then
                Me..Insert("BTAB"
            ElseIf (keys1 = Keys.Tab) Then
                Me..Insert("TAB"
            End If
            Return False
        End Function 
#2 Posted: 2/8/2014 3:46:41 AM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3732 posts.

Group: Super Administrator

Hello.

Thank you for the report!

I'm unable to reproduce appearing word "RIGHT" when working with regions. Just tried it with no luck.
Unfortunately code changes suggested by you has no sense, because keys1.ToString.ToUpper for Keys.Right will also return "RIGHT", so by this update I will not change anything.

What version of SMath Studio do you use? Did you try to completely remove SMath Studio (with all the folders from %APPDATA% and Program Files) and install the latest RC build?

Best regards, Andrey Ivashov.
1 users liked this post
Davide Carpi 2/8/2014 6:54:00 AM
#3 Posted: 2/8/2014 4:23:38 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

I remember it happened before. Here is one post I could find by searching the Forum RIGHT word. I can not find anything else.

Regards,
Radovan

P.S.
I see Andrey that you could find the time to continue working on SMath. Hope that everything is well and that you could get some more sleep in the recent months
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 2/8/2014 6:54:00 AM
#4 Posted: 2/8/2014 4:24:19 AM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Thanks for your quick reply Andrey.

I am using 0.96 (Build 5151) right now. I don't want to consume your precious time, but every time a new Smath released (even beta or RC), I always uninstall and delete everything releated Smath from C:\Program Files and APPDATA. I install everything again. Portable or original version does not matter to produce this error.
I am using Windows7 Ultimate (and professional at work) with TURKISH language and keyboard. We Turkish and Azerbaijani people are using the Capital I with dot. We have "ı" and "i" at same keyboard. Right now all my keyboards have this key. This is why you can not reproduce this error. To write RİGHT with pressing right arrow key, you have to have Turkish Windows and keyboard.
Sorry for inconvenience.

Regards
#5 Posted: 2/8/2014 4:28:17 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello
Wrote


I am using Windows7 Ultimate (and professional at work) with TURKISH language and keyboard. We Turkish and Azerbaijani people are using the Capital I with dot. We have "ı" and "i" at same keyboard. Right now all my keyboards have this key. This is why you can not reproduce this error. To write RİGHT with pressing right arrow key, you have to have Turkish Windows and keyboard.


By the way, I've noticed that the user reported this before is also from Istanbul. Might be the same reason and some kind of localization problem.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 2/8/2014 6:54:00 AM
#6 Posted: 2/8/2014 3:21:14 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

I don't want to be a stubborn idiot, this will be my last post on this topic.
This is an infamous localization bug, which can easily be solved as it seems. If Andrey does not want to change anything, I do totally understand it.

http://mattryall.net/blog/2009/02/the-infamous-turkish-locale-bug

Regards
1 users liked this post
Davide Carpi 2/8/2014 4:04:00 PM
#7 Posted: 2/8/2014 5:32:47 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3732 posts.

Group: Super Administrator

overlord, please don't stop!

Please don't think you bother me - I'm the one who are the most interested to have SMath Studio without bugs. It's a pleasure for me that people like you takes their own time to find and describe different complexities they experienced while working with SMath Studio.

Thank you for your help! I will deeply check this issue!

Radovan, as always I'm very glad to see familier faces here Hope you're doing well! Yes, I found some time to release new SMath Studio version... there are plenty improvements done in code. Not sure I will be able to do updates every week, but while I have some free hours I must keep project running!

Best regards, Andrey Ivashov.
2 users liked this post
Radovan Omorjan 2/9/2014 4:13:00 AM, Davide Carpi 2/8/2014 6:16:00 PM
#8 Posted: 2/8/2014 5:55:33 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3732 posts.

Group: Super Administrator

overlord,

I think I fixed the issue. Url you give in your previous post was very helpfull! Thank you!

Please try to download SMathStudio_Desktop.exe and replace initial SMathStudio_Desktop.exe file from SMath Studio installation directory. The code change is: from keyData.ToString().ToUpper() to keyData.ToString().ToUpper(CultureInfo.InvariantCulture).

Hope this will help. Please inform me here about results!

Thanks in advance!

Best regards, Andrey Ivashv.
3 users liked this post
Radovan Omorjan 2/9/2014 4:13:00 AM, Davide Carpi 2/8/2014 6:16:00 PM, ioan92 2/9/2014 5:43:00 AM
#9 Posted: 2/8/2014 7:33:32 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

I actually thank you
Totally works
2 users liked this post
Andrey Ivashov 2/9/2014 3:07:00 AM, Davide Carpi 2/9/2014 7:29:00 AM
#10 Posted: 2/9/2014 10:37:28 AM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3732 posts.

Group: Super Administrator

Great! Thank you for help!

Best regards, Andrey Ivashov.
1 users liked this post
Davide Carpi 2/9/2014 6:38:00 PM
  • New Posts New Posts
  • No New Posts No New Posts