• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 5 6 7 8 9 … 35 Next »
[fixed] comma vs dot

 
  • 0 Vote(s) - 0 Average
[fixed] comma vs dot

Pages (2): 1 2 Next »
Hank
Offline

Senior Member

Posts: 295
Threads: 94
Joined: Dec 2013
#1
10-21-2019, 12:06 PM (This post was last modified: 11-04-2019, 05:16 PM by micheus.)
hi there,

W3D 2.2.4
Win 10

I'm not sure if this is a bug or needs only some improvement, but whenever I use 'dot' in my numeric keypad I get 'comma'
This is a little bit annoying and for other 3D software it works: dot = dot and not dot = comma
Otherwise, all numeric input in W3D have to be followed by 'main' numeric keys...

BR, Hank
My gallery: marcone.pl
Nova
Offline

Member

Posts: 164
Threads: 22
Joined: Nov 2012
#2
10-21-2019, 01:14 PM
I've reported the same thing a long time ago and IIRC it's not considered a bug. I really wish I could change the behaviour in Wings (It used to behave like a dot), because no matter what I've tried to do, to change that behaviour in Windows hasn't worked.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#3
10-21-2019, 05:24 PM
I'm not sure that can be just changed. But, I always thought it would be better if it could to use the OS locale settings.

In my numeric keypad I don't have a "dot" but a "comma" - we use comma for decimals and dot for thousands (and I have another keyboard with both in the keypad). Although it would help me make comma=dot, I'm pretty sure there is a way to make it work right - which means I will alway have to use the dot in the main keyboard. Smile
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#4
10-22-2019, 01:36 PM (This post was last modified: 10-22-2019, 01:49 PM by dgud.)
Should I always translate commas between numbers to dot then, i.e. 1,2 becomes 1.2 ?
We use to evaluate math expressions (so you can write 5.0*pi inside your dialogs)
and erlang expects dot to be the delimiter between integer and fractions.

You can write: "A = 5.4, B=4.3, sin(deg2rad A+B)" where comma separates the expressions,
so it might be confusing tol allow "A = 5,4, B=4,3, sin(deg2rad A+B)" ??
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#5
10-22-2019, 04:32 PM
(10-22-2019, 01:36 PM)dgud Wrote: ... erlang expects dot to be the delimiter between integer and fractions.
If Erlang doesn't handle OS locale information, then ...
(10-22-2019, 01:36 PM)dgud Wrote: Should I always translate commas between numbers to dot then, i.e. 1,2 becomes 1.2 ?
... The answer is YES.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#6
10-23-2019, 07:02 AM
Erlang is a programming language, no programming language syntax is
dependent on locale that would be weird. You would not be able to compile
code I had written because we had different locale.

Normally the programming language is not exposed in an application, though,
but I thought it was a cool feature.

Wings doesn't handle locale, wxWidgets have some support but I don't understand
it and I believe it's to automatic for my liking, i.e. uses OS locale whatever I want.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#7
10-23-2019, 12:30 PM (This post was last modified: 10-23-2019, 12:31 PM by micheus.)
(10-23-2019, 07:02 AM)dgud Wrote: Normally the programming language is not exposed in an application,
I was considering just that. But, as the math expressions are available in Erlang I thought it would handle locale only in this situation. Smile

Let's make all comma = dot and solve the problem to anyone. (including me Biggrin)
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#8
10-23-2019, 03:14 PM (This post was last modified: 10-23-2019, 03:19 PM by oort.)
I probably shouldn't post in this thread since I may not understand the issue... Smile Sad

I think Nova wants dot = dot and comma = comma.

I think he is reporting that currently Wings is dot = comma on his keypad, when it should be dot = dot.

Sorry if I do not understand and I am confusing things. I get dot=dot in Windows Wings 2.2.3 on my keypad.

oort
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#9
10-23-2019, 05:02 PM
No problem oort
maybe we are talking about a different keypad: an additional one; a notebook one;...

I my case, what I can check and experience is about these bellow:
1) a keyboard with a keypad which its layout has only a "comma" and that works like a "comma";


2) and another keyboard with a keypad which its layout has both a "comma" and a "dot". Each one works like it should be (comma=comma and dot=dot).

(*these are not my keyboards - just the layout)

As I said, for me it would be much better have the comma converted to dot. Biggrin
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#10
10-23-2019, 05:55 PM
Also, I just checked that Wings3D doesn't really do any kind of translation currently. It just handle what the wxWidgets library gives to it - and wx module should be processing correctly the keys (WXK_NUMPAD_DECIMAL and WXK_DECIMAL)
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode