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

SciaReto will be stuck with inputing emoji #72

Closed
swiftech opened this issue Jul 11, 2020 · 11 comments
Closed

SciaReto will be stuck with inputing emoji #72

swiftech opened this issue Jul 11, 2020 · 11 comments
Assignees
Labels

Comments

@swiftech
Copy link

As the gif showed, it is stuck after emoji character selected.
and, this fix seems still not working when stuck and force closed:
#60

MacOS 10.15.5
SciaReto 1.4.9
ezgif com-video-to-gif (1)

@raydac
Copy link
Owner

raydac commented Jul 11, 2020

what is the software which provides emoji?

@raydac
Copy link
Owner

raydac commented Jul 11, 2020

could you attach some Chinese text which hangs editor during enter?

@raydac raydac self-assigned this Jul 11, 2020
@swiftech
Copy link
Author

The software is the MacOS's standard Chinese input source, if you input a Chinese word which has the same meaning with one emoji, it will show this emoji in the list and let you choose. I have tried no matter what emoji selected, the SciaReto will hang and CPU is very high.

@swiftech
Copy link
Author

For example, if I want to input "car" in Chinese, I just type "qiche", the Chinese word “汽车” and emoji car will both show in the list. at that time, input number 1 will choose Chinese word “汽车” and it's ok, input number 2 will choose emoji car but this makes the app stuck.

@raydac
Copy link
Owner

raydac commented Jul 24, 2020

looks like that it is known bug on Java level
could you try 1.4.10-SNAPSHOT with embedded JDK?
also I made some improvements to decrease risk of hang for specific unicode chars

raydac added a commit that referenced this issue Jul 24, 2020
@swiftech
Copy link
Author

Yes, this snapshot version won't hang ,but only a blank shows instead of emoji image after input. Is this the actual result your fix want to get?

Screen Shot 2020-07-28 at 11 21 00 AM

@raydac
Copy link
Owner

raydac commented Jul 28, 2020

try to change Mind map topic text font in Preferences, may be you have currently selected font which doesn't have emoji icons

@swiftech
Copy link
Author

This is my font config:
Screen Shot 2020-07-28 at 7 57 45 PM

I have tried to change to some other fonts, but still see blank. I not sure about how the font renders, but I don't think it is the reason.

@raydac
Copy link
Owner

raydac commented Jul 29, 2020

there should be some specific font which supports emoji, I saw even some free fonts from google with support of such stuff but may be Java just doesn't support rendering of such font out of the box, will try to find in network some solutions

@raydac raydac added the bug label Dec 20, 2020
@raydac
Copy link
Owner

raydac commented Dec 20, 2020

1.4.10 works well?

@swiftech
Copy link
Author

swiftech commented Jan 1, 2021

Still not works, and this problem also appears in the note editor. But I noticed that the emoji shows at the window bar correctly.
Screen Shot 2021-01-01 at 6 38 51 PM

@raydac raydac closed this as completed Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants