New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTL language causes overlapping in subtitle settings #4888
Comments
This commit will: - Correct the constraints in PrefSubViewController.xib - Change the language-direction of the battery icon from Fixed to Left to Right, Mirrors This corrects a problem with color wells overlapping their labels on the Subtitle tab of IINA's settings. This also changes the battery icon shown in full screen mode to flip in a RTL language correcting another overlapping problem.
The orientation of the right half of the color picker button should be reversed, so that the two halves together form an ellipse (like group-toggle) |
Tuesday is a busy day for me, but I will be responding to these problems. There is definitely something wrong with the quick settings sidebar as I get constraint warning when I open it. The labels for the icons do look too close together. A noticed another problem in the subtitle panel. Look for the word |
Yes. I agree. The entire color well should be flipped as shown in the one labled "valid". IINA uses a NSColorWell and when running under macOS Ventura or later the expanded style is used. I'm still trying to track down what is causing it to not flip as expected. I wrote a tiny test program and that worked fine. So it is something about how it is used in IINA that is causing it to malfunction. I will continue to investigate. |
This commit will: - Correct the constraints in PrefSubViewController.xib - Change the Mirror setting to Never on the color wells in the XIB - Change the language-direction of the battery icon from Fixed to Left to Right, Mirrors This corrects a problem with color wells overlapping their labels on the Subtitle tab of IINA's settings. This also changes the battery icon shown in full screen mode to flip in a RTL language correcting another overlapping problem.
Just a little reminder. I worry this small detail may have slipped through the cracks with everything going on :) |
The constraint warnings seen with the quick settings panel when the layout is reversed proved to be due to the problems with the speed slider labels. The fix for that problem corrected the constraint warnings. |
I built now with #4919 + #4922, and still the labels are too close to the icons. |
I will have a look at #4925 tomorrow. Thanks for entering the issue. Constraint warnings happen when constraints conflict so badly that layout is forced to intentionally break constraints. When that happens there will rather large warnings in the Xcode console. Of course objects can be miss-aligned without any constraint warnings. To make it very obvious when constraint warnings occur run this command in terminal: defaults write com.colliderli.iina NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints true With that setting you will get a purple box around the window as seen here: To turn this debugging tool off delete the setting or set it to |
System and IINA version:
Expected behavior:
UI components do not overlap with right to left languages such as Arabic and Hebrew.
Actual behavior:
Currently IINA does not support any right to left languages. However PR #4922 enables Hebrew. If you build IINA with that pull request and set Hebrew as the language then the color wells on the
Subtitle
tab of IINA's settings overlap the labels for the control. Also, if on theUI
tab in theOn Screen Display
section theDisplay time and battery info when in full screen
setting is enabled then the text giving the battery state overlaps with the battery icon.These problems were reported by @ShlomoCode in issue #4776. As that issue reports quite a few RTL related problems I have created this issue to focus just on these two problems.
Steps to reproduce:
Product
menu open theScheme
menu and selectEdit Scheme…
Options
tabApp Language
settingRight-to-Left Pseudolanguage
near the end of the listSettings…
under theIINA
menuSubtitle
Text Subtitles
section the labels overlapping with the color wells.Or you can build with PR #4922 and set your language to Hebrew.
mpv does not support localization.
How often does this happen?
Every time.
The text was updated successfully, but these errors were encountered: