Axis selection graphical glitch

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Post Reply
JohnOCFII
Posts: 108
Joined: Sun Sep 20, 2020 5:46 pm
Location: Minnesota, USA

Axis selection graphical glitch

Post by JohnOCFII »

Some time in the last couple of months, this strange graphical glitch has shown up when starting a new sketch in a new body in Part Design.

When you first enter the screen to select a plane, everything looks as expected, with the three axes shown in a semi-transparent way. Once I clcck into the graphics area to select a plane, all three planes turn a single solid shade.

Code: Select all

    - OS: macOS 13.4.1
    - Word size of FreeCAD: 64-bit
    - Version: 0.21.0.33576 (Git)
    - Build type: Release
    - Branch: master
    - Hash: 8e6fbd2886d3ad51b75232bd0019d92d496e80cb
    - Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
    - Locale: C/Default (C)
 
I can open an issue on GitHub, but was curious to see if others were seeing the same thing -- or if by chance this was actually intended behavior...
AxesSelection.png
AxesSelection.png (407.53 KiB) Viewed 4914 times
PostClickAxesSelection.png
PostClickAxesSelection.png (368.49 KiB) Viewed 4914 times
chrisb
Veteran
Posts: 52165
Joined: Tue Mar 17, 2015 9:14 am

Re: Axis selection graphical glitch

Post by chrisb »

I have never seen this, but my version is slightly outdated. Can you please retry with a plain vanilla config?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
adrianinsaval
Veteran
Posts: 5414
Joined: Thu Apr 05, 2018 5:15 pm

Re: Axis selection graphical glitch

Post by adrianinsaval »

seems like an opengl problem, something somewhat similar was happening with the navicube on a raspberry pi. Is this on apple silicon or intel? If apple silicon, are you running the native build or the x86_64 build through roseta?
JohnOCFII
Posts: 108
Joined: Sun Sep 20, 2020 5:46 pm
Location: Minnesota, USA

Re: Axis selection graphical glitch

Post by JohnOCFII »

adrianinsaval wrote: Mon Jul 17, 2023 2:53 pm seems like an opengl problem, something somewhat similar was happening with the navicube on a raspberry pi. Is this on apple silicon or intel? If apple silicon, are you running the native build or the x86_64 build through roseta?
Apple Silicon with the native build. The odd thing is, the problem only appears with a brand new file, when creating the first body, and it's first sketch. After that, I don't see the problem.

Code: Select all

OS: macOS 13.4.1
Word size of FreeCAD: 64-bit
Version: 0.21.0.33576 (Git)
Build type: Release
Branch: master
Hash: 8e6fbd2886d3ad51b75232bd0019d92d496e80cb
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3
Locale: C/Default (C)
JohnOCFII
Posts: 108
Joined: Sun Sep 20, 2020 5:46 pm
Location: Minnesota, USA

Re: Axis selection graphical glitch

Post by JohnOCFII »

chrisb wrote: Sun Jul 16, 2023 9:12 pm I have never seen this, but my version is slightly outdated. Can you please retry with a plain vanilla config?
Re-starting after selecting the "Reset" and "Apply" buttons in preferences seems to have resolved the issue. I've changed so little in preferences, I can't imagine what it would have been.

Thank you for the suggestion!
Attachments
Screenshot 2023-07-19 at 9.07.05 PM.png
Screenshot 2023-07-19 at 9.07.05 PM.png (769.5 KiB) Viewed 4700 times
chrisb
Veteran
Posts: 52165
Joined: Tue Mar 17, 2015 9:14 am

Re: Axis selection graphical glitch

Post by chrisb »

JohnOCFII wrote: Thu Jul 20, 2023 2:09 am Thank you for the suggestion!
You're welcome - and thanks for the feedback.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
adrianinsaval
Veteran
Posts: 5414
Joined: Thu Apr 05, 2018 5:15 pm

Re: Axis selection graphical glitch

Post by adrianinsaval »

JohnOCFII wrote: Thu Jul 20, 2023 2:09 am I've changed so little in preferences, I can't imagine what it would have been.
most likely something graphics related, antialiasing, backlight, etc.
JohnOCFII
Posts: 108
Joined: Sun Sep 20, 2020 5:46 pm
Location: Minnesota, USA

Re: Axis selection graphical glitch

Post by JohnOCFII »

Turns out -- it is related to anti-aliasing in the Display preferences. Setting to "Line Smoothing" causes the issue. This is still a problem with the current development release:

```
OS: macOS 14.1.1
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.35024 (Git)
Build type: Release
Branch: main
Hash: 4ff00ef99869e35295a5a17b8f486901504c655b
Python 3.10.13, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.6, OCC 7.6.3
Locale: C/Default (C)
```
Attachments
Screenshot 2023-11-18 at 2.11.28 PM.png
Screenshot 2023-11-18 at 2.11.28 PM.png (813.62 KiB) Viewed 1065 times
Post Reply