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

Windows 10 Desktop: Fixes #7528: Fixed the Joplin crashing Full Screen PDF error #7541

Closed
wants to merge 3 commits into from

Conversation

ManavSarkar
Copy link

Fixed the Full-Screen window crashing on the desktop whenever the close button on the top-right corner was clicked.

Issue #7528 is fixed. Previously whenever the PDF was closed, it showed an error, now it is being fixed. The problem was removing the event listener from the null object. Hence a null check is required. Here is the attached result.

Joplin.DEV.-.C__Users_rajee_.config_joplindev-desktop.2022-12-27.16-13-53.mp4

@github-actions
Copy link
Contributor

github-actions bot commented Dec 27, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@ManavSarkar
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@ManavSarkar
Copy link
Author

recheck

@laurent22
Copy link
Owner

But why is the element being unmounted before the event handler has been removed? There's something not right to the logic here, and solving it with ? is not the way to go.

@laurent22
Copy link
Owner

Since this is urgent I ended up fixing it myself

@laurent22 laurent22 closed this Dec 31, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants