-
Notifications
You must be signed in to change notification settings - Fork 211
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
Crash by add Text to hidden layer #1789
Comments
Hi @s910324, thanks for reporting the problem. I can see that the popup comes on very often (which is annoying), but there is no crash for me on Ubuntu. I'll keep looking. Matthias |
Hi Matthias, I've checked more platform and machine settings, and found some thing interesting. I have successfully re-created the crash on both Windows and Linux OS on VM with clean and all default setups. This behavior starts to occur after version 0.27.13, which I've notice that version before this, the Old/New version Editor option windowWhere this crash always occured after this This is what I have found how to trigger the issue.
An example of Docked setupDock setting (A) can repeatly triggers the crash, thats why previously i though was related to by |
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.
Fixing bug #1789 (Crash by add Text to hidden layer)
Hi Matthias
Recently I run in to a issue while adding text to Hidden layer.
System : Windows 11 x64
Version tested : 0.28.5 - 0.29.4
Conditionto trigger:
Crash by add text to hidden layer
klayout_app_sTfC5HM81e.mp4
Hide layer during editing:
Hint pops twice but does not trigger crash
https://github.com/user-attachments/assets/4823ce55-c1d0-48ee-9b77-bd4f309f2e42
Error message
The text was updated successfully, but these errors were encountered: