dprojects / Woodworking

This is Woodworking workbench for FreeCAD
MIT License
200 stars 17 forks source link

Wrong button texts in dialogs in german locale #10

Closed magic-k closed 1 year ago

magic-k commented 1 year ago

I run FreeCAD on a german chromebook. When opening a dialog (e.g. MagicManager) instead of button texts like ">" or "<" i see ":" and ";". See screenshot of MagicManager: Screenshot 2022-10-04 14 50 42

dprojects commented 1 year ago

There is also other issue I see. The sizes of the buttons are to small so they not show the text correctly. I don't have chromebook, so I am not able to reproduce the problems. However, this might be problem with theme. The button looks better, but they probably have too big pad around the text. Try other theme... if there is also problem with ">" or "<". The "refresh selection" button as big as the last button, what is not normal. This could be fixed by resizing the GUI a little bit in the code but the characters coding is little strange... I don't know german so can't tell if the coding is different, maybe it should be changed into some "number that represents the sign"...

magic-k commented 1 year ago

Chromebook means basically a debian inside a container. Could be a problem with the x11/wayland window manager. I'm also using the Appimage version. But i don't see this in other dialogs. At least the problem with ">" and "<" went away after changing the theme. Screenshot 2022-10-05 08 01 03

dprojects commented 1 year ago

But there is still problem with extra padding added around the text without resizing buttons. I don't want to make the GUI to be half of the screen. There always will be this type of problems. Imagine how many languages are around the world... some languages have much longer translations. So, this is very hard to create GUI to be looking good at any theme and any language and also will not be huge... however maybe little GUI resize would be accurate here, because I see there are not so many letters cut. I will resize the GUI little bit but I don't have to test it.

Do you observe anything like that at other GUIs?

dprojects commented 1 year ago

I redesigned a little bit the GUI of magicManager. Now there is single button to create panel. I always make mistake and clicked not the correct one ;-) Also the GUI is little more wide and the buttons as well. Check if this is fine now.

magic-k commented 1 year ago

It's way better. There are still a few texts that are cut, but nothing crucial.

dprojects commented 1 year ago

There is not problem with FreeCAD themes. Probably the issue is related to the "incorrectly created" theme. The theme resize fonts but not resize widgets like buttons. Please install valid theme.