tisfeng / Easydict

一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
GNU General Public License v3.0
6.38k stars 324 forks source link

🐞 Bug: When dragging windows and double-clicking on the desktop, an error sound is played. #589

Open kostazzz opened 2 weeks ago

kostazzz commented 2 weeks ago

Please confirm the following:

Problem description

If enabled: Auto Get Selected Text: Auto show query icon after selecting text When dragging windows and double-clicking on the desktop, an error sound is played.

Suggestions:

  1. leave the entered text in the window (alt+A) because when hiding the window it disappears, you can't continue entering text.
  2. combine windows (alt+A with alt+D) into one command.

Is the issue consistently reproducible?

Reproducible

Steps to Reproduce

disable error sound

Screenshot

-

Expected result

disable error sound

Proposed solution (optional)

No response

Device type and OS version

Macbook Pro 2014, BigSur 11.7.10

Are you willing to submit a PR to fix this issue?

github-actions[bot] commented 2 weeks ago

Hello kostazzz, Thank you for your first issue contribution 🎉

tisfeng commented 2 weeks ago

When dragging windows and double-clicking on the desktop, an error sound is played.

This bug has been fixed in version 2.7.2, see https://github.com/tisfeng/Easydict/issues/315 for detail.

tisfeng commented 2 weeks ago

leave the entered text in the window (alt+A) because when hiding the window it disappears, you can't continue entering text.

You can always use Input Translate to check the text you previously entered, as long as you haven't enabled 'Clear input when translating'.

combine windows (alt+A with alt+D) into one command.

If you like, you can just use "Select Translate", Alt+D can replace Alt+A in most cases.

image
kostazzz commented 1 week ago

Hi, just a few more suggestions and comments.

24-06-15, в 17:42, Tisfeng @.***> написал(а):

leave the entered text in the window (alt+A) because when hiding the window it disappears, you can't continue entering text.

You can always use Input Translate to check the text you previously entered, as long as you haven't enabled 'Clear input when translating'.

I don't have those settings, but if I use alt+D, the text remains. combine windows (alt+A with alt+D) into one command.

It is not possible to assign the same key combination to different commands. If you like, you can just use "Select Translate", Alt+D can replace Alt+A in most cases.

image.png (view on web) https://github.com/tisfeng/Easydict/assets/25194972/e04be979-71b0-4e6b-9fdf-4dd876d70b2f My settings window

— Reply to this email directly, view it on GitHub https://github.com/tisfeng/Easydict/issues/589#issuecomment-2169814581, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3ECYJ32C2WPJMUEIH2HL3ZHRHDZAVCNFSM6AAAAABJLNR2CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZHAYTINJYGE. You are receiving this because you authored the thread.

  1. Translation of text with its replacement immediately in the application in which you are typing. The same way it is realized in the new OS starting from Ventura. There is a function to replace marked and translated text. Right click on the marked text. It would be super such realization in BigSur. :)

  2. Is it possible to make somehow that the OCR would define Russian language on BigSur? Now only one program can do it iText, I checked all the free offers on the market none of them can. But iText costs 18€ per year. 2.1 Yes, one more important detail: it is better to choose a system OCR cursor, because in yours the marked area cannot be moved with the space button on keyboard pressed. The magnifying window is only for specific tasks. In the settings it is necessary to offer the possibility to choose the method - with or without magnifying glass.

  3. Do not work (arrow button) change the direction of translation. If I want to change languages from left to right and vice versa. 3.1 Also the choice of another language does not work, I have to work with three languages, and if the translation automatically translated to one, the other I can not choose. I have auto-detection of both fields. There is an inconspicuous language button where you can select, but I think it is not in its place. It would be better to add it to the language selection list. Press the translation language and select the desired translation or auto.

  4. It would be good to be able to hide the buttons "Dictionary and Chrome", I don't need them, only the Settings button.

  5. Corrections of translated text in Easydict window. Translated text and after checking it immediately changed it in the translation area. Such realization is available in Yandex Translate. It is very convenient. I advise you to analyze, there is an online version.

I really like the function of translation of marked text, such is TabTranslate, but now and this progodka not potderzhayutsya and glitches. But if it could be improved in such a way as in point (1), it would be worth it. :)

Thanks.

Russian:

  1. Перевод текста с его заменой сразу в приложении в котором набираешь текст. Так-же как это реализовано в новых ОС начиная с Вентура. Там есть функция заменить отмеченый и переведённый техт. Правый клик на отмечемом тексте. Было бы супер такая реализация в BigSur. :)

  2. Можно ли как-то сделать, что бы ОЦР пределял Русский язый на BigSur? Сейчас всего одна программа может это сделать iText, я проверил все бесплатные предложения на рынке ни одно не может. Но iText стоит 18€ в год. 2.1 Да, ещё важная деталь: ОЦР лучше выбрать системный, так как в вашем отмеченую область нельзя перемещать с зажатым space button on keyboard. Увеличительное окно только для спецефических задач. В настройках можно предложить выбор какой спосб использовать с лупой или без и переключать.

  3. Не работают (кнопка стрелки) смены направления перевода. Если хочу поменять языки с лева на право и на оборот. 3.1 Так-же не работает выбор другого языка, мне приходиться работать с тремя языками, и если превод автоматически перевёл на один, то другой я не могу быбрать. У меня стоит авто определение обоих полях. Есть незаметная кнопка определения языка и там можно выбрать, мне кажетъся она не на своём месте. Лучше её добавить в список выбора языка. Нажал язык перевода и выбрал нужный перевод или авто.

  4. Хорошо бы иметь возможность скрыть кнопоки “Словарь и Хром”, мне оони не нужны, только кнопка Настройки.

  5. Исправления переведённом текста в окне Easydict. Перевёл текст и после проверки сразу изменил в зоне перевода. Такая реализация есть в Yandex Translate. Это очень удобно. Советую проанализировать, есть онлайн версия.

Мне очень нравиться функция перевода отмеченого текста, такая есть TabTranslate, но сейчас и эта прога не потдерживаеться и глючит. Но если бы её улучшить таким способом как в пункте (1) цены бы небыло. :)

Спасибо.

tisfeng commented 1 week ago
  1. It would be good to be able to hide the buttons "Dictionary and Chrome", I don't need them, only the Settings button.

If you like, you can hide these buttons in settings.

image
kostazzz commented 1 week ago

My settings are completely different, there are no such items. What version you have, I have version 2.7.2

24-06-21, в 17:40, Tisfeng @.***> написал(а):

It would be good to be able to hide the buttons "Dictionary and Chrome", I don't need them, only the Settings button. If you like, you can hide these buttons in settings.

image.png (view on web) https://github.com/tisfeng/Easydict/assets/25194972/14fc7a1e-9e49-4567-97f1-b684882dcfb2 — Reply to this email directly, view it on GitHub https://github.com/tisfeng/Easydict/issues/589#issuecomment-2182884646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3ECYJODAM2UBFET23KLODZIQ3OVAVCNFSM6AAAAABJLNR2CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSHA4DINRUGY. You are receiving this because you authored the thread.

tisfeng commented 1 week ago

Please upgrade your macOS to 13.0+, this is our new SwiftUI settings, only support macOS 13.0+.

kostazzz commented 1 week ago

Okay, thanks. This mac only supports Big Sur.

24-06-21, в 17:49, Tisfeng @.***> написал(а):

Please upgrade your macOS to 13.0+, this is our new SwiftUI settings, only support macOS 13.0+.

— Reply to this email directly, view it on GitHub https://github.com/tisfeng/Easydict/issues/589#issuecomment-2182899532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3ECYPTB4A3TPGOQHFT2S3ZIQ4N3AVCNFSM6AAAAABJLNR2CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBSHA4TSNJTGI. You are receiving this because you authored the thread.

tisfeng commented 1 week ago
  1. Is it possible to make somehow that the OCR would define Russian language on BigSur?

Easydict currently supports OCR to automatically recognize Russian text, please make sure you don't specify the source language, usually the default Auto is ok.

image
tisfeng commented 1 week ago

Even if you're using the old settings, you can still hide the Chrome or Dictionary button.

image