Selected objects become deselected after zooming out

While selecting objects for operation tools, I often find that some objects become deselected. So, I always have to redo the selection.

I honestly thought this is my fault for not holding the ctrl button properly. Now, I am convinced this is a bug. It only happens when “point name text” is toggled to visible.

Step to reproduce:

  1. Toggle “point name text” to visible.
  2. Activate one of the operation tool, for example the move tool.
  3. Select object. Can be single or multiple.
  4. Zoom out until the name text is not visible.
  5. Zoom back in.
  6. Now the objects become deselected.
3 Likes

I could not reproduce this behaviour with the move tool. I tried every which way to zoom in and out, and the objects I had selected all stayed selected. The objects are de-selected if you click at all on the background.

The only odd behavior I found is if there are objects selected with the Point Names visible, and you toggle the point names off - all the objects are de-selected BUT if you toggle the Point Names off, selects some points, then toggle the Point Names on and off, there is no effect… the Point Names are not highlighted when toggled on, and the points stay highlighted when toggled off. I don’t see this as a big issue as I see no reason why anyone would be toggling the Point Names during an operation tool creation.

That being said… what build ver of the app are you using?

You can just open the About dialog and clip the copy to clipboard button, and paste the info here.

image

1 Like

Thanks for looking into it.

This is my version.

Seamly2D version: Seamly2D 2024.9.9.200 Build revision: Git:6528274d73e7 Build date: Built on Mon Sep 9 2024 at 02:09:03 Qt Version: 5.15.2 CPU: x86_64 Compiler: MSVC 2022 64 bit CPU: x86_64 OS: Windows OS Version: 10 Locale: en_US Country: United States Language: English Script Name: Latin Decimal Point: . Negative Sign: - Positive Sign: + Direction: Automatic System Codec: System Arguments: C:\Program Files (x86)\Seamly2D\seamly2d.exe,G:\My Drive\Style3D Parka\v1.0\seamly\Parka 2 040 sew.sm2d

I have been consistently having this issue on all windows system I have. I tested three just now all have this problem. Maybe I have conflicting app, but I cannot pinpoint the common denominator yet.

2 Likes

I stand corrected… I was testing “zooming in” making the Point Names disappear off screen. Doh.

I can see exactly where the “de-selection” is happening - it’s at the point where the Point Names become “hidden” - just like toggling them off. In terms of how the graphic items in Qt work, that is logical, as once a Qt graphic item (object) is hidden it can longer be selected. This apprently has been the behavior of the app since day 1, as I just test an old ver, and it does the same thing.

I know that there is an inflection point at what I believe is a minimum 5 pt fontsize… question is can we just make the min like 0.5 where it just stays visible - even it’s so small you can’t see it. I will find out and get back to you. :slight_smile:

3 Likes

Out of curiosity, I tested the same thing happen in Valentina. However, the point text name stay big and visible for a long time in Valentina, so I have to zoom really far away in Valentina to reproduce this.

2 Likes

I had checked Val too… RT may have just changed the min font size to less than 5… but otherwise it’s the same. There’s actually 2 inflection points - 100% scale and min font size.

The font size remains the same size (the size set in the prefs, menu, toolbar, or key shortcut) until you zoom less than 100%, at which point the font size decreases until it hits the minimum size and then disappears.

1 Like

OK… it’s all coming back to me now. :slight_smile:

Val min font size is 5pt… I set Seamly to 6pt years ago as 6pt is the accepted min font size. The fact that de-selecting objects when zooming out less than 6pt never crossed my mind.

That being said… the min 6 pt font sized is when the font is scaled. All you have to do is set your point name font to a larger size.

For ex: I have the point name size set to 80pt… and scaled down to 7.9% the point names are still visible even though you would have a hard time selecting any one object as the block is so small.

image

In any case, I will remove the min font size check as it really serves no purpose. To me by the time the font gets to 6pt I can’t read it anyways without my glasses on so it makes no difference if it get’s hidden when it goes less than 6pt. :nerd_face:

3 Likes

Thanks. This really help me personally because I do a lot of zooming out, because I tend to spread all my patterns within a single block.

3 Likes

This helps me a lot too. Thank you both!

2 Likes