Seamly2D icon indicating copy to clipboard operation
Seamly2D copied to clipboard

Spline options popup does not load immediately

Open AndrewBuck opened this issue 3 years ago • 5 comments

After right clicking on a spline (the program calls it a 'curved path' - an object created with the Alt+S tool) in the drawing and clicking 'options' the popup window does not spawn immediately as expected. Initially I thought it was just taking a long time, however I discovered that after clicking options the window does not pop up until you press ESC twice. Not sure exactly what it is waiting on that pressing ESC moves it along but that is the best I can describe the behavior.

This is running on MacOS 10.3.16 (High Sierra) Seamly 0.6.0.1 - build date - Dec 27, 2021 QT Version 5.12.2

AndrewBuck avatar Jan 07 '22 22:01 AndrewBuck

Upon further investigation, it looks like the little context window that pops up with the 'Options' and 'Delete' functions is staying open after either of those is clicked and it continues to remain open until ESC is pushed. This explains the first ESC but not sure what is hanging up that the second one clears.

AndrewBuck avatar Jan 08 '22 02:01 AndrewBuck

Don't pay too much attention to the terms used for the curve tools... this will be changing in the near future. The original dev is non English speaking, so some terms got lost in the translation.

That being said, I can try and look at the issue - which I know there seems to be differences in the way Windows & Linux handles the ESC vs Mac - problem is I have no Mac to test on, so I'm at a disadvantage.

DSCaskey avatar Jan 08 '22 08:01 DSCaskey

Yeah, the language is a bit odd in a lot of places. That's why I specified alt+s to be clear about which one specifically it was. I can try to help out with testing, but not sure how much I will be able to do. I tried getting a build environment set up on my linux box and ran into dozens of errors due to not running the latest Qt version. Not sure I want to try it on the Mac since the laptop is my girlfriends and its already low on HD space.

AndrewBuck avatar Jan 08 '22 15:01 AndrewBuck

Hey Andrew... Something I thought of - which may resolve another issue someone was having their Mac - Can you pop up the Right click context menu on a spline, and instead of clicking the Options, use the up / dn arrows until Options is highlighted, and press return.

I'm reading that there may be some focus issues with some of the context menus on Macs.

Also, is this only happening with the context menu with the splines?

DSCaskey avatar Jan 08 '22 20:01 DSCaskey

So I am trying it out again today and I am not seeing the weird delay like I was before. It definitely is a reproduceable bug, I just don't know what other thing has to happen first to reproduce it. I will keep an eye on it as I use the software and try to determine what other factor must be present to cause the behavior. I have definitely seen it on multiple uses of the software though (not just all in the same session) so I do expect it will present itself again and when it does hopefully I can gain more insight as to the cause.

As far right clicking and using the arrows, everything worked as expected (for now at least) and there was no delay, but the normal click on options approach was working as well. If it is a focus issue as you suspect then further investigation when the bug is present might give different results.

AndrewBuck avatar Jan 09 '22 13:01 AndrewBuck

@AndrewBuck - we have a new MacOS build, maybe some of the Mac problems have been resolved. Can you review this issue with the latest pre-release?

slspencer avatar Jan 06 '23 23:01 slspencer

@AndrewBuck this should be fixed with #823 which is part of this prerelease and all later prereleases: https://github.com/FashionFreedom/Seamly2D/releases/tag/v2023.1.16.2112-prerelease

It will be part of next weeks weekly release as well.

csett86 avatar Jan 17 '23 21:01 csett86