Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline ur_naz  
#1 Posted : 22 May 2021 12:02:01(UTC)
ur_naz


Rank: Member

Groups: Registered
Joined: 06/04/2016(UTC)
Posts: 15
Location: Ukraine

This is very old issue and i guiss its enough 1 row of code to fix it
the issue is following
For example,
i type "30" then type "км", get dropped listbox, then push enter. so i got км - неопределено
Then
i type "30" then type "км", get dropped listbox, then push arrowdown, then push arrowup, then push enter. so i got normal blue kilometers

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Andrey Ivashov  
#2 Posted : 22 May 2021 19:53:56(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
This is by design.
By default Enter means "leave focus from region". But when you starting to work with suggestions list explicitly meaning of the Enter button changed to help you make a selection.

Best regards.
Offline ur_naz  
#3 Posted : 22 May 2021 21:48:56(UTC)
ur_naz


Rank: Member

Groups: Registered
Joined: 06/04/2016(UTC)
Posts: 15
Location: Ukraine

Then list_box is dropped, zero item is seems to be selected. so if i leave entering enter, i expect my choice should been applied.

Anyway, what is the difference between "км" and "км" as dimension?

And why various items of list_box requires various actions: double-click on zero item and push arrow buttons for the rest items (much more comfortable, because i have not grab the mouse and double-click on item already chosen)
Offline Andrey Ivashov  
#4 Posted : 22 May 2021 22:47:28(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
To use selected item you just need to press Tab. Enter is to leave a focus from Region.
Offline ur_naz  
#5 Posted : 23 May 2021 01:19:06(UTC)
ur_naz


Rank: Member

Groups: Registered
Joined: 06/04/2016(UTC)
Posts: 15
Location: Ukraine

it is very inconvenient when buttons are redefined in an unusual way because muscle memory is shaped according to patterns used in other more traditional applications, which are used much more often. Therefore, a desire automatically arises to press Enter, despite the prompt to press Tab. Moreover, the Tab button is much smaller and is located on the left, that is, on the side of the weak hand. For me, for example, it is much easier, more convenient and faster to press the down arrow, up arrow and Enter than to look for the tab button on the keyboard.

Finally, if you type 30km, then down arrow right arrow, what should happen? I think nothing should happen, but there is a loss of focus and an undefined value of km. What if I just type "30 km ="? I get km - undefined. Why do I have to choose from the list every time I enter a dimension ???

In general, to be honest, because of this small oversight, all my impression of the program as a whole is blurred.

By the way, I took 4 random IDEs that support auto-completion. In two of them the tab button did not work at all, in two it worked the same way as Enter. For example, in SharpDevelop, the tab button works like Esc, because the zero element is not selected. but if you select any item, then it works like an Enter. Because the Enter button is usually used to execute the default function and not to "leave focus from region". Just the Tab button shifts the focus to another control.
Offline overlord  
#6 Posted : 23 May 2021 01:40:39(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
Originally Posted by: ur_naz Go to Quoted Post
it is very inconvenient when buttons are redefined in an unusual way because muscle memory is shaped according to patterns used in other more traditional applications, which are used much more often.

Excuse me but now you are saying we should give up our 10 year muscle memory in SMath.
This is not an IDE first of all. A free calculation tool similar to mathcad if not exceeding it in some ways.
Auto-completion in SMath is similar to mathcad if I remember correct. And it is a 35 year old product.
SMath started its way mimicking mathcad v15 at some aspects, nothing was wrong here because it was de-facto tool for many years.
Long word short, it is understandable you have struggled with auto-completion.
But will be absurd for us to change the auto-completion way who use mathcad or SMath for many years.

Regards

thanks 2 users thanked overlord for this useful post.
on 23/05/2021(UTC),  on 23/05/2021(UTC)
Offline Razonar  
#7 Posted : 23 May 2021 06:21:01(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Originally Posted by: ur_naz Go to Quoted Post
... What if I just type "30 km ="? I get km - undefined. Why do I have to choose from the list every time I enter a dimension ???


Just because you want. You can choose to directly type "30'km="

(Notice the ' character)

Best regards.
Alvaro.

Edited by user 23 May 2021 06:24:15(UTC)  | Reason: Not specified

Offline Andrey Ivashov  
#8 Posted : 23 May 2021 10:09:53(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Originally Posted by: overlord Go to Quoted Post
Originally Posted by: ur_naz Go to Quoted Post
it is very inconvenient when buttons are redefined in an unusual way because muscle memory is shaped according to patterns used in other more traditional applications, which are used much more often.

Auto-completion in SMath is similar to mathcad if I remember correct.

To say truth I didn't know Mathcad had autocomplition functionality ever. What version did you use?

Thanks.
Offline overlord  
#9 Posted : 23 May 2021 11:59:50(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
To say truth I didn't know Mathcad had autocomplition functionality ever. What version did you use?

Thanks.

You are right, autocomplete is not even a thing for Mathcad which is a bigger bummer.
I haven't use it since I first see SMath, more than 10 years I guess.
Well, I remember it wrong. Or maybe mistaken with another software.

Regards
thanks 1 user thanked overlord for this useful post.
on 23/05/2021(UTC)
Offline overlord  
#10 Posted : 23 May 2021 18:48:49(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
I have been using command-line completion with tab near two decades with linux.
Tab completion, which smath design has choosed, is way much older than any other auto-completion.
To be not mistaken again I have looked and found out its first examples appeared in 1966.
Actually all other programs which use enter or space as auto-completion had used the unusual way.
They were inconvenient for peoples who used computers for decades, eventually people get use to everything.

Regards
Offline Jean Giraud  
#11 Posted : 24 May 2021 00:40:21(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ur_naz Go to Quoted Post
This is very old issue

Sorry, no recollection of that issue.
Can you have other issue than 30.123456789876543210 km ?
Offline Jean Giraud  
#12 Posted : 24 May 2021 01:48:23(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ur_naz Go to Quoted Post
This is very old issue and i guiss its enough 1 row of code to fix it

Has been exposed many times ...

OneLineCode.PNG
Offline ur_naz  
#13 Posted : 13 June 2021 16:17:46(UTC)
ur_naz


Rank: Member

Groups: Registered
Joined: 06/04/2016(UTC)
Posts: 15
Location: Ukraine

I just want to type

V:=30km[arrow_right]/10min= # ignore popup

or

Скорость:=30км[arrow_right]/10мин= # ignore popup

or (with selecting item of popup by k/b )

V:=30km[Enter][arrow_right]/10min= #problem is no 'km' in smath, but should be?????

or (with selecting item of popup by k/b )

Скорость:=30км[Enter][arrow_right]/10мин= #fist item seems to be already selected, but in fact not

30km.png

and get the result but not the error message of undefined type 'km' оr 'км', which should be defined

30km.png

I want to get the result w/o using mouse or any other pointer. just keyboard

Seems like km disappeared from smath =(

I guiss all extensions should be English. all localized extensions should be pseudos of english names.

It should be setting of displaying only english, only localized or both extensions




Offline Jean Giraud  
#14 Posted : 13 June 2021 17:29:11(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: ur_naz Go to Quoted Post
I want to get the result w/o using mouse or any other pointer. just keyboard

No mouse action, but you have to use pointer to enter units.

Speed.PNG
Offline ElSid  
#15 Posted : 14 June 2021 16:12:13(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
Originally Posted by: overlord Go to Quoted Post
Originally Posted by: ur_naz Go to Quoted Post
it is very inconvenient when buttons are redefined in an unusual way because muscle memory is shaped according to patterns used in other more traditional applications, which are used much more often.

Auto-completion in SMath is similar to mathcad if I remember correct.

To say truth I didn't know Mathcad had autocomplition functionality ever. What version did you use?

Thanks.


It started with PRIME 1.0
Regards
Offline Andrey Ivashov  
#16 Posted : 14 June 2021 23:46:43(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Originally Posted by: ur_naz Go to Quoted Post
Скорость:=30км[Enter][arrow_right]/10мин= #fist item seems to be already selected, but in fact not

30km.png


Interesting thought actually. It seems I need either to:
  1. show selection only if written text is exactly the same as shown in the list;
  2. replace written text with the one selected in the list as soon as list is closed (even if no Tab or Enter pressed).


Seems reasonable, I will handle it soon.
Thank you!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.