winbox-mac icon indicating copy to clipboard operation
winbox-mac copied to clipboard

add support for non-english user

Open samlm0 opened this issue 2 years ago • 16 comments

Change LC_CTYPE to "LANG" which in environment variables

samlm0 avatar Jul 19 '22 06:07 samlm0

compare

samlm0 avatar Jul 19 '22 06:07 samlm0

@samlm0 Does it fix the issue on the second launch? Seems like LC_CTYPE is still en_US.UTF-8 on non first launch.

nrlquaker avatar Jul 20 '22 11:07 nrlquaker

@samlm0 Does it fix the issue on the second launch? Seems like LC_CTYPE is still en_US.UTF-8 on non first launch.

Let me fix that

samlm0 avatar Jul 20 '22 12:07 samlm0

It should be fix in db2764b

samlm0 avatar Jul 20 '22 13:07 samlm0

add a alert to notice some outdated macbook user winbox is restarting

samlm0 avatar Jul 20 '22 13:07 samlm0

nvm, just found out $LANG in macOS app mode is not exists, re-set the LC_CTYPE via applescript

samlm0 avatar Jul 20 '22 14:07 samlm0

I've tested it. After launch app is immediately closes and in some time winbox launches. From the user point of view it looks like crash. And winbox is launched with icon from exe, not from app.

nrlquaker avatar Jul 25 '22 07:07 nrlquaker

I've tested it. After launch app is immediately closes and in some time winbox launches. From the user point of view it looks like crash. And winbox is launched with icon from exe, not from app.

I found another way to start winbox with icon, and with correct LANG

samlm0 avatar Jul 29 '22 07:07 samlm0

found a bugs.

  1. launch winbox
  2. login
  3. resize window
  4. the window can not resize correctly

temp solution

  1. launch winbox
  2. login
  3. click [new winbox] on the left sidebar
  4. try resize on the new winbox window
  5. all winbox windows can resize correctly

samlm0 avatar Jul 29 '22 08:07 samlm0

found a solusion, start winbox absolute path. need verify

only test on my local machine

samlm0 avatar Jul 29 '22 08:07 samlm0

Can someone interested in non-english support test this please?

nrlquaker avatar Nov 05 '22 00:11 nrlquaker

ping @cmmchina @coolchenK @bazzelio @SirPrikol @Error996 @wmbin

nrlquaker avatar Nov 05 '22 00:11 nrlquaker

@samlm0 sorry for a long response. Does this PR fix the resize issue #109 ?

nrlquaker avatar Jan 21 '23 21:01 nrlquaker

@nrlquaker It can be used normally,but opening windows is slow Sorry, my english isn't good

wmbin avatar Jan 30 '23 11:01 wmbin

@nrlquaker i try to upgrade the wine to 8.0

it seem run soomthly, and add a font smoothing fix on is

and without any window glitch

samlm0 avatar Feb 02 '23 06:02 samlm0

@samlm0 can you rebase please? WIne is already 8.1.

nrlquaker avatar Sep 11 '23 21:09 nrlquaker