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

Double Constraint symbols not selectable #6283

Closed
FreeCAD-Bug-Importer opened this issue Feb 7, 2022 · 13 comments
Closed

Double Constraint symbols not selectable #6283

FreeCAD-Bug-Importer opened this issue Feb 7, 2022 · 13 comments
Labels
Bug This issue or PR is related to a bug UI/UX WB Sketcher Related to the Sketcher Workbench

Comments

@FreeCAD-Bug-Importer
Copy link
Collaborator

FreeCAD-Bug-Importer commented Feb 7, 2022

Issue imported from https://tracker.freecad.org/view.php?id=4784

  • Reporter: @PLChris
  • Date submitted: 11/11/2021
  • FreeCAD version: 0.20
  • Category: Bug
  • Status: confirmed
  • Tags:

Original report text

When multiple symbols are associated with the same geometric element like horizontal and the orthogonal constraint on the bottom line in the example attached to the forum this ticket, then it is not possible to select either of them.

image
doubleConstraintSymbols.zip

Forum discussion.

FreeCAD Info

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)

Other bug information

  • Priority: normal
  • Severity: minor
  • Category: Bug
  • Updated: 11/16/2021
@FreeCAD-Bug-Importer FreeCAD-Bug-Importer added WB Sketcher Related to the Sketcher Workbench Bug This issue or PR is related to a bug labels Feb 7, 2022
@luzpaz
Copy link
Contributor

luzpaz commented Apr 15, 2022

@PaddleStroke would you be open to take a stab at this?

@PaddleStroke
Copy link
Contributor

This bug is indeed annoying.
However I don't know much on that part of the code. Maybe OpenBrain might know how to solve this. As he recently made a commit to disable constraint selectability when using geometry tools.

@luzpaz
Copy link
Contributor

luzpaz commented Dec 22, 2022

@0penBrain or @AjinkyaDahale care to weigh-in on this ?

@luzpaz luzpaz added the UI/UX label Dec 22, 2022
@AjinkyaDahale
Copy link
Contributor

I am aware of this bug, but I don't work with the drawing aspect of the code myself too much. As paddle said 0penbrain might have a better idea. I'd be willing to take a look if he doesn't have the time.

@chrisb-github
Copy link
Contributor

Increasing the font size from 14 to 24 (on a 13" MacBook Air) makes the constraints selectable.

OS: macOS High Sierra (10.13)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32532 (Git)
Build type: Release
Branch: master
Hash: 20e44eba50e1365b9e7bb9c5c244afe96a627a28
Python 3.10.10, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * fasteners 0.4.15
  * sheetmetal 0.2.63
  * Curves 0.6.8

@abdullahtahiriyo
Copy link
Contributor

@PLChris

I am looking into it. There is something that does not add up. Thanks for the indication. It is useful.

abdullahtahiriyo added a commit to abdullahtahiriyo/FreeCAD_sf_master that referenced this issue Apr 20, 2023
=========================================

The scaling factor used  was the one of the ViewProviderSketch, however ZoomTranslation uses its own scaling factor.

fixes FreeCAD#6283
@abdullahtahiriyo
Copy link
Contributor

#9328

chennes pushed a commit to chennes/FreeCAD that referenced this issue Apr 27, 2023
=========================================

The scaling factor used  was the one of the ViewProviderSketch, however ZoomTranslation uses its own scaling factor.

fixes FreeCAD#6283
@V5Studio
Copy link

@abdullahtahiriyo this shows closed, but the issue is still there in current release (0.21). Does this mean it will be there in a future version?

@AjinkyaDahale
Copy link
Contributor

AjinkyaDahale commented Aug 24, 2023

@V5Studio please attach version details from Help->About FreeCAD. If issue persists it should be fixed (and perhaps backported). Additionally, if you can attach a file where this happens, please share that as well.

@V5Studio
Copy link

@AjinkyaDahale
I tested on the latest version at this time (win).
It's very simple to test.
Add one constraint, and the constraint icon can be selected. Add one more, and we cannot select it anymore. I can still use the left panel to make individual selection as a workaround

image

[code]
OS: Windows 11 build 22621
Word size of FreeCAD: 64-bit
Version: 0.21.0.33675 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.0)
Hash: 41b058e
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:

  • 3DfindIT 1.2.0
  • freecad.gears 1.0.0
  • parts_library
    [/code]

@AjinkyaDahale
Copy link
Contributor

AjinkyaDahale commented Aug 24, 2023

@AjinkyaDahale I tested on the latest version at this time (win). It's very simple to test. Add one constraint, and the constraint icon can be selected. Add one more, and we cannot select it anymore. I can still use the left panel to make individual selection as a workaround

Cannot reproduce with:

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.33981 (Git) Snap 751
Build type: Release
Branch: master
Hash: 5a153e50ffb6046b6cc4dba498344032f6edb952
Python 3.10.12, Qt 5.15.10, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Locale: English/India (en_IN)

@V5Studio
Copy link

@AjinkyaDahale Sorry... maybe it's windows thing? I don't have access to Unix to check... OR could be that this fix will be available only when 0.22 is released?

@AjinkyaDahale
Copy link
Contributor

@AjinkyaDahale Sorry... maybe it's windows thing? I don't have access to Unix to check...

If it fails for Windows that's where we should focus. If anything I should apologize for not having it.

OR could be that this fix will be available only when 0.22 is released?

That won't be the case. It should be available with 0.21.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug UI/UX WB Sketcher Related to the Sketcher Workbench
Projects
Status: Done
Development

No branches or pull requests

7 participants