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

Fixing bug #1789 (Crash by add Text to hidden layer) #1792

Merged
merged 1 commit into from
Jul 21, 2024

Conversation

klayoutmatthias
Copy link
Collaborator

Problem was: after activating Text mode the edit
function showed the dock with the editor options.
This cause a mouse move event due to resizing
which in turn triggered the popup about invisible
layer. Apparently Qt's dock open animation does
not like popups during the animation phase which
caused the segfault.

Solution is to do the check upon activation,
not in the mouse move event.

Problem was: after activating Text mode the edit
function showed the dock with the editor options.
This cause a mouse move event due to resizing
which in turn triggered the popup about invisible
layer. Apparently Qt's dock open animation does
not like popups during the animation phase which
caused the segfault.

Solution is to do the check upon activation,
not in the mouse move event.
@klayoutmatthias klayoutmatthias linked an issue Jul 13, 2024 that may be closed by this pull request
@klayoutmatthias klayoutmatthias merged commit 951905d into master Jul 21, 2024
24 checks passed
@klayoutmatthias klayoutmatthias deleted the bugfix/issue-1789 branch July 21, 2024 06:08
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.

Crash by add Text to hidden layer
1 participant