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

Fix tips view blank #499

Merged
merged 33 commits into from May 19, 2024
Merged

Fix tips view blank #499

merged 33 commits into from May 19, 2024

Conversation

AkaShark
Copy link
Collaborator

@AkaShark AkaShark commented Apr 8, 2024

close #452

# Conflicts:
#	Easydict/objc/ViewController/Cell/EZTableTipsCell.h
#	Easydict/objc/ViewController/Cell/EZTableTipsCell.m
#	Easydict/objc/ViewController/Window/BaseQueryWindow/EZBaseQueryViewController.h
#	Easydict/objc/ViewController/Window/WindowManager/EZWindowManager.m
Copy link
Owner

@tisfeng tisfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's strange, when OCR fails #478 , the tips view appears, and then disappears.

iShot_2024-04-09_20.45.27.mp4

@tisfeng
Copy link
Owner

tisfeng commented Apr 9, 2024

When OCR succeeded, it also displays a tips view 🥲

There are other similar scenes, and tips view also appear strangely, and it doesn't necessarily appear every time.

image

@AkaShark
Copy link
Collaborator Author

AkaShark commented Apr 9, 2024

There are other similar scenes, and tips view also appear strangely, and it doesn't necessarily appear every time.

emm.. OCR I didn't handle more, do you think merging the #478 into this PR.

@tisfeng
Copy link
Owner

tisfeng commented Apr 9, 2024

No, I know, there's no need to change the way tips are displayed when OCR fails at the moment, but it shouldn't be showing the tips view when OCR right now, whether it succeeds or fails.

What I mean is that the current way of determining when the tips view appears is inappropriate, it can easily be triggered by mistake, not only for OCR, but even for selecting translation I've encountered this several times, but it doesn't happen every time, it‘s strange.

# Conflicts:
#	Easydict/objc/ViewController/Window/BaseQueryWindow/EZBaseQueryViewController.m
Jerry23011
Jerry23011 previously approved these changes Apr 30, 2024
@tisfeng
Copy link
Owner

tisfeng commented May 5, 2024

过几天将会发布一个小的修复版本,这个 PR 内容改动有点多,因此暂时先不合。

等发布修复版本后,我再来合并。

@tisfeng tisfeng requested a review from phlpsong May 15, 2024 03:16
@AkaShark
Copy link
Collaborator Author

Please review it again

tisfeng and others added 6 commits May 18, 2024 00:39
Bumps the bundler group with 1 update in the / directory: [rexml](https://github.com/ruby/rexml).


Updates `rexml` from 3.2.6 to 3.2.8
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.2.6...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
  dependency-group: bundler
...

Signed-off-by: dependabot[bot] <support@github.com>
@tisfeng
Copy link
Owner

tisfeng commented May 18, 2024

I improved some code, please review it and test carefully.

@tisfeng tisfeng requested a review from Jerry23011 May 18, 2024 15:32
@AkaShark
Copy link
Collaborator Author

I hava no problems

@tisfeng tisfeng merged commit a2be466 into tisfeng:dev May 19, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

4 participants