You are not logged in.

#1 2012-05-30 05:39:57

space-otter
Member
Registered: 2012-05-30
Posts: 4

SMath not responding to some keys

Hi, new user here. I installed SMath through the AUR. I have already used SMath in windows to solve some homework problems, where it works very well, I am impressed. However in Arch, SMath does not respond at all to some keys. My keyboard is fine, and only in SMath it appears as if there are dead keys. I am using programmer dvorak, and when switching back to normal the behavior retains the appearance that some keys are dead. I do not know if this is a problem with mono, or SMath, as it is the only mono application I have. The dead keys are:
`1345789-=]
on a normal keyboard and
$&{}(*)+!#@
in programmer dvorak.
So, I can enter numbers with the numberpad, however it is impossible to insert some characters because they're only on the dead keys. Pressing the equivalent buttons in the interface works as expected.
Any assistance in investigating the problem would be appreciated.

Offline

#2 2012-05-31 10:03:09

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: SMath not responding to some keys

The number keys work fine here, both numberpad and symbols. I'm using US standard layout. I'm guessing it's something to do with your layout and/or a limitation in Mono.


/usr/bin/drinking

Offline

#3 2012-06-03 07:36:52

space-otter
Member
Registered: 2012-05-30
Posts: 4

Re: SMath not responding to some keys

Yes! I finally got SMath to behave. I had this in my xorg.conf:

 Section "InputClass"
 	Identifier "evdev keyboard catchall"
 	MatchIsKeyboard "on"
 	MatchDevicePath "/dev/input/event*"
 	Driver "evdev"
 	Option "XkbLayout" "us"
 	Option "XkbVariant" "dvp"
EndSection

This allows me to programmer dvorak in kdm. However, on a hunch I commented it out and Smath works. What irks me about this is if I change the layout after login, I can use programmer dvorak just fine. I guess I will have to live with entering my password differently. This is probably a deficiency in mono.

Well it's working better anyway, now it won't respond to the tab key...

Last edited by space-otter (2012-06-03 07:42:30)

Offline

#4 2012-06-06 22:56:54

space-otter
Member
Registered: 2012-05-30
Posts: 4

Re: SMath not responding to some keys

Ugh. Never mind. It's back to near uselessness, same problem and the tab key doesn't work either. Copy/Paste does not work. The multi document interface has gone insane. And my windows version is now stuck in russian. Updating did not fix anything.

What gives ;_; I need this to do my homework

Offline

#5 2012-06-06 23:14:25

space-otter
Member
Registered: 2012-05-30
Posts: 4

Re: SMath not responding to some keys

I tried to plot a matrix and this happened:

KDE colorscheme read failure, using built-in colorscheme

Unhandled Exception: System.OverflowException: Number overflow.
  at (wrapper managed-to-native) object:__icall_wrapper___emul_fconv_to_ovf_i8 (double)
  at System.Convert.ToInt32 (Double value) [0x00000] in <filename unknown>:0 
  at . (Int32 , Int32 ) [0x00000] in <filename unknown>:0 
  at SMath.Control.Renderer.Refresh () [0x00000] in <filename unknown>:0 
  at SMath.Control.PlotRegion () [0x00000] in <filename unknown>:0 
  at SMath.Control.PlotRegion.OnEvaluation (SMath.Math.Store store) [0x00000] in <filename unknown>:0 
  at â. () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Number overflow.
  at (wrapper managed-to-native) object:__icall_wrapper___emul_fconv_to_ovf_i8 (double)
  at System.Convert.ToInt32 (Double value) [0x00000] in <filename unknown>:0 
  at . (Int32 , Int32 ) [0x00000] in <filename unknown>:0 
  at SMath.Control.Renderer.Refresh () [0x00000] in <filename unknown>:0 
  at SMath.Control.PlotRegion () [0x00000] in <filename unknown>:0 
  at SMath.Control.PlotRegion.OnEvaluation (SMath.Math.Store store) [0x00000] in <filename unknown>:0 
  at â. () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

I should probably move this discussion to the SMath forums.

Offline

Board footer

Powered by FluxBB