Skip to content
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

Selecting multiple languages #31

Closed
porculator opened this issue Aug 18, 2015 · 6 comments
Closed

Selecting multiple languages #31

porculator opened this issue Aug 18, 2015 · 6 comments

Comments

@porculator
Copy link

Very annoying thing:

  1. Select several languages for OCR
  2. Then select just one language from the first drop-down menu
  3. If I want again to do multilingual ocr with the languages from the 1. I have first to select some language in the multilingual list to activate multilingual setting and then deselect it because I don't need this additional language

Another annoying thing is when a single language has its own sub-menu with only one thing to choose from, this should be flattened.

@manisandro
Copy link
Owner

Yes I agree this is annoying, unfortunately this is a toolkit limitation (both Qt and Gtk). You apparently cannot have a menu item with a check or radio button which has a submenu and get it to behave correctly when triggered - it will merely open or close the submenu, not toggle the radio. So with the currenty menu-based structure, this is hard to fix. Unless we split out the items: one "Multilanguage enabled" radio item, and one "Multilanguage setup" item with the language selection submenu.

@porculator
Copy link
Author

Why not create another pane/windows, a floating one maybe, where you can check the language you want to use?

@manisandro
Copy link
Owner

I'd really prefer to avoid extra windows floating around if possible, but I'll look at reworking the menu structure.

@manisandro
Copy link
Owner

I've added some code to make clicking on the "multilingual" item actually toggle the radio. Also, the submenu where one can select the languages now stays open after selecting a language, so one can select multiple languages without having to re-open the menu each time.
As for flattening out the single language items with just one subitem - I believe it is more consistent this way: items without subitems have no spelling dictionary associated, the other ones do. So I'd rather keep it this way.

@ghost
Copy link

ghost commented May 16, 2018

On Windows 7 64bit Arabic with additional languages (multilaanguage syriac, or english) crash to desktop at 70%

@manisandro
Copy link
Owner

manisandro commented May 16, 2018

Please don't post to unrelated issues, but open a separate issue, and provide more information. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants